Changeset 80c9416 in mainline
- Timestamp:
- 2010-07-13T10:42:44Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 246f939
- Parents:
- 0cd21bf
- Location:
- kernel/arch/amd64
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/include/cpu.h
r0cd21bf r80c9416 45 45 #define RFLAGS_DF (1 << 10) 46 46 #define RFLAGS_OF (1 << 11) 47 #define RFLAGS_NT (1 << 14) 47 48 #define RFLAGS_RF (1 << 16) 48 49 -
kernel/arch/amd64/src/syscall.c
r0cd21bf r80c9416 66 66 * - clear DF so that the string instructions operate in 67 67 * the right direction 68 * - clear NT to prevent a #GP should the flag proliferate to an IRET 68 69 */ 69 write_msr(AMD_MSR_SFMASK, RFLAGS_IF | RFLAGS_DF );70 write_msr(AMD_MSR_SFMASK, RFLAGS_IF | RFLAGS_DF | RFLAGS_NT); 70 71 } 71 72
Note:
See TracChangeset
for help on using the changeset viewer.