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

    r6a3c9a7 rfc1e4f6  
    340340         * Check if the mapping exists in page tables.
    341341         */     
    342         pte = page_mapping_find(badvaddr, AS->asid, 0);
     342        pte = page_mapping_find(AS, badvaddr, 0);
    343343        if (pte && pte->lo.v) {
    344344                /*
     
    357357                         * The mapping ought to be in place.
    358358                         */
    359                         pte = page_mapping_find(badvaddr, AS->asid, 0);
     359                        pte = page_mapping_find(AS, badvaddr, 0);
    360360                        ASSERT(pte && pte->lo.v);
    361361                        return pte;
Note: See TracChangeset for help on using the changeset viewer.