Searched refs:PGSIZE (Results 1 - 2 of 2) sorted by relevance

/gem5/tests/test-progs/asmtest/src/riscv/env/v/
H A Dvm.c73 pte_t pt[NPT][PTES_PER_PT] __attribute__((aligned(PGSIZE)));
96 assert(addr >= PGSIZE && addr < MAX_TEST_PAGES * PGSIZE);
97 addr = addr/PGSIZE*PGSIZE;
99 freelist_t* node = &user_mapping[addr/PGSIZE];
103 assert(user_l3pt[addr/PGSIZE] & PTE_A);
105 if (memcmp((void*)addr, uva2kva(addr), PGSIZE)) {
106 assert(user_l3pt[addr/PGSIZE] & PTE_D);
107 memcpy((void*)addr, uva2kva(addr), PGSIZE);
[all...]
H A Driscv_test.h47 #define PGSIZE (1UL << PGSHIFT) macro
59 #define MEGAPAGE_SIZE (PTES_PER_PT * PGSIZE)

Completed in 4 milliseconds