SCO OpenServer
startio(D3oddi)
startio --
run start(D2oddi) routine from another processor
Syntax
#include <sys/ci/cidriver.h>
int startio(int xxhandle, int arg);
Description
The startio function interrupts a processor
that can access the I/O bus
and instructs it to run the
start(D2oddi)
routine
pointed to by xxhandle.
startio( )
should be preceded by a call to
can_doio(D3oddi)
to determine whether the current processor can access the
I/O bus.
Arguments
xxhandle-
Indicates a slot in an interrupt handler table,
and is returned by a previous call to
intralloc(D3oddi).
arg-
Any argument that may be passed to
the
start(D2oddi)
routine.
If more than one argument is required,
pass a pointer to a structure in arg.
Return values
None
Usage
Context and synchronization
Non-blockable
context.
The startio routine must never be run from a critical code
section that is enclosed within calls to
lockb(D3oddi)
and
unlockb(D3oddi).
Hardware applicability
All
Version applicability
oddi:
2mp, 3mp, 4mp, 5mp, 6mp
Differences between versions
This function is not supported in DDI.
References
can_doio(D3oddi),
intralloc(D3oddi),
lockb(D3oddi),
start(D2oddi),
unlockb(D3oddi)
Examples
Refer to
can_doio(D3oddi)
for an example of how to use startio.
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 5 HDK - June 2005