SCO OpenServer
mdi_isdma(D3mdi)
mdi_isdma --
determine if all processors can do device I/O
Synopsis (Not in SVR5 version)
int mdi_isdma(u_char *vstart);
Description
The
mdi_isdma( )
function tests whether the buffer
whose start is pointed to by vstart
is within the first 16 megabytes of memory.
Arguments
vstart-
Starting address of the buffer to be tested.
Return values
Usage
Context and synchronization
Blockable
context.
Hardware applicability
All
Version applicability
mdi:
1
Differences between versions
This function is not supported in MDI on SVR5
systems.
Return values
mdi_isdma( )
returns 1 if the buffer is in DMAable memory
(under 16 Mb),
or 0 if not.
References
mdi_dma_allocb(D3mdi),
mdi_end_of_contig_segment(D3mdi),
msgscgth(D3str)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005