Chameleon

Chameleon Svn Source Tree

Root/branches/slice/trunkM/i386/libsaio/acpi_patcher.h

1/*
2 * Copyright 2008 mackerintel
3 */
4
5#ifndef __LIBSAIO_ACPI_PATCHER_H
6#define __LIBSAIO_ACPI_PATCHER_H
7
8#include "libsaio.h"
9//Slice - it's bullshit to define variables in header file
10//uint64_t acpi10_p;
11//uint64_t acpi20_p;
12//uint64_t smbios_p;
13
14extern void *new_dsdt;
15extern uint64_t smbios_p;
16
17extern int setupAcpi();
18
19extern EFI_STATUS addConfigurationTable();
20//extern int search_and_get_acpi_fd(const char *, const char **);
21
22extern EFI_GUID gEfiAcpiTableGuid;
23extern EFI_GUID gEfiAcpi20TableGuid;
24
25struct p_state
26{
27union
28{
29uint16_t Control;
30struct
31{
32uint8_t VID;// Voltage ID
33uint8_t FID;// Frequency ID
34};
35};
36
37uint8_tCID;// Compare ID
38uint32_tFrequency;
39};
40
41#endif /* !__LIBSAIO_ACPI_PATCHER_H */
42

Archive Download this file

Revision: 1171