X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/32b9a6d76790c73d3d2d36d9081a2581cc65d184..28c176b668c841a3b7fb093faccf0efa39257603:/lunaix-os/includes/hal/acpi/sdt.h diff --git a/lunaix-os/includes/hal/acpi/sdt.h b/lunaix-os/includes/hal/acpi/sdt.h index b055aa3..de8dc7d 100644 --- a/lunaix-os/includes/hal/acpi/sdt.h +++ b/lunaix-os/includes/hal/acpi/sdt.h @@ -18,11 +18,12 @@ typedef struct acpi_sdthdr u32_t vendor_id; u32_t vendor_rev; } ACPI_TABLE_PACKED acpi_sdthdr_t; +#define __acpi_sdthdr(acpi_ptr) ((acpi_sdthdr_t*)__ptr(acpi_ptr)) typedef struct acpi_rsdt { acpi_sdthdr_t header; - acpi_sdthdr_t* entry; + u32_t entry[0]; } ACPI_TABLE_PACKED acpi_rsdt_t; #endif /* __LUNAIX_ACPI_SDT_H */