Changeset 677a6d5 in mainline for genarch/src/acpi/acpi.c


Ignore:
Timestamp:
2006-01-08T16:24:32Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f275cb3
Parents:
59adc2b
Message:

Memory management work.
Pass address space identifier to functions in page_operations to support single global page hash table.

File:
1 edited

Legend:

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

    r59adc2b r677a6d5  
    3030#include <genarch/acpi/madt.h>
    3131#include <arch/bios/bios.h>
    32 
     32#include <mm/asid.h>
    3333#include <mm/page.h>
    3434#include <print.h>
     
    8080static void map_sdt(struct acpi_sdt_header *sdt)
    8181{
    82         page_mapping_insert((__address) sdt, (__address) sdt, PAGE_NOT_CACHEABLE, 0);
     82        page_mapping_insert((__address) sdt, ASID_KERNEL, (__address) sdt, PAGE_NOT_CACHEABLE, 0);
    8383        map_structure((__address) sdt, sdt->length);
    8484}
Note: See TracChangeset for help on using the changeset viewer.