From c4b8857789e3f79a2ae0f7abe108999bf323b01a Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 27 Nov 2016 15:31:18 +0000 Subject: Add low memory handler to purge unused slabs on OS3 TODO: find some way to purge NetSurf's memory cache safely from another process --- frontends/amiga/memory.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'frontends/amiga/memory.h') diff --git a/frontends/amiga/memory.h b/frontends/amiga/memory.h index 3d9235062..a87a3ea97 100644 --- a/frontends/amiga/memory.h +++ b/frontends/amiga/memory.h @@ -57,9 +57,11 @@ void *ami_memory_clear_alloc(size_t size, UBYTE value); #define ami_memory_itempool_free(p,i,s) FreePooled(p,i,s) #endif -/* clib2 slab allocator stats */ +/* clib2 slab allocator */ #ifndef __amigaos4__ void ami_memory_slab_dump(void); +struct Interrupt *ami_memory_init(void); +void ami_memory_fini(struct Interrupt *memhandler); #endif #endif //AMIGA_MEMORY_H -- cgit v1.2.3