Root/
Source at commit 970 created 13 years 23 days ago. By macman, ati.c, removed duplicate default "ATI Radeon HD 5400 Series", added Gigabyte "AMD Radeon HD 6850" OC device ID and added additional AMD 6000 cards with their default settings. Removed some blank lines. | |
---|---|
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 | #include "efi.h"␊ |
10 | #include "ACPIPatcher.h"␊ |
11 | ␊ |
12 | #define ACPI_2_0␉␉2␊ |
13 | #define ACPI_1_0␉␉1␊ |
14 | ␊ |
15 | ␊ |
16 | extern uint64_t acpi10_p;␊ |
17 | extern uint64_t acpi20_p;␊ |
18 | extern uint64_t smbios_p;␊ |
19 | ␊ |
20 | extern int setupAcpi();␊ |
21 | ␊ |
22 | extern EFI_STATUS addConfigurationTable();␊ |
23 | ␊ |
24 | extern EFI_GUID gEfiAcpiTableGuid;␊ |
25 | extern EFI_GUID gEfiAcpi20TableGuid;␊ |
26 | ␊ |
27 | struct p_state ␊ |
28 | {␊ |
29 | ␉union ␊ |
30 | ␉{␊ |
31 | ␉␉uint16_t Control;␊ |
32 | ␉␉struct ␊ |
33 | ␉␉{␊ |
34 | ␉␉␉uint8_t VID;␉// Voltage ID␊ |
35 | ␉␉␉uint8_t FID;␉// Frequency ID␊ |
36 | ␉␉};␊ |
37 | ␉};␊ |
38 | ␉␊ |
39 | ␉uint8_t␉␉CID;␉␉// Compare ID␊ |
40 | ␉uint32_t␉Frequency;␊ |
41 | };␊ |
42 | ␊ |
43 | #endif /* !__LIBSAIO_ACPI_PATCHER_H */␊ |
44 |