Changeset f4c2b6a in mainline for kernel/genarch/src/acpi/acpi.c
- Timestamp:
- 2008-06-03T14:59:48Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2c4fb51
- Parents:
- b63f8569
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/acpi/acpi.c
rb63f8569 rf4c2b6a 106 106 goto next; 107 107 *signature_map[j].sdt_ptr = h; 108 printf("% #zp: ACPI %s\n", *signature_map[j].sdt_ptr, signature_map[j].description);108 printf("%p: ACPI %s\n", *signature_map[j].sdt_ptr, signature_map[j].description); 109 109 } 110 110 } … … 127 127 goto next; 128 128 *signature_map[j].sdt_ptr = h; 129 printf("% #zp: ACPI %s\n", *signature_map[j].sdt_ptr, signature_map[j].description);129 printf("%p: ACPI %s\n", *signature_map[j].sdt_ptr, signature_map[j].description); 130 130 } 131 131 } … … 161 161 162 162 rsdp_found: 163 printf("% #zp: ACPI Root System Description Pointer\n", acpi_rsdp);163 printf("%p: ACPI Root System Description Pointer\n", acpi_rsdp); 164 164 165 165 acpi_rsdt = (struct acpi_rsdt *) (unative_t) acpi_rsdp->rsdt_address; … … 170 170 171 171 if (acpi_rsdt && !acpi_sdt_check((uint8_t *) acpi_rsdt)) { 172 printf("RSDT: %s\n", "bad checksum");172 printf("RSDT: bad checksum\n"); 173 173 return; 174 174 } 175 175 if (acpi_xsdt && !acpi_sdt_check((uint8_t *) acpi_xsdt)) { 176 printf("XSDT: %s\n", "bad checksum");176 printf("XSDT: bad checksum\n"); 177 177 return; 178 178 }
Note:
See TracChangeset
for help on using the changeset viewer.