- Timestamp:
- 2011-08-19T16:59:55Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b76a7329
- Parents:
- 45059d6b
- Location:
- kernel/arch/ia32
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/Makefile.inc
r45059d6b r1c99eae 44 44 # 45 45 46 ifeq ($(PROCESSOR),i486) 47 CMN2 = -march=i486 48 endif 49 46 50 ifeq ($(PROCESSOR),athlon_xp) 47 51 CMN2 = -march=athlon-xp … … 62 66 CMN2 = -march=pentium4 63 67 SUNCC_CFLAGS += -xarch=sse2 64 endif65 66 ifeq ($(PROCESSOR),i486)67 CMN2 = -march=i48668 68 endif 69 69 -
kernel/arch/ia32/include/asm.h
r45059d6b r1c99eae 312 312 313 313 #ifndef PROCESSOR_i486 314 314 315 /** Write to MSR */ 315 316 NO_TRACE static inline void write_msr(uint32_t msr, uint64_t value) … … 336 337 return ((uint64_t) dx << 32) | ax; 337 338 } 338 #endif 339 340 #endif /* PROCESSOR_i486 */ 339 341 340 342 -
kernel/arch/ia32/src/asm.S
r45059d6b r1c99eae 407 407 #ifdef PROCESSOR_i486 408 408 jz 0f 409 movl %eax, %ebp410 0:409 movl %eax, %ebp 410 0: 411 411 #else 412 412 cmovnzl %eax, %ebp -
kernel/arch/ia32/src/syscall.c
r45059d6b r1c99eae 40 40 41 41 #ifndef PROCESSOR_i486 42 42 43 /** Enable & setup support for SYSENTER/SYSEXIT */ 43 44 void syscall_setup_cpu(void) … … 50 51 write_msr(IA32_MSR_SYSENTER_EIP, (uint32_t) sysenter_handler); 51 52 } 52 #endif 53 54 #endif /* PROCESSOR_i486 */ 53 55 54 56 /** @}
Note:
See TracChangeset
for help on using the changeset viewer.