HSIOPEN(3H) — MISC REFERENCE MANUAL PAGES
NAME
HsiOpen− obtain access to High-Speed Interface
HsiReset− reset High-Speed Interface
HsiClose− relinquish access to High-Speed Interface
SYNOPSIS
#include <hsidefs.h>
HSIDEV ∗HsiOpen(unit)
int unit;
void HsiReset(hsi)
HSIDEV ∗hsi;
void HsiClose(hsi)
HSIDEV ∗hsi;
DESCRIPTION
HsiOpen obtains access to a Pixar High-Speed Interface and maps the 32-bit and 16-bit data windows into the user program’s address space. The unit argument signifies which HSI device to use. Its range is from 0 to the number of HSI devices minus one.
HsiReset resets the specified HSI, placing it in an idle state and abruptly terminating the current transaction. All libhsi subroutines that initiate HSI operations (for example, HsiSendMem) implicitly reset the HSI before taking any other action.
HsiClose relinquishes access to an HSI device previously opened with HsiOpen.
RETURN VALUE
If the specified HSI device is available, HsiOpen returns a pointer to context information for the HSI; this pointer is used as an argument to other libhsi routines. If the HSI is not available, 0 is returned, and the global variable errno reflects the reason for the failure.
SEE ALSO
HSI Tutorial
Sun Release 4.1 — Last change: