Changeset fc1e4f6 in mainline for arch/ia32/src/smp/smp.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
  • arch/ia32/src/smp/smp.c

    r6a3c9a7 rfc1e4f6  
    4545#include <mm/page.h>
    4646#include <mm/heap.h>
    47 #include <mm/asid.h>
     47#include <mm/as.h>
    4848#include <print.h>
    4949#include <memstr.h>
     
    6666
    6767        if (config.cpu_count > 1) {             
    68                 page_mapping_insert((__address)l_apic, ASID_KERNEL, (__address)l_apic,
     68                page_mapping_insert(AS_KERNEL, (__address) l_apic, (__address) l_apic,
    6969                                  PAGE_NOT_CACHEABLE, 0);
    70                 page_mapping_insert((__address) io_apic, ASID_KERNEL,
    71                                   (__address) io_apic,
     70                page_mapping_insert(AS_KERNEL, (__address) io_apic, (__address) io_apic,
    7271                                  PAGE_NOT_CACHEABLE, 0);
    7372        }
Note: See TracChangeset for help on using the changeset viewer.