Changes in kernel/arch/amd64/src/userspace.c [2902e1bb:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/userspace.c
r2902e1bb r9d58539 55 55 asm volatile ( 56 56 "pushq %[udata_des]\n" 57 "pushq %[stack_ top]\n"57 "pushq %[stack_size]\n" 58 58 "pushq %[ipl]\n" 59 59 "pushq %[utext_des]\n" … … 65 65 "iretq\n" 66 66 :: [udata_des] "i" (GDT_SELECTOR(UDATA_DES) | PL_USER), 67 [stack_top] "r" ((uint8_t *) kernel_uarg->uspace_stack + 68 kernel_uarg->uspace_stack_size), 67 [stack_size] "r" (kernel_uarg->uspace_stack + STACK_SIZE), 69 68 [ipl] "r" (ipl), 70 69 [utext_des] "i" (GDT_SELECTOR(UTEXT_DES) | PL_USER), … … 75 74 76 75 /* Unreachable */ 77 while (1); 76 while (1) 77 ; 78 78 } 79 79
Note:
See TracChangeset
for help on using the changeset viewer.