Changeset ed0dd65 in mainline for arch/ia32/include/acpi/madt.h
- Timestamp:
- 2005-04-30T16:47:17Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 30ef8ce
- Parents:
- 10a2e22
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/include/acpi/madt.h
r10a2e22 red0dd65 31 31 32 32 #include <arch/acpi/acpi.h> 33 34 /* Multiple APIC Description Table */ 35 struct acpi_madt { 36 struct acpi_sdt_header header; 37 __u32 l_apic_address; 38 __u32 flags; 39 __u8 apic_strucure[]; 40 } __attribute__ ((packed)); 33 #include <arch/smp/apic.h> 41 34 42 35 #define MADT_L_APIC 0 … … 52 45 #define MADT_RESERVED_SKIP_END 127 53 46 #define MADT_RESERVED_OEM_BEGIN 128 54 #define MADT_RESERVED_OEM_END 255 47 48 struct madt_apic_header { 49 __u8 type; 50 __u8 length; 51 } __attribute__ ((packed)); 52 53 54 /* Multiple APIC Description Table */ 55 struct acpi_madt { 56 struct acpi_sdt_header header; 57 __u32 l_apic_address; 58 __u32 flags; 59 struct madt_apic_header apic_header[]; 60 } __attribute__ ((packed)); 55 61 56 62 struct madt_l_apic { 57 __u8 type; 58 __u8 length; 63 struct madt_apic_header header; 59 64 __u8 acpi_id; 60 65 __u8 apic_id; … … 63 68 64 69 struct madt_io_apic { 65 __u8 type; 66 __u8 length; 70 struct madt_apic_header header; 67 71 __u8 io_apic_id; 68 72 __u8 reserved; … … 72 76 73 77 struct madt_intr_src_ovrd { 74 __u8 type; 75 __u8 length; 78 struct madt_apic_header header; 76 79 __u8 bus; 77 80 __u8 source; … … 81 84 82 85 struct madt_nmi_src { 83 __u8 type; 84 __u8 length; 86 struct madt_apic_header header; 85 87 __u16 flags; 86 88 __u32 global_intr; … … 88 90 89 91 struct madt_l_apic_nmi { 90 __u8 type; 91 __u8 length; 92 struct madt_apic_header header; 92 93 __u8 acpi_id; 93 94 __u16 flags; … … 96 97 97 98 struct madt_l_apic_addr_ovrd { 98 __u8 type; 99 __u8 length; 99 struct madt_apic_header header; 100 100 __u16 reserved; 101 101 __u64 l_apic_address; … … 103 103 104 104 struct madt_io_sapic { 105 __u8 type; 106 __u8 length; 105 struct madt_apic_header header; 107 106 __u8 io_apic_id; 108 107 __u8 reserved; … … 112 111 113 112 struct madt_l_sapic { 114 __u8 type; 115 __u8 length; 113 struct madt_apic_header header; 116 114 __u8 acpi_id; 117 115 __u8 sapic_id; … … 124 122 125 123 struct madt_platform_intr_src { 126 __u8 type; 127 __u8 length; 124 struct madt_apic_header header; 128 125 __u16 flags; 129 126 __u8 intr_type; … … 137 134 extern struct acpi_madt *acpi_madt; 138 135 136 extern void acpi_madt_parse(void); 137 139 138 #endif /* __MADT_H__ */
Note:
See TracChangeset
for help on using the changeset viewer.