Changeset 9149135 in mainline for arch/ia32/include/smp/apic.h
- Timestamp:
- 2005-11-24T18:43:46Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 78c32b4
- Parents:
- f701b236
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/include/smp/apic.h
rf701b236 r9149135 36 36 #define LOPRI (1<<0) 37 37 38 #define APIC_ID_COUNT 16 39 38 40 /* local APIC macros */ 39 41 #define IPI_INIT 0 … … 86 88 #define TIMER_PERIODIC 0x1 87 89 88 #define SEND_PENDING (1<<12) 90 /** Delivery status. */ 91 #define DELIVS_IDLE 0x0 92 #define DELIVS_PENDING 0x1 93 94 /** Destination masks. */ 95 #define DEST_ALL 0xff 89 96 90 97 /** Interrupt Command Register. */ … … 225 232 /** Local APIC ID Register. */ 226 233 #define L_APIC_ID (0x020/sizeof(__u32)) 227 union l apic_id {234 union l_apic_id { 228 235 __u32 value; 229 236 struct { … … 232 239 } __attribute__ ((packed)); 233 240 }; 234 typedef union l apic_id lapic_id_t;241 typedef union l_apic_id l_apic_id_t; 235 242 236 243 /* Local APIC Version Register */ … … 285 292 286 293 } __attribute__ ((packed)); 287 288 294 typedef struct io_redirection_reg io_redirection_reg_t; 295 296 297 /** IO APIC Identification Register. */ 298 union io_apic_id { 299 __u32 value; 300 struct { 301 unsigned : 24; /**< Reserved. */ 302 unsigned apic_id : 4; /**< IO APIC ID. */ 303 unsigned : 4; /**< Reserved. */ 304 } __attribute__ ((packed)); 305 }; 306 typedef union io_apic_id io_apic_id_t; 289 307 290 308 extern volatile __u32 *l_apic;
Note:
See TracChangeset
for help on using the changeset viewer.