kernel/kernel/dyndata.h
Luchezar Georgiev 79720273dc break.c: check_handle_break() return type was undefined if no Ctrl-break
dosnames.c: macro to function conversion, optimisation and clean-up
dyninit.c:  "what" passed to the DynAlloc() function only in DEBUG mode
inithma.c:  InstallVDISK() function inlined, optimised and cleaned up
prf.c:      fixed long argument bug introduced in the previous optimisation


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/branches/UNSTABLE@1035 6ac86273-5f31-0410-b378-82cca8765d1b
2004-09-11 15:52:57 +00:00

26 lines
587 B
C

/*
DynData.h
declarations for dynamic NEAR data allocations
the DynBuffer must initially be large enough to hold
the PreConfig data.
after the disksystem has been initialized, the kernel is
moveable and Dyn.Buffer resizable, but not before
*/
#ifdef DEBUG
void far *DynAlloc(char *what, unsigned num, unsigned size);
#else
void far *_DynAlloc(unsigned num, unsigned size);
#define DynAlloc(what, num, size) (_DynAlloc((num), (size)))
#endif
void far *DynLast(void);
void DynFree(void *ptr);
struct DynS {
unsigned Allocated;
char Buffer[1];
};