Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ HsiDW(3H) — Pixar HSI 1.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

HsiOpen(3H)

HsiSetup(3H)

HSIDW(3H)  —  MISC REFERENCE MANUAL PAGES

NAME

HsiDW32Addr− return address of HSI 32-bit data window
HsiDW16Addr− return address of HSI 16-bit data window
HsiDWSize− return size of HSI data window in bytes
HsiSetDWSize− set size of HSI data window
HsiMaxDWSize− return maximum permissible HSI data window size

SYNOPSIS

#include <hsidefs.h>

unsigned long ∗HsiDW32Addr(hsi)
HSIDEV ∗hsi;

unsigned short ∗HsiDW16Addr(hsi)
HSIDEV ∗hsi;

int HsiDWSize(hsi)
HSIDEV ∗hsi;

int HsiSetDWSize(hsi, newsize)
HSIDEV ∗hsi;
int newsize;

int HsiMaxDWSize(hsi)
HSIDEV ∗hsi;

DESCRIPTION

HsiDW32Addr returns the address of the 32-bit data window for the specified HSI.  The 32-bit data window is an array of unsigned long values, whose dimension is given by the formula

HsiDWSize(hsi) / sizeof (unsigned long)

HsiDW16Addr returns the address of the 16-bit data window for the specified HSI.  The 16-bit data window is an array of unsigned short values, whose dimension is given by the formula

HsiDWSize(hsi) / sizeof (unsigned short)

HsiDWSize returns the size in bytes of the data windows of the specified HSI.  Both the 32-bit and the 16-bit data windows are the same length in bytes.  The size of the data window is determined by the system software administrator when building the UNIX kernel. 

HsiSetDWSize sets the size of the data window to be newsize bytes.  Newsize must be positive and must not exceed the value returned by HsiMaxDWSize. If HsiSetDWSize succeeds, it returns 0.  If it fails, it returns -1, and the data window cannot be accessed until a subsequent successful call to HsiSetDWSize is made, or until the HSI is closed and reopened. 

SEE ALSO

HsiOpen(3H), HsiSetup(3H)

HSI Tutorial

Sun Release 4.1  —  Last change:

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026