Changeset fc1e4f6 in mainline for genarch/src/acpi/acpi.c


Ignore:
Timestamp:
2006-01-31T00:44:08Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ef67bab
Parents:
6a3c9a7
Message:

Change page_mapping_find/insert interfaces to take as_t * as first argument
and not asid_t as second argument. This change was necessitated by the
removal of mapping array from as_area_t and the fact that an address
space doesn't have an ASID when it is created.

File:
1 edited

Legend:

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

    r6a3c9a7 rfc1e4f6  
    3030#include <genarch/acpi/madt.h>
    3131#include <arch/bios/bios.h>
    32 #include <mm/asid.h>
     32#include <mm/as.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, ASID_KERNEL, (__address) sdt, PAGE_NOT_CACHEABLE, 0);
     82        page_mapping_insert(AS_KERNEL, (__address) sdt, (__address) sdt, PAGE_NOT_CACHEABLE, 0);
    8383        map_structure((__address) sdt, sdt->length);
    8484}
Note: See TracChangeset for help on using the changeset viewer.