Add display
This commit is contained in:
parent
c9d338715d
commit
234fb64999
4 changed files with 100 additions and 1 deletions
|
@ -7,6 +7,7 @@ use core::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT, AtomicUsize, ATOMIC_USIZE
|
|||
|
||||
use acpi;
|
||||
use allocator::{HEAP_START, HEAP_SIZE};
|
||||
use display;
|
||||
use externs::memset;
|
||||
use gdt;
|
||||
use idt;
|
||||
|
@ -90,6 +91,9 @@ pub unsafe extern fn kstart() -> ! {
|
|||
assert_eq!(TDATA_TEST_NONZERO, 0xFFFFFFFFFFFFFFFE);
|
||||
}
|
||||
|
||||
// Initialize display
|
||||
display::init(&mut active_table);
|
||||
|
||||
// Reset AP variables
|
||||
AP_COUNT.store(0, Ordering::SeqCst);
|
||||
BSP_READY.store(false, Ordering::SeqCst);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue