Changeset ed0dd65 in mainline for arch/ia32/include/acpi/madt.h


Ignore:
Timestamp:
2005-04-30T16:47:17Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
30ef8ce
Parents:
10a2e22
Message:

More ACPI work.
Initial MADT table parsing.

SMP renaming and reorganization to reflect there are more ways to bring SMP up.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/include/acpi/madt.h

    r10a2e22 red0dd65  
    3131
    3232#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>
    4134
    4235#define MADT_L_APIC                     0
     
    5245#define MADT_RESERVED_SKIP_END          127
    5346#define MADT_RESERVED_OEM_BEGIN         128
    54 #define MADT_RESERVED_OEM_END           255
     47
     48struct madt_apic_header {
     49        __u8 type;
     50        __u8 length;
     51} __attribute__ ((packed));
     52
     53
     54/* Multiple APIC Description Table */
     55struct 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));
    5561
    5662struct madt_l_apic {
    57         __u8 type;
    58         __u8 length;
     63        struct madt_apic_header header;
    5964        __u8 acpi_id;
    6065        __u8 apic_id;
     
    6368
    6469struct madt_io_apic {
    65         __u8 type;
    66         __u8 length;
     70        struct madt_apic_header header;
    6771        __u8 io_apic_id;
    6872        __u8 reserved;
     
    7276
    7377struct madt_intr_src_ovrd {
    74         __u8 type;
    75         __u8 length;
     78        struct madt_apic_header header;
    7679        __u8 bus;
    7780        __u8 source;
     
    8184
    8285struct madt_nmi_src {
    83         __u8 type;
    84         __u8 length;
     86        struct madt_apic_header header;
    8587        __u16 flags;
    8688        __u32 global_intr;
     
    8890
    8991struct madt_l_apic_nmi {
    90         __u8 type;
    91         __u8 length;
     92        struct madt_apic_header header;
    9293        __u8 acpi_id;
    9394        __u16 flags;
     
    9697
    9798struct madt_l_apic_addr_ovrd {
    98         __u8 type;
    99         __u8 length;
     99        struct madt_apic_header header;
    100100        __u16 reserved;
    101101        __u64 l_apic_address;
     
    103103
    104104struct madt_io_sapic {
    105         __u8 type;
    106         __u8 length;
     105        struct madt_apic_header header;
    107106        __u8 io_apic_id;
    108107        __u8 reserved;
     
    112111
    113112struct madt_l_sapic {
    114         __u8 type;
    115         __u8 length;
     113        struct madt_apic_header header;
    116114        __u8 acpi_id;
    117115        __u8 sapic_id;
     
    124122
    125123struct madt_platform_intr_src {
    126         __u8 type;
    127         __u8 length;
     124        struct madt_apic_header header;
    128125        __u16 flags;
    129126        __u8 intr_type;
     
    137134extern struct acpi_madt *acpi_madt;
    138135
     136extern void acpi_madt_parse(void);
     137
    139138#endif /* __MADT_H__ */
Note: See TracChangeset for help on using the changeset viewer.