Changeset ab08b42 in mainline for arch/amd64/include/asm.h


Ignore:
Timestamp:
2005-09-03T16:40:25Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6401f79
Parents:
f6297e0
Message:

Added symbol table lookup in exceptions.
This breaks ia64 & ppc architecture compiles.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/amd64/include/asm.h

    rf6297e0 rab08b42  
    166166
    167167
     168/** Enable local APIC
     169 *
     170 * Enable local APIC in MSR.
     171 */
     172static inline void enable_l_apic_in_msr()
     173{
     174        __asm__ volatile (
     175                "movl $0x1b, %%ecx;"
     176                "rdmsr;"
     177                "orl $(1<<11),%%eax;"
     178                "orl $(0xfee00000),%%eax;"
     179                "wrmsr;"
     180                :
     181                :
     182                :"%eax","%ecx","%edx"
     183                );
     184}
     185
    168186extern size_t interrupt_handler_size;
    169187extern void interrupt_handlers(void);
Note: See TracChangeset for help on using the changeset viewer.