x86_64: Warn if NX is not supported
This commit is contained in:
parent
08984e1673
commit
0054777e7d
@ -143,6 +143,8 @@ namespace CPU
|
|||||||
enable_sse();
|
enable_sse();
|
||||||
enable_write_protect();
|
enable_write_protect();
|
||||||
if (test_nx()) enable_nx();
|
if (test_nx()) enable_nx();
|
||||||
|
else
|
||||||
|
kwarnln("not setting the NX bit as it is unsupported");
|
||||||
setup_gdt();
|
setup_gdt();
|
||||||
setup_idt();
|
setup_idt();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user