Changeset ef67bab in mainline for arch/ia64


Ignore:
Timestamp:
2006-02-01T00:02:16Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
071a8ae6
Parents:
fc1e4f6
Message:

Memory management work.
Remove the last (i.e. 'root') argument from page_mapping_insert() and page_mapping_find().
Page table address is now extracted from the first (i.e. 'as') argument.
Add a lot of infrastructure to make the above possible.
sparc64 is now broken, most likely because of insufficient identity mapping of physical memory.

Location:
arch/ia64
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • arch/ia64/Makefile.inc

    rfc1e4f6 ref67bab  
    6565        arch/$(ARCH)/src/ivt.S \
    6666        arch/$(ARCH)/src/interrupt.c \
     67        arch/$(ARCH)/src/mm/as.c \
    6768        arch/$(ARCH)/src/mm/frame.c \
    6869        arch/$(ARCH)/src/mm/page.c \
  • arch/ia64/include/mm/as.h

    rfc1e4f6 ref67bab  
    4343#define as_install_arch(as)
    4444
     45extern void as_arch_init(void);
     46
    4547#endif
  • arch/ia64/include/mm/page.h

    rfc1e4f6 ref67bab  
    4444#define PA2KA(x)        ((__address) (x))
    4545
    46 #define GET_PTL0_ADDRESS_ARCH()                 ((pte_t *) 0)
    47 #define SET_PTL0_ADDRESS_ARCH(ptl0)
     46#define SET_PTL0_ADDRESS_ARCH(x)        /**< To be removed as situation permits. */
    4847
    4948/** Implementation of page hash table interface. */
    50 #define HT_ENTRIES_ARCH                                 (VHPT_SIZE/sizeof(pte_t))
     49#define HT_WIDTH_ARCH                                   20      /* 1M */
    5150#define HT_HASH_ARCH(page, asid)                        vhpt_hash((page), (asid))
    5251#define HT_COMPARE_ARCH(page, asid, t)                  vhpt_compare((page), (asid), (t))
  • arch/ia64/src/mm/tlb.c

    rfc1e4f6 ref67bab  
    3434#include <arch/mm/asid.h>
    3535
    36 /** Invalidate all TLB entries.
    37  *
    38  * Because of ASID management, region registers must be reset
    39  * with new RIDs derived from the potentionally new ASID.
    40  */
     36/** Invalidate all TLB entries. */
    4137void tlb_invalidate_all(void)
    4238{
Note: See TracChangeset for help on using the changeset viewer.