Root/
Source at commit 2605 created 9 years 4 months ago. By ifabio, Temp disabled feature introduced in commit 2562 (Added ability to auto-select last booted partition as the boot volume), cause AllocateKernelMemory error. | |
---|---|
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 | uint64_t acpi10_p;␊ |
12 | uint64_t acpi20_p;␊ |
13 | uint64_t smbios_p;␊ |
14 | ␊ |
15 | extern int setupAcpi();␊ |
16 | ␊ |
17 | extern EFI_STATUS addConfigurationTable();␊ |
18 | ␊ |
19 | extern EFI_GUID gEfiAcpiTableGuid;␊ |
20 | extern EFI_GUID gEfiAcpi20TableGuid;␊ |
21 | ␊ |
22 | struct p_state ␊ |
23 | {␊ |
24 | ␉union ␊ |
25 | ␉{␊ |
26 | ␉␉uint16_t Control;␊ |
27 | ␉␉struct ␊ |
28 | ␉␉{␊ |
29 | ␉␉␉uint8_t VID;␉// Voltage ID␊ |
30 | ␉␉␉uint8_t FID;␉// Frequency ID␊ |
31 | ␉␉};␊ |
32 | ␉};␊ |
33 | ␉␊ |
34 | ␉uint8_t␉␉CID;␉␉// Compare ID␊ |
35 | ␉uint32_t␉Frequency;␊ |
36 | };␊ |
37 | ␊ |
38 | #endif /* !__LIBSAIO_ACPI_PATCHER_H */␊ |
39 |