From 65ba015d6c1f248d36ad01a653bc49637804b15b Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Sun, 10 Aug 2025 15:46:33 -0400 Subject: working usermode objdir iteration --- lib/libjove/include/arch/x86_64/object-pagemap.h | 14 ++++++++++++++ lib/libjove/include/arch/x86_64/syscall.h | 12 ++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 lib/libjove/include/arch/x86_64/object-pagemap.h create mode 100644 lib/libjove/include/arch/x86_64/syscall.h (limited to 'lib/libjove/include/arch/x86_64') diff --git a/lib/libjove/include/arch/x86_64/object-pagemap.h b/lib/libjove/include/arch/x86_64/object-pagemap.h new file mode 100644 index 0000000..55b0570 --- /dev/null +++ b/lib/libjove/include/arch/x86_64/object-pagemap.h @@ -0,0 +1,14 @@ +#ifndef _LIBJOVE_ARCH_x86_64_OBJECT_PAGEMAP_H +#define _LIBJOVE_ARCH_x86_64_OBJECT_PAGEMAP_H 1 + +#include + +typedef struct KernelObjectPageMapping +{ + KernelObjectTyped typed; + uint8_t level; +} KernelObjectPageMapping; + + + +#endif diff --git a/lib/libjove/include/arch/x86_64/syscall.h b/lib/libjove/include/arch/x86_64/syscall.h new file mode 100644 index 0000000..1d7df53 --- /dev/null +++ b/lib/libjove/include/arch/x86_64/syscall.h @@ -0,0 +1,12 @@ +#ifndef _LIBJOVE_ARCH_x86_64_SYSCALL_H +#define _LIBJOVE_ARCH_x86_64_SYSCALL_H 1 + +#include + +#include +#include + +int _syscall_invoke_mapping_get(KernelObjectPath path, uint16_t pmli, KernelObjectPath destPath); + + +#endif -- cgit v1.2.1