Chameleon

Chameleon Svn Source Tree

Root/branches/Bungo/i386/libsaio/acpi_patcher.h

1/*
2 * Copyright 2008 mackerintel
3 * 2010 mojodojo
4 */
5
6#ifndef __LIBSAIO_ACPI_PATCHER_H
7#define __LIBSAIO_ACPI_PATCHER_H
8
9#include "libsaio.h"
10
11// extern uint64_t smbios_p; - moved to smbios.h
12
13boolean_t tableSign(void *table, const char *sgn);
14extern struct acpi_2_rsdp *getRSDPaddress();
15
16extern int setupAcpi();
17// extern EFI_STATUS addConfigurationTable();
18
19struct p_state
20{
21union
22{
23uint16_t Control;
24struct
25{
26uint8_t VID;// Voltage ID
27uint8_t FID;// Frequency ID
28};
29};
30
31uint8_tCID;// Compare ID
32uint32_tFrequency;
33};
34
35#endif /* !__LIBSAIO_ACPI_PATCHER_H */
36

Archive Download this file

Revision: 2531