Default to non-user in all kernel pages now

This causes the user tasks to just PF, so we'll need to actually have a
real loader now.
This commit is contained in:
Justin C. Miller
2018-09-04 09:27:57 -07:00
parent d5b8902d8f
commit f1b84ab370
2 changed files with 3 additions and 1 deletions

View File

@@ -330,6 +330,7 @@ syscall_handler(addr_t return_rsp, cpu_state regs)
print_reg("rdi", regs.rdi);
print_reg("rsi", regs.rsi);
/*
cons->puts("\n");
print_reg(" r8", regs.r8);
print_reg(" r9", regs.r9);
@@ -339,6 +340,7 @@ syscall_handler(addr_t return_rsp, cpu_state regs)
print_reg("r13", regs.r13);
print_reg("r14", regs.r14);
print_reg("r15", regs.r15);
*/
cons->puts("\n");
print_reg("rbp", regs.rbp);