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


Ignore:
Timestamp:
2010-05-31T19:08:26Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6e2bf29
Parents:
a820bf7
Message:

Lock the page tables before working with them on ia32.

File:
1 edited

Legend:

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

    ra820bf7 re3ce39b  
    9999static void map_sdt(struct acpi_sdt_header *sdt)
    100100{
     101        page_table_lock(AS_KERNEL, true);
    101102        page_mapping_insert(AS_KERNEL, (uintptr_t) sdt, (uintptr_t) sdt, PAGE_NOT_CACHEABLE | PAGE_WRITE);
    102103        map_structure((uintptr_t) sdt, sdt->length);
     104        page_table_unlock(AS_KERNEL, true);
    103105}
    104106
Note: See TracChangeset for help on using the changeset viewer.