Changeset 1c99eae in mainline
- Timestamp:
- 2011-08-19T16:59:55Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b76a7329
- Parents:
- 45059d6b
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
HelenOS.config
r45059d6b r1c99eae 70 70 @ "pentium4" Pentium 4 71 71 @ "pentium3" Pentium 3 72 @ "i486" i48673 72 @ "core" Core Solo/Duo 74 73 @ "athlon_xp" Athlon XP 75 74 @ "athlon_mp" Athlon MP 75 @ "i486" i486 76 76 ! [PLATFORM=ia32] PROCESSOR (choice) 77 77 -
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 /** @} -
uspace/lib/c/arch/ia32/Makefile.common
r45059d6b r1c99eae 28 28 29 29 CLANG_ARCH = i386 30 30 31 ifeq ($(PROCESSOR),i486) 31 GCC_CFLAGS += -march=i486 -fno-omit-frame-pointer32 GCC_CFLAGS += -march=i486 -fno-omit-frame-pointer 32 33 else 33 GCC_CFLAGS += -march=pentium -fno-omit-frame-pointer34 GCC_CFLAGS += -march=pentium -fno-omit-frame-pointer 34 35 endif 35 36 -
uspace/lib/c/arch/ia32/src/entry.S
r45059d6b r1c99eae 46 46 mov %ax, %fs 47 47 # Do not set %gs, it contains descriptor that can see TLS 48 48 49 49 #ifndef PROCESSOR_i486 50 50 # Detect the mechanism used for making syscalls … … 53 53 bt $(INTEL_SEP), %edx 54 54 jnc 0f 55 leal __syscall_fast_func, %eax56 movl $__syscall_fast, (%eax)57 0:55 leal __syscall_fast_func, %eax 56 movl $__syscall_fast, (%eax) 57 0: 58 58 #endif 59 59 60 # 60 61 # Create the first stack frame.
Note:
See TracChangeset
for help on using the changeset viewer.