summaryrefslogtreecommitdiffstats
path: root/tests/memtest/libmem.h
blob: 4bc4b1ec6dc37738ccc857b876f7fc55326910eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

#ifndef _LIBMEM_C
#define _LIBMEM_C

void*
libmem_init(unsigned int addr, int bytes);
void
libmem_deinit(void* aself);
unsigned int
libmem_alloc(void* obj, int bytes);
int
libmem_free(void* obj, unsigned int addr);
int
libmem_set_flags(void* obj, int flags);
int
libmem_clear_flags(void* obj, int flags);

#endif