executeCommand
Makes a C function call through the command gate.
Declaration
virtual IOReturn executeCommand(
OSObject *client,
Action action,
void *target,
void *param0 = 0,
void *param1 = 0,
void *param2 = 0,
void *param3 = 0);Parameters
- client:
The client requesting the action. This parameter is not passed to the function.
- action:
Pointer to a C function to be executed.
- target:
The first parameter in the action callout.
- param0:
Action parameter 0.
- param1:
Action parameter 1.
- param2:
Action parameter 2.
- param3:
Action parameter 3.
Return Value
Returns the value returned by the action.
Overview
This method makes a call to a C function that will be synchronized with the workloop thread, and any other threads that are called with the workloop's gate closed.
See Also
Miscellaneous
allocatePacketattachDebuggerClientattachInterfaceconfigureInterfacecopyMediumDictionarycopyPacketcreateInterfacecreateOutputQueuecreateWorkLoopdetachDebuggerClientdetachInterfacedisabledisable(IONetworkInterface *)disable(IOService *)disablePacketFilterdoDisabledoEnableenableenable(IONetworkInterface *)enable(IOService *)enablePacketFilterfreefreePacketgetChecksumDemandgetChecksumSupportgetCommandClientgetCommandGategetDebuggerLinkStatusgetFeaturesgetHardwareAddressgetMaxPacketSizegetMediumDictionarygetMinPacketSizegetOutputHandlergetOutputQueuegetPacketBufferConstraintsgetPacketFiltersgetSelectedMediumhandleClosehandleIsOpenhandleOpeninitmessagenewModelStringnewRevisionStringnewVendorStringoutputPacketpreparepublishMediumDictionarypublishPropertiesreceivePacketregisterWithPolicyMakerreleaseDebuggerLockreleaseFreePacketsreplaceOrCopyPacketreplacePacketreserveDebuggerLockselectMediumselectMediumWithNamesendPacketsetChecksumResultsetDebuggerModesetHardwareAddresssetLinkStatussetMaxPacketSizesetSelectedMediumstartstopsystemWillShutdown