Changeset 2802767 in mainline for genarch/include/mm/page_ht.h


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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.