Root/
Source at commit 728 created 13 years 4 months ago. By meklort, Updated Symbols.dylib generation. Module linked list rework beginning. USB Legacy off patch still needs fixing. Added a new tool to generate the symbols.dylib. It's a fairly correct dylib file, however nm complains about it (it still works fine though). Updated Symbols.dylib file is smaller (~13%) that the old method and is a bit cleaner. dylib generation needs a bit of cleaning up though) | |
---|---|
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 |