Changeset 677a6d5 in mainline for generic/src/mm/vm.c


Ignore:
Timestamp:
2006-01-08T16:24:32Z (19 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
  • generic/src/mm/vm.c

    r59adc2b r677a6d5  
    163163        ASSERT(m->ptl0);
    164164        for (i=0; i<a->size; i++)
    165                 page_mapping_insert(a->address + i*PAGE_SIZE, a->mapping[i], flags, (__address) m->ptl0);
     165                page_mapping_insert(a->address + i*PAGE_SIZE, m->asid, a->mapping[i], flags, (__address) m->ptl0);
    166166               
    167167        spinlock_unlock(&a->lock);
     
    181181        ASSERT(m->ptl0);
    182182        for (i=0; i<a->size; i++)               
    183                 page_mapping_insert(a->address + i*PAGE_SIZE, 0, PAGE_NOT_PRESENT, (__address) m->ptl0);
     183                page_mapping_insert(a->address + i*PAGE_SIZE, 0, 0, PAGE_NOT_PRESENT, (__address) m->ptl0);
    184184       
    185185        spinlock_unlock(&a->lock);
Note: See TracChangeset for help on using the changeset viewer.