From 18c389411a0f6283c1b6dffc78bbcfcb237e367b Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Tue, 19 Aug 2025 16:16:10 -0400 Subject: move pager to libjove --- lib/libjove/include/arch/x86_64/pager.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 lib/libjove/include/arch/x86_64/pager.h (limited to 'lib/libjove/include/arch/x86_64/pager.h') diff --git a/lib/libjove/include/arch/x86_64/pager.h b/lib/libjove/include/arch/x86_64/pager.h new file mode 100644 index 0000000..7e47ed1 --- /dev/null +++ b/lib/libjove/include/arch/x86_64/pager.h @@ -0,0 +1,12 @@ +#ifndef _LIBJOVE_ARCH_x86_64_PAGER_H +#define _LIBJOVE_ARCH_x86_64_PAGER_H 1 + +#include +#include + +extern KernelObjectPageMap __jove_pagemap; + +JoveError jove_pager_ensure_for(KernelObjectPageMap *map, uintptr_t vptr); +#define jove_pager_ensure(vptr) jove_pager_ensure_for(&__jove_pagemap, vptr) + +#endif -- cgit v1.2.1