Subversion Repositories Kolibri OS

Rev

Rev 3262 | Rev 4370 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. #ifndef _LINUX_MM_H
  2. #define _LINUX_MM_H
  3.  
  4. #include <kernel.h>
  5.  
  6. #define VM_NORESERVE    0x00200000
  7.  
  8. #define nth_page(page,n) ((void*)(((page_to_phys(page)>>12)+(n))<<12))
  9.  
  10. #define page_to_pfn(page) (page_to_phys(page)>>12)
  11.  
  12. /* to align the pointer to the (next) page boundary */
  13. #define PAGE_ALIGN(addr) ALIGN(addr, PAGE_SIZE)
  14.  
  15. #endif
  16.