move gdt, use fixed addr
This commit is contained in:
1 parent
f0289cd753
commit
da6f981a6a
3 files changed
+4
-6
No files matched your search
+1
-1
@@ -35,7 +35,7 @@ pub extern "C" fn _start() -> ! {
|
||||
com::try_com1_init();
|
||||
}
|
||||
|
||||
let gdt_ptr = ptr::with_exposed_provenance::<u64>(0xc000);
|
||||
let gdt_ptr = ptr::with_exposed_provenance::<u64>(0xe000);
|
||||
let gdt_slice = unsafe { slice::from_raw_parts(gdt_ptr, 4) };
|
||||
|
||||
vga_println!("hello from rust :)");
|
||||
|
||||
Reference in new issue
Block a user