Helpers for the PGSHIFT of the largest jumbo page
[akaros.git] / kern / arch / riscv / pmap.c
index 33da797..72e5406 100644 (file)
@@ -120,3 +120,10 @@ void arch_pgdir_clear(pgdir_t *pd)
 {
        *pd = 0;
 }
+
+/* Returns the page shift of the largest jumbo supported */
+int arch_max_jumbo_page_shift(void)
+{
+       #warning "What jumbo page sizes does RISC support?"
+       return PGSHIFT;
+}