diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-11-27 15:31:18 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-11-27 15:31:18 +0000 |
commit | c4b8857789e3f79a2ae0f7abe108999bf323b01a (patch) | |
tree | 6d2589211a2afd56169b46d54bb77e337bb69194 /frontends/amiga/memory.h | |
parent | 20432237883a04677f30f1758979fa0a4b9111e3 (diff) | |
download | netsurf-c4b8857789e3f79a2ae0f7abe108999bf323b01a.tar.gz netsurf-c4b8857789e3f79a2ae0f7abe108999bf323b01a.tar.bz2 |
Add low memory handler to purge unused slabs on OS3
TODO: find some way to purge NetSurf's memory cache safely from another process
Diffstat (limited to 'frontends/amiga/memory.h')
-rw-r--r-- | frontends/amiga/memory.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 |