c5cb6b1cac
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@274 6ac86273-5f31-0410-b378-82cca8765d1b
20 lines
460 B
C
20 lines
460 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
|
|
*/
|
|
|
|
void far *DynAlloc(char *what, unsigned num, unsigned size);
|
|
void far *DynLast(void);
|
|
void DynFree(void *ptr);
|
|
|
|
struct DynS {
|
|
unsigned Allocated;
|
|
char Buffer[0];
|
|
};
|