uClibc_page.h 427 B

1234567891011121314151617
  1. /*
  2. * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  3. */
  4. /* Supply an architecture specific value for PAGE_SIZE and friends. */
  5. #ifndef _UCLIBC_PAGE_H
  6. #define _UCLIBC_PAGE_H
  7. /* PAGE_SHIFT determines the page size -- in this case 8192 */
  8. #define PAGE_SHIFT 13
  9. #define PAGE_SIZE (1UL << PAGE_SHIFT)
  10. #define PAGE_MASK (~(PAGE_SIZE-1))
  11. #define MMAP2_PAGE_SHIFT PAGE_SHIFT
  12. #endif /* _UCLIBC_PAGE_H */