Map kernel in AP, WIP

This commit is contained in:
Jeremy Soller 2016-08-17 15:47:54 -06:00
commit ebf9766ef5

View file

@ -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();
}