projects
/
lugburz
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wrote the memory allocator, hopefully it works too
[lugburz]
/
src
/
amiga
/
mem.h
diff --git
a/src/amiga/mem.h
b/src/amiga/mem.h
index
395beb9
..
5e6d212
100644
(file)
--- a/
src/amiga/mem.h
+++ b/
src/amiga/mem.h
@@
-1,6
+1,16
@@
#ifndef MEM_H_
#define MEM_H_
#ifndef MEM_H_
#define MEM_H_
+enum {
+ MEM_FAST = 1,
+ MEM_SLOW = 2,
+ MEM_CHIP = 4,
+ MEM_ANY = MEM_FAST | MEM_SLOW | MEM_CHIP
+};
+
int init_mem(void);
int init_mem(void);
+void *mem_alloc(unsigned int sz, unsigned int attr);
+void mem_free(void *ptr);
+
#endif /* MEM_H_ */
#endif /* MEM_H_ */