1 #ifndef EXEC_MEMHEADEREXT_H
2 #define EXEC_MEMHEADEREXT_H
4 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
7 Desc: Extended memory handling. New in AROS.
12 # include <exec/memory.h>
17 struct MemHeader mhe_MemHeader
;
19 /* Let an external 'driver' manage this memory
24 APTR (* mhe_Alloc
) (struct MemHeaderExt
*, ULONG size
, ULONG
*flags
);
25 VOID (* mhe_Free
) (struct MemHeaderExt
*, APTR mem
, ULONG size
);
26 APTR (* mhe_AllocAbs
)(struct MemHeaderExt
*, ULONG size
, APTR addr
);
27 APTR (* mhe_ReAlloc
) (struct MemHeaderExt
*, APTR old
, ULONG size
);
28 ULONG (* mhe_Avail
) (struct MemHeaderExt
*, ULONG flags
);
31 /* Indicates that the memory region is to be
32 treated as an opaque object managed only through the
33 functions whose pointers are in the extended mem header. */
34 #define MEMF_MANAGED (1L << 15)