Changeset 1c99eae in mainline for kernel


Ignore:
Timestamp:
2011-08-19T16:59:55Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b76a7329
Parents:
45059d6b
Message:

cstyle
(no change in functionality)

Location:
kernel/arch/ia32
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/Makefile.inc

    r45059d6b r1c99eae  
    4444#
    4545
     46ifeq ($(PROCESSOR),i486)
     47        CMN2 = -march=i486
     48endif
     49
    4650ifeq ($(PROCESSOR),athlon_xp)
    4751        CMN2 = -march=athlon-xp
     
    6266        CMN2 = -march=pentium4
    6367        SUNCC_CFLAGS += -xarch=sse2
    64 endif
    65 
    66 ifeq ($(PROCESSOR),i486)
    67         CMN2 = -march=i486
    6868endif
    6969
  • kernel/arch/ia32/include/asm.h

    r45059d6b r1c99eae  
    312312
    313313#ifndef PROCESSOR_i486
     314
    314315/** Write to MSR */
    315316NO_TRACE static inline void write_msr(uint32_t msr, uint64_t value)
     
    336337        return ((uint64_t) dx << 32) | ax;
    337338}
    338 #endif
     339
     340#endif /* PROCESSOR_i486 */
    339341
    340342
  • kernel/arch/ia32/src/asm.S

    r45059d6b r1c99eae  
    407407#ifdef PROCESSOR_i486
    408408        jz 0f
    409         movl %eax, %ebp
    410 0:
     409                movl %eax, %ebp
     410        0:
    411411#else
    412412        cmovnzl %eax, %ebp
  • kernel/arch/ia32/src/syscall.c

    r45059d6b r1c99eae  
    4040
    4141#ifndef PROCESSOR_i486
     42
    4243/** Enable & setup support for SYSENTER/SYSEXIT */
    4344void syscall_setup_cpu(void)
     
    5051        write_msr(IA32_MSR_SYSENTER_EIP, (uint32_t) sysenter_handler);
    5152}
    52 #endif
     53
     54#endif /* PROCESSOR_i486 */
    5355
    5456/** @}
Note: See TracChangeset for help on using the changeset viewer.