Changeset 7f1c620 in mainline for arch/amd64/src/syscall.c
- Timestamp:
- 2006-07-04T17:17:56Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0ffa3ef5
- Parents:
- 991779c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/amd64/src/syscall.c
r991779c5 r7f1c620 58 58 */ 59 59 write_msr(AMD_MSR_STAR, 60 (( __u64)(gdtselector(KDATA_DES) | PL_USER)<<48) \61 | (( __u64)(gdtselector(KTEXT_DES) | PL_KERNEL)<<32));62 write_msr(AMD_MSR_LSTAR, ( __u64)syscall_entry);60 ((uint64_t)(gdtselector(KDATA_DES) | PL_USER)<<48) \ 61 | ((uint64_t)(gdtselector(KTEXT_DES) | PL_KERNEL)<<32)); 62 write_msr(AMD_MSR_LSTAR, (uint64_t)syscall_entry); 63 63 /* Mask RFLAGS on syscall 64 64 * - disable interrupts, until we exchange the stack register
Note:
See TracChangeset
for help on using the changeset viewer.