remove bochs breaks
This commit is contained in:
parent
a5d79d7957
commit
fcec69efdc
3 changed files with 9 additions and 16 deletions
|
@ -204,8 +204,7 @@ pub unsafe extern fn kstart_ap(stack_start: usize, stack_end: usize) -> ! {
|
|||
|
||||
pub unsafe fn usermode(ip: usize, sp: usize) {
|
||||
// Test usermode
|
||||
asm!("xchg bx, bx
|
||||
mov rax, 0x2B
|
||||
asm!("mov rax, 0x2B
|
||||
mov ds, ax
|
||||
mov es, ax
|
||||
mov fs, ax
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue