summaryrefslogtreecommitdiffstats
path: root/kmem.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmem.h')
-rw-r--r--kmem.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/kmem.h b/kmem.h
index de2ebdd..0f76025 100644
--- a/kmem.h
+++ b/kmem.h
@@ -9,7 +9,7 @@ typedef enum {
PCILIB_KMEM_FLAG_EXCLUSIVE = KMEM_FLAG_EXCLUSIVE,
PCILIB_KMEM_FLAG_PERSISTENT = KMEM_FLAG_PERSISTENT,
PCILIB_KMEM_FLAG_HARDWARE = KMEM_FLAG_HW,
-// PCILIB_KMEM_FLAG_FORCE = 2 /**< Force buffer
+ PCILIB_KMEM_FLAG_FORCE = KMEM_FLAG_FORCE
} pcilib_kmem_flags_t;
@@ -69,4 +69,6 @@ uintptr_t pcilib_kmem_get_block_pa(pcilib_t *ctx, pcilib_kmem_handle_t *k, size_
size_t pcilib_kmem_get_block_size(pcilib_t *ctx, pcilib_kmem_handle_t *k, size_t block);
pcilib_kmem_reuse_state_t pcilib_kmem_is_reused(pcilib_t *ctx, pcilib_kmem_handle_t *k);
+int pcilib_clean_kernel_memory(pcilib_t *ctx, pcilib_kmem_use_t use, pcilib_kmem_flags_t flags);
+
#endif /* _PCILIB_KMEM_H */