Map kernel in AP, WIP
This commit is contained in:
parent
27d5996abf
commit
ebf9766ef5
1 changed files with 87 additions and 48 deletions
|
|
@ -31,6 +31,11 @@ pub unsafe fn init() {
|
|||
GDT[GDT_USER_DATA].set_flags(GDT_LONG_MODE);
|
||||
|
||||
GDTR.set_slice(&GDT);
|
||||
|
||||
init_ap();
|
||||
}
|
||||
|
||||
pub unsafe fn init_ap() {
|
||||
GDTR.load();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue