Simple, unsafe context switch

This commit is contained in:
Jeremy Soller 2016-08-28 18:38:53 -06:00
parent 6715d5c534
commit 6e3f59ba8e
5 changed files with 53 additions and 7 deletions

View file

@ -92,7 +92,7 @@ pub unsafe extern fn kstart() -> ! {
}
// Initialize display
display::init(&mut active_table);
//display::init(&mut active_table);
// Reset AP variables
AP_COUNT.store(0, Ordering::SeqCst);
@ -100,7 +100,7 @@ pub unsafe extern fn kstart() -> ! {
HEAP_FRAME.store(0, Ordering::SeqCst);
// Read ACPI tables, starts APs
acpi::init(&mut active_table);
//acpi::init(&mut active_table);
// Map heap
{