diff options
author | Erwan Velu <erwan.velu@free.fr> | 2009-12-02 14:24:17 +0100 |
---|---|---|
committer | Erwan Velu <erwan.velu@free.fr> | 2009-12-04 10:19:01 +0100 |
commit | 4558b351e2720d91bd2847afb74a28e19d0d0028 (patch) | |
tree | 08b6217fa344bf03800eaeae35f7ed504d68b52b /com32/gplinclude/acpi/structs.h | |
parent | 8568d8f61de52309ba471f787800d11c5837aa0b (diff) | |
download | syslinux-4558b351e2720d91bd2847afb74a28e19d0d0028.tar.gz |
acpi: Adding xsdt
Impact: Adding XSDT
Adding XSDT
Diffstat (limited to 'com32/gplinclude/acpi/structs.h')
-rw-r--r-- | com32/gplinclude/acpi/structs.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/com32/gplinclude/acpi/structs.h b/com32/gplinclude/acpi/structs.h new file mode 100644 index 00000000..b5e17728 --- /dev/null +++ b/com32/gplinclude/acpi/structs.h @@ -0,0 +1,35 @@ +/* ----------------------------------------------------------------------- * + * + * Copyright 2009 Erwan Velu - All Rights Reserved + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, Inc., 53 Temple Place Ste 330, + * Boston MA 02111-1307, USA; either version 2 of the License, or + * (at your option) any later version; incorporated herein by reference. + * + * ----------------------------------------------------------------------- */ + +#ifndef ACPI_STRUCTS_H +#define ACPI_STRUCTS_H +#include <inttypes.h> +#include <stdbool.h> + +/* This value define the real size of the acpi structure + * Our is bigger as we manage the \0 of strings + * */ +#define ACPI_HEADER_SIZE 36 + +typedef struct { + uint8_t signature[4 + 1]; + uint32_t length; + uint8_t revision; + uint8_t checksum; + uint8_t oem_id[6 + 1]; + uint8_t oem_table_id[8 + 1]; + uint32_t oem_revision; + uint8_t creator_id[4 + 1]; + uint32_t creator_revision; +} s_acpi_description_header; + +#endif |