#include <linux/const.h>
#include <asm-generic/memory_model.h>
#include <asm-generic/getorder.h>
Go to the source code of this file.
|
#define | PAGE_SHIFT 12 |
|
#define | PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) |
|
#define | PAGE_MASK (~(PAGE_SIZE-1)) |
|
#define | clear_page(page) memset((void *)(page), 0, PAGE_SIZE) |
|
#define | copy_page(to, from) memcpy((void *)(to), (void *)(from), PAGE_SIZE) |
|
#define | clear_user_page(addr, vaddr, page) |
|
#define | copy_user_page(to, from, vaddr, page) |
|
#define | SPARC_PHYS_BANKS 32 |
|
#define | pte_val(x) (x) |
|
#define | iopte_val(x) (x) |
|
#define | pmd_val(x) ((x).pmdv[0]) |
|
#define | pgd_val(x) (x) |
|
#define | ctxd_val(x) (x) |
|
#define | pgprot_val(x) (x) |
|
#define | iopgprot_val(x) (x) |
|
#define | __pte(x) (x) |
|
#define | __iopte(x) (x) |
|
#define | __pgd(x) (x) |
|
#define | __ctxd(x) (x) |
|
#define | __pgprot(x) (x) |
|
#define | __iopgprot(x) (x) |
|
#define | TASK_UNMAPPED_BASE 0x50000000 |
|
#define | PAGE_OFFSET 0xf0000000 |
|
#define | __pa(x) ((unsigned long)(x) - PAGE_OFFSET + phys_base) |
|
#define | __va(x) ((void *)((unsigned long) (x) - phys_base + PAGE_OFFSET)) |
|
#define | virt_to_phys __pa |
|
#define | phys_to_virt __va |
|
#define | ARCH_PFN_OFFSET (pfn_base) |
|
#define | virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) |
|
#define | pfn_valid(pfn) (((pfn) >= (pfn_base)) && (((pfn)-(pfn_base)) < max_mapnr)) |
|
#define | virt_addr_valid(kaddr) ((((unsigned long)(kaddr)-PAGE_OFFSET)>>PAGE_SHIFT) < max_mapnr) |
|
#define | VM_DATA_DEFAULT_FLAGS |
|
#define __iopgprot |
( |
|
x | ) |
(x) |
#define __pgprot |
( |
|
x | ) |
(x) |
Value:
sparc_flush_page_to_ram(
page); \
} while (0)
Definition at line 21 of file page_32.h.
Value:
sparc_flush_page_to_ram(
page); \
} while (0)
Definition at line 25 of file page_32.h.
#define ctxd_val |
( |
|
x | ) |
(x) |
#define iopgprot_val |
( |
|
x | ) |
(x) |
#define iopte_val |
( |
|
x | ) |
(x) |
#define PAGE_OFFSET 0xf0000000 |
#define pgprot_val |
( |
|
x | ) |
(x) |
#define phys_to_virt __va |
#define pmd_val |
( |
|
x | ) |
((x).pmdv[0]) |
#define SPARC_PHYS_BANKS 32 |
#define TASK_UNMAPPED_BASE 0x50000000 |
#define virt_to_phys __pa |
#define VM_DATA_DEFAULT_FLAGS |
Value:(VM_READ | VM_WRITE | VM_EXEC | \
VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
Definition at line 135 of file page_32.h.