Changeset ab08b42 in mainline for arch/amd64/include/asm.h
- Timestamp:
- 2005-09-03T16:40:25Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6401f79
- Parents:
- f6297e0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/amd64/include/asm.h
rf6297e0 rab08b42 166 166 167 167 168 /** Enable local APIC 169 * 170 * Enable local APIC in MSR. 171 */ 172 static 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 168 186 extern size_t interrupt_handler_size; 169 187 extern void interrupt_handlers(void);
Note:
See TracChangeset
for help on using the changeset viewer.