Pass page table of BSP to AP

This commit is contained in:
Jeremy Soller 2016-09-12 15:50:16 -06:00
parent 6560cc653b
commit ea8b9189a3
2 changed files with 6 additions and 4 deletions

View file

@ -134,7 +134,7 @@ pub unsafe extern fn kstart() -> ! {
}
/// Entry to rust for an AP
pub unsafe extern fn kstart_ap(cpu_id: usize, stack_start: usize, stack_end: usize) -> ! {
pub unsafe extern fn kstart_ap(cpu_id: usize, page_table: usize, stack_start: usize, stack_end: usize) -> ! {
{
assert_eq!(BSS_TEST_ZERO, 0);
assert_eq!(DATA_TEST_NONZERO, 0xFFFFFFFFFFFFFFFF);