Rev 278 | Rev 422 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 278 | Rev 347 | ||
---|---|---|---|
Line 106... | Line 106... | ||
106 | } |
106 | } |
107 | 107 | ||
108 | return; |
108 | return; |
109 | 109 | ||
110 | rsdp_found: |
110 | rsdp_found: |
111 | printf("%L: ACPI Root System Description Pointer\n", acpi_rsdp); |
111 | printf("%P: ACPI Root System Description Pointer\n", acpi_rsdp); |
112 | 112 | ||
113 | acpi_rsdt = (struct acpi_rsdt *) (__native) acpi_rsdp->rsdt_address; |
113 | acpi_rsdt = (struct acpi_rsdt *) (__native) acpi_rsdp->rsdt_address; |
114 | if (acpi_rsdp->revision) acpi_xsdt = (struct acpi_xsdt *) ((__address) acpi_rsdp->xsdt_address); |
114 | if (acpi_rsdp->revision) acpi_xsdt = (struct acpi_xsdt *) ((__address) acpi_rsdp->xsdt_address); |
115 | 115 | ||
116 | if (acpi_rsdt) map_sdt((struct acpi_sdt_header *) acpi_rsdt); |
116 | if (acpi_rsdt) map_sdt((struct acpi_sdt_header *) acpi_rsdt); |
Line 141... | Line 141... | ||
141 | map_sdt(h); |
141 | map_sdt(h); |
142 | if (*((__u32 *) &h->signature[0])==*((__u32 *) &signature_map[j].signature[0])) { |
142 | if (*((__u32 *) &h->signature[0])==*((__u32 *) &signature_map[j].signature[0])) { |
143 | if (!acpi_sdt_check((__u8 *) h)) |
143 | if (!acpi_sdt_check((__u8 *) h)) |
144 | goto next; |
144 | goto next; |
145 | *signature_map[j].sdt_ptr = h; |
145 | *signature_map[j].sdt_ptr = h; |
146 | printf("%L: ACPI %s\n", *signature_map[j].sdt_ptr, signature_map[j].description); |
146 | printf("%P: ACPI %s\n", *signature_map[j].sdt_ptr, signature_map[j].description); |
147 | } |
147 | } |
148 | } |
148 | } |
149 | next: |
149 | next: |
150 | ; |
150 | ; |
151 | } |
151 | } |
Line 162... | Line 162... | ||
162 | map_sdt(h); |
162 | map_sdt(h); |
163 | if (*((__u32 *) &h->signature[0])==*((__u32 *) &signature_map[j].signature[0])) { |
163 | if (*((__u32 *) &h->signature[0])==*((__u32 *) &signature_map[j].signature[0])) { |
164 | if (!acpi_sdt_check((__u8 *) h)) |
164 | if (!acpi_sdt_check((__u8 *) h)) |
165 | goto next; |
165 | goto next; |
166 | *signature_map[j].sdt_ptr = h; |
166 | *signature_map[j].sdt_ptr = h; |
167 | printf("%L: ACPI %s\n", *signature_map[j].sdt_ptr, signature_map[j].description); |
167 | printf("%P: ACPI %s\n", *signature_map[j].sdt_ptr, signature_map[j].description); |
168 | } |
168 | } |
169 | } |
169 | } |
170 | next: |
170 | next: |
171 | ; |
171 | ; |
172 | } |
172 | } |