Much better communication model
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -7,11 +7,11 @@ struct sysregs
|
||||
};
|
||||
|
||||
TEXT_SECTION
|
||||
struct sysregs _start()
|
||||
long long _start()
|
||||
{
|
||||
struct sysregs res;
|
||||
__asm__("mrs %0, ttbr0_el1" : "=r" (res.pt_base));
|
||||
__asm__("mrs %0, vbar_el1" : "=r" (res.evt_base));
|
||||
|
||||
return res;
|
||||
return res.evt_base;
|
||||
}
|
||||
Reference in New Issue
Block a user