Go to the documentation of this file.
51 #define NR_TABLES 1024
53 #define TO_IDX(vma, pgd, pgt) do { \
54 uint32_t pagesize = sysconf(_SC_PAGESIZE); \
55 pgd = ((uint32_t)(vma)) / (pagesize * NR_PAGES); \
56 pgt = ((uint32_t)(vma)) % (pagesize * NR_PAGES); \