Changeset bf3dd35 in mainline for kernel/genarch/src/acpi/acpi.c


Ignore:
Timestamp:
2012-01-31T22:03:21Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
03cdd2b
Parents:
20de14d
Message:

There is no need to have km_map() for aligned addresses and
km_map_structure() for unaligned addresses.

  • Make km_map() static and rename it to km_map_aligned().
  • Rename km_map_structure() to km_map().
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/src/acpi/acpi.c

    r20de14d rbf3dd35  
    102102
    103103        /* Start with mapping the header only. */
    104         vhdr = (struct acpi_sdt_header *) km_map_structure((uintptr_t) psdt,
     104        vhdr = (struct acpi_sdt_header *) km_map((uintptr_t) psdt,
    105105            sizeof(struct acpi_sdt_header), PAGE_READ | PAGE_NOT_CACHEABLE);
    106106
    107107        /* Now we can map the entire structure. */
    108         vsdt = (struct acpi_sdt_header *) km_map_structure((uintptr_t) psdt,
     108        vsdt = (struct acpi_sdt_header *) km_map((uintptr_t) psdt,
    109109            vhdr->length, PAGE_WRITE | PAGE_NOT_CACHEABLE);
    110110       
Note: See TracChangeset for help on using the changeset viewer.