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

    r6a3c9a7 rfc1e4f6  
    3232#include <mm/frame.h>
    3333#include <mm/page.h>
    34 #include <mm/asid.h>
     34#include <mm/as.h>
    3535#include <arch/types.h>
    3636#include <config.h>
     
    6262                 */
    6363                for (cur = 0; cur < last_frame; cur += FRAME_SIZE)
    64                         page_mapping_insert(PA2KA(cur), ASID_KERNEL, cur, PAGE_CACHEABLE, KA2PA(dba));
     64                        page_mapping_insert(AS_KERNEL, PA2KA(cur), cur, PAGE_CACHEABLE, KA2PA(dba));
    6565
    6666                exc_register(14, "page_fault", page_fault);
Note: See TracChangeset for help on using the changeset viewer.