PATH 
ADC Home > Documentation > Hardware > Device Managers and Drivers > PCI Card Services > Designing PCI Cards and Drivers for Power Macintosh Computers


  

DCE Flags

DCE bit 2 indicates that a driver supports the driver gestalt interface defined in the next section. The complete list of DCE bits in the dCtlflags word is given in Table 8-4.

Table 8-4 DCE bits in dCtlflags word 

Name

Value

Description

VMImmune 0 This bit indicates that your device driver is VM safe.
reserved 1 This bit is reserved.
kmDriverGestaltEnableMask 2 This bit is set if the driver supports the Driver Gestalt mechanism.
Native Driver 3 Set if the driver is a native driver (ndrv). The system sets this bit when it loads your native driver.
Concurrent 4 Set if the native driver supports concurrent operation. When loading a native driver, the system sets this bit based on the kDriverIsConcurrent field of the driverOSRuntimeInfo.driverRuntime field of your DriverDescription.
dOpenedMask 5 This bit is set if the driver is open.
dRAMBasedMask 6 (Not used with native drivers) This bit is set if the dCtlDriver field is a DRVRHeaderHandle rather than aDRVRHeaderPtr.
drvrActiveMask 7 This bit is set if the driver is currently processing a request.
dReadEnableMask 8 This bit is set if the driver handles _Read requests.
dWriteEnableMask 9 This bit is set if the driver handles _Write requests.
dCtlEnableMask 10 This bit is set if the driver handles _Control requests.
dStatEnableMask 11 This bit is set if the driver handles _Status requests.
dNeedGoodbyeMask 12 This bit is set if the driver needs a "goodbye" _Control call before the application heap is reinitialized.
dNeedTimeMask 13 This bit is set if the driver wants periodic SystemTask time through the "accRun" _Control call.
dNeedLockMask 14 This bit is set if the driver requires that its DCE and code be locked at all times while the driver is open.
reserved 15 This bit is reserved.

© 1999 Apple Computer, Inc. – (Last Updated 26 March 99)