mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
Virtualizing memory after exiting boot services
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
__attribute__((section(".text.entry")))
|
||||
void kernel_main() {
|
||||
volatile int foo = 13;
|
||||
return;
|
||||
volatile register int foo = 0x1a1b1c10;
|
||||
volatile register int bar = 0;
|
||||
|
||||
while(1)
|
||||
foo = foo | 0xfffffff0 + bar++ | 0xf;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user