| C T L _ U N M _ R E S
| | | | | SOURCE: qdev_structures.txt 1.10 (15/08/2014) English struct ctl_unm_res
{
struct Library ur_lib;
struct Interrupt ur_is;
void (*ur_devhan)(
REGARG(struct MsgPort *, a1));
ULONG (*ur_inject)(REGARG(ULONG, d0),
REGARG(void *, a1));
UBYTE ur_name[QDEV_CTL_PRV_RNAMELEN];
};
ur_lib - Dummy packet handler resource structure that will be created as
soon as something needs to be unmounted forcibly.
ur_is - Interrupt skeleton that carries dummy packet handler pointer.
ur_devhan
- Dummy packet handler itself. Current implementation tries to be
comaptible with most filesystems around.
ur_inject
- Process exit injection function. When put into tc_ExceptCode
and when tc_ExceptData = (APTR)((ULONG)pr->pr_ReturnAddr - 4)
can terminate the process at any point without major quirks. Of
course exception stuff must be prepared!
ur_name - Buffer space to store the name of this resource. The text is
NULL terminated.
| |
| |