Changeset 6a3c9a7 in mainline for generic/include/mm/as.h


Ignore:
Timestamp:
2006-01-30T23:44:00Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fc1e4f6
Parents:
a60c748
Message:

Remove address space area mapping array.
The information is to be stored directly in page tables.
This is to better support 64-bit systems which can have
fairly large address space areas.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/include/mm/as.h

    ra60c748 r6a3c9a7  
    6666        size_t size;            /**< Size of this area in multiples of PAGE_SIZE. */
    6767        __address base;         /**< Base address of this area. */
    68         index_t *mapping;       /**< Map of physical frame numbers mapped to virtual page numbers in this area. */
    6968};
    7069
     
    7776 */
    7877struct as {
    79         /** Protected by asidlock. Must be acquired before as-> lock. */
     78        /** Protected by asidlock. Must be acquired before as->lock. */
    8079        link_t as_with_asid_link;
    8180
     
    8887extern as_t * as_create(pte_t *ptl0, int flags);
    8988extern as_area_t *as_area_create(as_t *as, as_area_type_t type, size_t size, __address base);
    90 extern void as_area_set_mapping(as_area_t *a, index_t vpn, index_t pfn);
     89extern void as_set_mapping(as_t *as, __address page, __address frame);
    9190extern int as_page_fault(__address page);
    9291extern void as_install(as_t *m);
Note: See TracChangeset for help on using the changeset viewer.