Fix crash in libstd

This commit is contained in:
Jeremy Soller 2016-09-09 17:25:56 -06:00
parent 8dd26c5239
commit 5d97fd75c7
2 changed files with 2 additions and 2 deletions

View file

@ -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

@ -1 +1 @@
Subproject commit c6d6f70869b435a6c0940d9eb8b0dd6f2ec03663 Subproject commit 7b20e739903a4877a10b64b875a3fd7a06cdcd16