Fix crash in libstd
This commit is contained in:
parent
8dd26c5239
commit
5d97fd75c7
|
@ -212,7 +212,7 @@ pub unsafe fn usermode(ip: usize, sp: usize) -> ! {
|
||||||
|
|
||||||
push rax # Push stack segment
|
push rax # Push stack segment
|
||||||
push rbx # Push stack pointer
|
push rbx # Push stack pointer
|
||||||
mov rax, 3 << 12 | 1 << 9 # Set IOPL and interrupt enable flag
|
mov rax, 0 # 3 << 12 | 1 << 9 # Set IOPL and interrupt enable flag
|
||||||
push rax # Push rflags
|
push rax # Push rflags
|
||||||
mov rax, 0x23
|
mov rax, 0x23
|
||||||
push rax # Push code segment
|
push rax # Push code segment
|
||||||
|
|
2
libstd
2
libstd
|
@ -1 +1 @@
|
||||||
Subproject commit c6d6f70869b435a6c0940d9eb8b0dd6f2ec03663
|
Subproject commit 7b20e739903a4877a10b64b875a3fd7a06cdcd16
|
Loading…
Reference in a new issue