Changeset 2802767 in mainline


Ignore:
Timestamp:
2006-03-22T22:26:49Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9aa72b4
Parents:
d2ab461
Message:

Small PTE_* macros and SET_PTL0_ADDRESS macro changes.

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • arch/ia64/include/mm/page.h

    rd2ab461 r2802767  
    4141/** Bit width of the TLB-locked portion of kernel address space. */
    4242#define KERNEL_PAGE_WIDTH       28      /* 256M */
    43 
    44 #define SET_PTL0_ADDRESS_ARCH(x)        /**< To be removed as situation permits. */
    4543
    4644#define PPN_SHIFT                       12
  • arch/sparc64/include/mm/page.h

    rd2ab461 r2802767  
    4444#define PA2KA(x)        ((__address) (x))
    4545
    46 #define SET_PTL0_ADDRESS_ARCH(x)        /**< To be removed as situation permits. */
    47 
    4846union page_address {
    4947        __address address;
  • genarch/include/mm/page_ht.h

    rd2ab461 r2802767  
    3131 */
    3232
     33#ifdef CONFIG_PAGE_HT
     34
    3335#ifndef __PAGE_HT_H__
    3436#define __PAGE_HT_H__
     
    4749#define PAGE_HT_ENTRIES         (1<<PAGE_HT_ENTRIES_BITS)
    4850
    49 #define PTE_VALID_ARCH(pte)             ((pte) != NULL)
    50 #define PTE_PRESENT_ARCH(pte)           ((pte)->p != 0)
    51 #define PTE_GET_FRAME_ARCH(pte)         ((pte)->frame)
     51#define PTE_VALID(pte)          ((pte) != NULL)
     52#define PTE_PRESENT(pte)        ((pte)->p != 0)
     53#define PTE_GET_FRAME(pte)      ((pte)->frame)
     54
     55#define SET_PTL0_ADDRESS(x)
    5256
    5357struct pte {
     
    7276
    7377#endif
     78
     79#endif
  • genarch/include/mm/page_pt.h

    rd2ab461 r2802767  
    3232 * are supposed to implement *_ARCH macros.
    3333 */
     34
     35#ifdef CONFIG_PAGE_PT
    3436
    3537#ifndef __PAGE_PT_H__
     
    103105
    104106#endif
     107
     108#endif
  • generic/src/mm/as.c

    rd2ab461 r2802767  
    4141#include <arch/mm/page.h>
    4242#include <genarch/mm/page_pt.h>
     43#include <genarch/mm/page_ht.h>
    4344#include <mm/asid.h>
    4445#include <arch/mm/asid.h>
Note: See TracChangeset for help on using the changeset viewer.