Changeset 40ca402 in mainline
- Timestamp:
- 2006-02-06T22:29:52Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- dd4d6b0
- Parents:
- 8a1da55
- Location:
- arch/amd64
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/amd64/include/mm/as.h
r8a1da55 r40ca402 35 35 #define KERNEL_ADDRESS_SPACE_END_ARCH (__address) 0xffffffffffffffff 36 36 #define USER_ADDRESS_SPACE_START_ARCH (__address) 0x0000000000000000 37 #define USER_ADDRESS_SPACE_END_ARCH (__address) 0x0000 8fffffffffff37 #define USER_ADDRESS_SPACE_END_ARCH (__address) 0x00007fffffffffff 38 38 39 39 #define UTEXT_ADDRESS_ARCH 0x00001000 -
arch/amd64/src/userspace.c
r8a1da55 r40ca402 58 58 "pushq %%rsi;" 59 59 "iretq;" 60 : : "i" (gdtselector(UDATA_DES) | PL_USER), "i" (USTACK_ADDRESS+THREAD_STACK_SIZE), "r" (ipl), "i" (gdtselector(UTEXT_DES) | PL_USER), "i" (UTEXT_ADDRESS)); 60 : : "i" (gdtselector(UDATA_DES) | PL_USER), 61 "i" (USTACK_ADDRESS+THREAD_STACK_SIZE), 62 "r" (ipl), 63 "i" (gdtselector(UTEXT_DES) | PL_USER), 64 "i" (UTEXT_ADDRESS)); 61 65 62 66 /* Unreachable */
Note:
See TracChangeset
for help on using the changeset viewer.