Changeset d0485c6 in mainline for kernel/arch/ia64/include/mm/page.h


Ignore:
Timestamp:
2006-12-01T22:10:40Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3d76996
Parents:
7bf7ef7
Message:

Introduce page colors. So far, only sparc64 uses correct page color bits. Other architectures have a dummy define
specifying zero bits for a page color.

There is a new check of page color in as_area_share(). Because of lack of support for this in the userspace, the
check has been #ifef'ed out.

File:
1 edited

Legend:

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

    r7bf7ef7 rd0485c6  
    4242#define PAGE_WIDTH      FRAME_WIDTH
    4343
     44#define PAGE_COLOR_BITS 0                       /* dummy */
    4445
    4546#ifdef KERNEL
    4647
    4748/** Bit width of the TLB-locked portion of kernel address space. */
    48 #define KERNEL_PAGE_WIDTH       28      /* 256M */
     49#define KERNEL_PAGE_WIDTH               28      /* 256M */
    4950
    5051#define PPN_SHIFT                       12
     
    6566#define PA2KA(x)        ((uintptr_t) (x+(VRN_KERNEL<<VRN_SHIFT)))
    6667
    67 #define VHPT_WIDTH                      20              /* 1M */
     68#define VHPT_WIDTH                      20      /* 1M */
    6869#define VHPT_SIZE                       (1 << VHPT_WIDTH)
    6970
Note: See TracChangeset for help on using the changeset viewer.