Add syscall setup to kstart_ap

This commit is contained in:
Jeremy Soller
2019-01-20 19:41:18 -07:00
parent 5c31c0991c
commit f6e2d44383

View File

@@ -175,6 +175,9 @@ pub unsafe extern fn kstart_ap(args_ptr: *const KernelArgsAp) -> ! {
// Set up IDT for AP
idt::init_paging();
// Set up syscall instruction
interrupt::syscall::init();
// Test tdata and tbss
{
assert_eq!(TBSS_TEST_ZERO, 0);