blob: 9b5c47f8675bd0272d139fc0bc1173db1bf76ffd [file] [log] [blame]
Greg Hartman76d05dc2016-11-23 15:51:27 -08001/* ----------------------------------------------------------------------- *
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 SBST_H
14#define SBST_H
15#include <inttypes.h>
16#include <stdbool.h>
17
18#define SBST "SBST"
19
20typedef struct {
21 uint64_t *address;
22 s_acpi_description_header header;
23 bool valid;
24 uint32_t warning_energy_level;
25 uint32_t low_energy_level;
26 uint32_t critical_energy_level;
27} s_sbst;
28
29void parse_sbst(s_sbst * sbst);
30#endif