The DriverOSRuntime structure contains information that controls how the driver is used at run time.
struct DriverOSRuntime {
RuntimeOptions driverRuntime;
Str31 driverName;
UInt32 driverDescReserved[8];
};
typedef OptionBits RuntimeOptions;
typedef struct DriverOSRuntime DriverOSRuntime;
typedef struct DriverOSRuntime *DriverOSRuntimePtr;
enum { /* DriverOSRuntime bit constants */
kDriverIsLoadedUponDiscovery = 1, /* auto-load driver */
/* when discovered */
kDriverIsOpenedUponLoad = 2, /* auto-open driver */
/* when it is loaded */
kDriverIsUnderExpertControl = 4, /* I/O expert handles */
/* loads and opens */
kDriverIsConcurrent = 8, /* supports concurrent */
/* requests */
kDriverQueuesIOPB = 0x10 /* Device Manager */
/* shouldn't */
/* queue IOPB */
};
Field descriptions