Changeset 8565a42 in mainline for kernel/arch/ia32/src/userspace.c
- Timestamp:
- 2018-03-02T20:34:50Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a1a81f69, d5e5fd1
- Parents:
- 3061bc1 (diff), 34e1206 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:34:50)
- git-committer:
- GitHub <noreply@…> (2018-03-02 20:34:50)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/userspace.c
r3061bc1 r8565a42 50 50 { 51 51 uint32_t eflags = read_eflags(); 52 52 53 53 asm volatile ( 54 54 /* Set up GS register (virtual register segment) */ 55 55 "movl %[vreg_des], %%gs\n" 56 56 57 57 "pushl %[udata_des]\n" 58 58 "pushl %[stack_top]\n" … … 61 61 "pushl %[entry]\n" 62 62 "movl %[uarg], %%eax\n" 63 63 64 64 /* %edi is defined to hold pcb_ptr - set it to 0 */ 65 65 "xorl %%edi, %%edi\n" 66 66 67 67 "iret\n" 68 68 : … … 77 77 [vreg_des] "r" (GDT_SELECTOR(VREG_DES)) 78 78 : "eax"); 79 79 80 80 /* Unreachable */ 81 81 while (1);
Note:
See TracChangeset
for help on using the changeset viewer.