Changeset 11928d5 in mainline for arch/ia32/include
- Timestamp:
- 2006-04-28T14:32:44Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a98cdc7
- Parents:
- 040e4e9
- Location:
- arch/ia32/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/include/asm.h
r040e4e9 r11928d5 259 259 static inline void gdtr_load(ptr_16_32_t *gdtr_reg) 260 260 { 261 __asm__ volatile ("lgdt %0\n" : : "m" (*gdtr_reg));261 __asm__ volatile ("lgdtl %0\n" : : "m" (*gdtr_reg)); 262 262 } 263 263 … … 268 268 static inline void gdtr_store(ptr_16_32_t *gdtr_reg) 269 269 { 270 __asm__ volatile ("sgdt %0\n" : : "m" (*gdtr_reg));270 __asm__ volatile ("sgdtl %0\n" : : "m" (*gdtr_reg)); 271 271 } 272 272 … … 277 277 static inline void idtr_load(ptr_16_32_t *idtr_reg) 278 278 { 279 __asm__ volatile ("lidt %0\n" : : "m" (*idtr_reg));279 __asm__ volatile ("lidtl %0\n" : : "m" (*idtr_reg)); 280 280 } 281 281 -
arch/ia32/include/smp/apic.h
r040e4e9 r11928d5 128 128 typedef struct icr icr_t; 129 129 130 /* End Of Interrupt */130 /* End Of Interrupt. */ 131 131 #define EOI (0x0b0/sizeof(__u32)) 132 132 … … 252 252 typedef union l_apic_id l_apic_id_t; 253 253 254 /* Local APIC Version Register */254 /** Local APIC Version Register */ 255 255 #define LAVR (0x030/sizeof(__u32)) 256 256 #define LAVR_Mask 0xff … … 264 264 __u32 value; 265 265 struct { 266 unsigned : 24; /**< Reserve r. */266 unsigned : 24; /**< Reserved. */ 267 267 __u8 id; /**< Logical APIC ID. */ 268 268 } __attribute__ ((packed)); … … 320 320 struct { 321 321 unsigned : 24; /**< Reserved. */ 322 __u8 dest : 8; /**< Destination Field. */322 __u8 dest : 8; /**< Destination Field. */ 323 323 } __attribute__ ((packed)); 324 324 };
Note:
See TracChangeset
for help on using the changeset viewer.