Rev 32 | Rev 422 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 32 | Rev 33 | ||
---|---|---|---|
Line 55... | Line 55... | ||
55 | __u32 oem_revision; |
55 | __u32 oem_revision; |
56 | __u32 creator_id; |
56 | __u32 creator_id; |
57 | __u32 creator_revision; |
57 | __u32 creator_revision; |
58 | } __attribute__ ((packed));; |
58 | } __attribute__ ((packed));; |
59 | 59 | ||
- | 60 | struct acpi_signature_map { |
|
- | 61 | __u8 *signature; |
|
- | 62 | struct acpi_sdt_header **sdt_ptr; |
|
- | 63 | char *description; |
|
- | 64 | }; |
|
- | 65 | ||
60 | /* Root System Description Table */ |
66 | /* Root System Description Table */ |
61 | struct acpi_rsdt { |
67 | struct acpi_rsdt { |
62 | struct acpi_sdt_header header; |
68 | struct acpi_sdt_header header; |
63 | __u32 entry[]; |
69 | __u32 entry[]; |
64 | } __attribute__ ((packed));; |
70 | } __attribute__ ((packed));; |
Line 68... | Line 74... | ||
68 | struct acpi_sdt_header header; |
74 | struct acpi_sdt_header header; |
69 | __u64 entry[]; |
75 | __u64 entry[]; |
70 | } __attribute__ ((packed));; |
76 | } __attribute__ ((packed));; |
71 | 77 | ||
72 | extern struct acpi_rsdp *acpi_rsdp; |
78 | extern struct acpi_rsdp *acpi_rsdp; |
- | 79 | extern struct acpi_rsdt *acpi_rsdt; |
|
- | 80 | extern struct acpi_xsdt *acpi_xsdt; |
|
73 | 81 | ||
74 | extern void acpi_init(void); |
82 | extern void acpi_init(void); |
75 | - | ||
76 | static int rsdp_check(__u8 *rsdp); |
83 | static int rsdp_check(__u8 *rsdp); |
- | 84 | static void map_sdt(struct acpi_sdt_header *sdt); |
|
- | 85 | extern int acpi_sdt_check(__u8 *sdt); |
|
- | 86 | static void configure_via_rsdt(void); |
|
- | 87 | static void configure_via_xsdt(void); |
|
77 | 88 | ||
78 | #endif /* __ACPI_H__ */ |
89 | #endif /* __ACPI_H__ */ |