|
| | | | M O D _ A D E _ F E E D
| | | | | SOURCE: qdev_structures.txt 1.10 (15/08/2014) English struct mod_ade_feed
{
ULONG af_memflags;
ULONG af_memstart;
ULONG af_memend;
UBYTE *af_dataptr;
LONG af_datalen;
ULONG af_rtflags;
UBYTE af_type;
BYTE af_pri;
UBYTE af_ver;
UBYTE *af_nameptr;
UBYTE *af_idstrptr;
};
af_memflags
- Standard memory flags such as MEMF_CHIP or MEMF_PUBLIC or
MEMF_LOCAL along with MEMF_CLEAR.
af_memstart
- Physical start address of possible allocation. This should be
start of the memory node but can be approximated absolute start
of memory region. Use QDEV_MOD_ADE_#? macros.
af_memend
- Physical end address of possible allocation. State where the
range ends. Use QDEV_MOD_ADE_#? macros.
af_dataptr
- Pointer to data you want the module to carry. Pass NULL if no
data nor code. On success address this member carries will
change to point at the module data/space!
af_datalen
- Length of that data or length to just allocate the space if
af_dataptr is NULL. Pass 0 if no allocation is to be made.
af_rtflags
- Standard Resident flags to put in the info/control block. This
is typically to be RTF_COLDSTART.
af_type - NT_xxx type of the object, can be anything you like.
af_pri - Priority of the module. This really matters when bootstrapping.
You must know when your module can be initialized. Use some
system monitor to study all modules in the OS. Usually 0.
af_ver - Standard version notation.
af_nameptr
- Name of your module. On success address this member carries
will change to point at the name in the module!
af_idstrptr
- Identification string your module will get. Can be NULL. On
success address this member carries will change to point at the
ID string in the module!
| |
| | | | |
|