Changeset e13daa5d in mainline for kernel/arch/amd64/src/syscall.c
- Timestamp:
- 2008-03-19T21:13:49Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 047aa46
- Parents:
- 20b8bf3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/syscall.c
r20b8bf3 re13daa5d 63 63 /* Mask RFLAGS on syscall 64 64 * - disable interrupts, until we exchange the stack register 65 * (mask the IE bit) 65 * (mask the IF bit) 66 * - clear DF so that the string instructions operate in 67 * the right direction 66 68 */ 67 write_msr(AMD_MSR_SFMASK, 0x200);69 write_msr(AMD_MSR_SFMASK, RFLAGS_IF | RFLAGS_DF); 68 70 } 69 71
Note:
See TracChangeset
for help on using the changeset viewer.