From abf235858588a5943cd9f532a5f1757e2baab80b Mon Sep 17 00:00:00 2001 From: Yifan Lu Date: Sat, 8 Oct 2016 22:41:57 -0700 Subject: Added slab allocator for trampoline in Vita platform Added support for smaller (non-page) allocations for trampoline --- lib/execmem.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/execmem.h') diff --git a/lib/execmem.h b/lib/execmem.h index 07e9fa4..dbf2dda 100644 --- a/lib/execmem.h +++ b/lib/execmem.h @@ -2,8 +2,8 @@ #include /* For allocating trampolines - this is just a mmap wrapper. */ int execmem_alloc_unsealed(uintptr_t hint, void **page_p, uintptr_t *vma_p, size_t *size_p, void *opt); -int execmem_seal(void *page, void *opt); -void execmem_free(void *page, void *opt); +int execmem_seal(void *page, uintptr_t vma, void *opt); +void execmem_free(void *page, uintptr_t vma, void *opt); /* Write to "foreign" (i.e. owned by another library, not out-of-process) pages * which are already RX or have unknown permissions. -- cgit v1.2.3