Changeset 2a003d5b in mainline for arch


Ignore:
Timestamp:
2006-01-26T14:13:50Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c2b95d3
Parents:
4a2f4bb
Message:

Page hash table modifications.

Location:
arch
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • arch/ia64/include/asm.h

    r4a2f4bb r2a003d5b  
    240240}
    241241
     242/** Disable protection key checking. */
     243static inline void pk_disable(void)
     244{
     245        __asm__ volatile ("rsm %0\n" : : "i" (PSR_PK_MASK));
     246}
     247
    242248extern void cpu_halt(void);
    243249extern void cpu_sleep(void);
  • arch/ia64/include/mm/page.h

    r4a2f4bb r2a003d5b  
    4343
    4444/** Implementation of page hash table interface. */
     45#define HT_ENTRIES_ARCH                 0
    4546#define HT_HASH_ARCH(page, asid)        0
    4647#define HT_COMPARE_ARCH(page, asid, t)  0
    4748#define HT_SLOT_EMPTY_ARCH(t)           1
     49#define HT_INVALIDATE_SLOT_ARCH(t)
    4850#define HT_GET_NEXT_ARCH(t)             0
    4951#define HT_SET_NEXT_ARCH(t, s)
  • arch/ia64/include/register.h

    r4a2f4bb r2a003d5b  
    3535
    3636#define CR_IVR_MASK     0xf
     37#define PSR_IC_MASK     0x2000
    3738#define PSR_I_MASK      0x4000
    38 #define PSR_IC_MASK     0x2000
     39#define PSR_PK_MASK     0x8000
    3940
    4041/** Application registers. */
  • arch/ia64/src/mm/page.c

    r4a2f4bb r2a003d5b  
    3434#include <config.h>
    3535#include <panic.h>
     36#include <arch/asm.h>
    3637
    3738__u64 thash(__u64 va);
     
    141142{
    142143        page_operations = &page_ht_operations;
     144        pk_disable();
    143145        set_VHPT_environment();
    144146}
  • arch/sparc64/include/mm/page.h

    r4a2f4bb r2a003d5b  
    4343
    4444/** Implementation of page hash table interface. */
     45#define HT_ENTRIES_ARCH                 0
    4546#define HT_HASH_ARCH(page, asid)        0
    4647#define HT_COMPARE_ARCH(page, asid, t)  0
    4748#define HT_SLOT_EMPTY_ARCH(t)           1
     49#define HT_INVALIDATE_SLOT_ARCH(t)
    4850#define HT_GET_NEXT_ARCH(t)             0
    4951#define HT_SET_NEXT_ARCH(t, s)
Note: See TracChangeset for help on using the changeset viewer.