| M O D _ K T L _ H E A D
| | | | | SOURCE: qdev_structures.txt 1.10 (15/08/2014) English struct mod_ktl_head
{
struct MemChunk kh_mc;
ULONG *kh_ar[2];
struct Resident kh_rt;
struct MemList kh_ml;
};
kh_mc - Absolute allocation memory mark aka MemChunk. This will be used
by the bootstrap to reallocate this block.
kh_ar - Local singly linked, double node scrambling. In effect after
linking against OS chains([0] - Resident, [1] - Next entry).
kh_rt - Resident module node area, the control/info block. You must use
this field regardless of already prepared block! Just make a
copy and NULL the old one out.
kh_ml - MemoryList that will carry this very memory block. This is done
when linking the module against OS chains with module related
functions. Warning, the use of QDEV_MEM_REGALIGN() macro is a
must before ever allocating the memory!
| |
| |