source: bootcd/isolinux/syslinux-6.03/com32/gplinclude/acpi/rsdt.h @ e16e8f2

Last change on this file since e16e8f2 was e16e8f2, checked in by Edwin Eefting <edwin@datux.nl>, 3 years ago

bootstuff

  • Property mode set to 100644
File size: 898 bytes
Line 
1/* ----------------------------------------------------------------------- *
2 *
3 *   Copyright 2009-2011 Erwan Velu - All Rights Reserved
4 *
5 *   This program is free software; you can redistribute it and/or modify
6 *   it under the terms of the GNU General Public License as published by
7 *   the Free Software Foundation, Inc., 53 Temple Place Ste 330,
8 *   Boston MA 02111-1307, USA; either version 2 of the License, or
9 *   (at your option) any later version; incorporated herein by reference.
10 *
11 * ----------------------------------------------------------------------- */
12
13#ifndef RSDT_H
14#define RSDT_H
15#include <inttypes.h>
16#include <stdbool.h>
17
18enum { RSDT_TABLE_FOUND = 1};
19
20#define RSDT "RSDT"
21
22typedef struct {
23    uint8_t *address;
24    s_acpi_description_header header;
25    uint8_t *entry[255];
26    uint8_t entry_count;
27    bool valid;
28} s_rsdt;
29
30int parse_rsdt(s_rsdt * rsdt);
31#endif
Note: See TracBrowser for help on using the repository browser.