Remove debug breaks
This commit is contained in:
parent
b8d19746e4
commit
d5766c092f
|
@ -178,8 +178,7 @@ pub unsafe extern fn kstart_ap(cpu_id: usize, page_table: usize, stack_start: us
|
||||||
|
|
||||||
pub unsafe fn usermode(ip: usize, sp: usize) -> ! {
|
pub unsafe fn usermode(ip: usize, sp: usize) -> ! {
|
||||||
// Go to usermode
|
// Go to usermode
|
||||||
asm!("xchg bx, bx
|
asm!("mov ds, ax
|
||||||
mov ds, ax
|
|
||||||
mov es, ax
|
mov es, ax
|
||||||
mov fs, ax
|
mov fs, ax
|
||||||
mov gs, ax
|
mov gs, ax
|
||||||
|
|
Loading…
Reference in a new issue