Changeset 6be2c13 in mainline for kernel/genarch/src/acpi/acpi.c
- Timestamp:
- 2018-03-16T20:58:20Z (6 years ago)
- Parents:
- 973be387 (diff), 4b1c7c6f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-16 20:58:20)
- git-committer:
- GitHub <noreply@…> (2018-03-16 20:58:20)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/acpi/acpi.c
r973be387 r6be2c13 104 104 /* Start with mapping the header only. */ 105 105 vhdr = (struct acpi_sdt_header *) km_map((uintptr_t) psdt, 106 sizeof(struct acpi_sdt_header), PAGE_READ | PAGE_NOT_CACHEABLE);106 sizeof(struct acpi_sdt_header), 0); 107 107 108 108 /* Now we can map the entire structure. */ 109 109 vsdt = (struct acpi_sdt_header *) km_map((uintptr_t) psdt, 110 vhdr->length, PAGE_WRITE | PAGE_NOT_CACHEABLE);110 vhdr->length, PAGE_WRITE); 111 111 112 112 // TODO: do not leak vtmp
Note:
See TracChangeset
for help on using the changeset viewer.