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;
12boolean_t tableSign(void *table, const char *sgn);
13extern struct acpi_2_rsdp *getRSDPaddress();
14
15extern int setupAcpi();
16// extern EFI_STATUS addConfigurationTable();
17
18struct p_state
19{
20union
21{
22uint16_t Control;
23struct
24{
25uint8_t VID;// Voltage ID
26uint8_t FID;// Frequency ID
27};
28};
29
30uint8_tCID;// Compare ID
31uint32_tFrequency;
32};
33
34#endif /* !__LIBSAIO_ACPI_PATCHER_H */
35

Archive Download this file

Revision: 2537