12345678910111213141516171819202122232425262728293031 |
- #ifndef _UCLIBC_PAGE_H
- #define _UCLIBC_PAGE_H
- #include <features.h>
- #if defined(__CONFIG_NDS32_PAGE_SIZE_8K__)
- #define PAGE_SHIFT 13
- #else
- #define PAGE_SHIFT 12
- #endif
- #define PAGE_SIZE (1UL << PAGE_SHIFT)
- #define PAGE_MASK (~(PAGE_SIZE-1))
- #define MMAP2_PAGE_SHIFT PAGE_SHIFT
- #endif
|