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

/gem5/tests/test-progs/asmtest/src/riscv/env/v/
H A Dvm.c63 #define l1pt pt[0] macro
222 l1pt[0] = ((pte_t)user_l2pt >> PGSHIFT << PTE_PPN_SHIFT) | PTE_V;
225 l1pt[PTES_PER_PT-1] = ((pte_t)kernel_l2pt >> PGSHIFT << PTE_PPN_SHIFT) | PTE_V;
230 l1pt[PTES_PER_PT-1] = (DRAM_BASE/RISCV_PGSIZE << PTE_PPN_SHIFT) | PTE_V | PTE_R | PTE_W | PTE_X | PTE_A | PTE_D;
233 write_csr(sptbr, ((uintptr_t)l1pt >> PGSHIFT) |

Completed in 5 milliseconds