Yes, yes, let's or a 8-bit register by 0x600 :V

alentours-dev
q3k 2012-07-21 00:02:56 +02:00
parent b075c586f3
commit 8c74a8d073
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ void kmain_newstack(void)
"or $0x2, %rax;" "or $0x2, %rax;"
"movq %rax, %cr0;" "movq %rax, %cr0;"
"movq %cr4, %rax;" "movq %cr4, %rax;"
"or $0x600, %ax;" "orq $0x600, %rax;"
"movq %rax, %cr4;"); "movq %rax, %cr4;");
for (;;) {} for (;;) {}