Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ xlat(D2I) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought






       xlat(D2I)                                                  xlat(D2I)


       NAME
             xlat - perform virtual to physical translation on SCSI command
             block

       SYNOPSIS
             int prefixxlat(struct hbadata *hbap, int b_flags, struct proc *procp, int flag);

          Arguments
             hbap  A pointer to the SCSI command block requiring
                   translation.

             flag  The b_flags member of the buf_t (buffer header)
                   structure.

             procp Pointer to the process structure.

             flag  Indicates whether the translation may sleep or not and
                   is set to KM_SLEEP or KM_NOSLEEP.

       DESCRIPTION
             This entry point is for Host Bus Adapter (HBA) drivers.  xlat
             enables HBA drivers to translate SCSI command block virtual
             addresses to physical addresses.  Because many HBA devices
             require the physical address of the command block, this
             routine allows each HBA driver to facilitate its own needs in
             performing this translation.

          Return Values
             On success, xlat returns SDI_RET_OK.  On failure, it returns
             SDI_RET_ERR.

       USAGE
             The arguments passed to xlat are struct hbadata *, the buffer
             flags, the proc pointer, and a sleep flag.  Depending on the
             type of I/O (determined by the flags), the proc pointer is
             used for vtop(D3) from virtual to physical addresses.

          Level
             Base only.

       REFERENCES
             vtop(D3)

       NOTICES




                           Copyright 1994 Novell, Inc.               Page 1













      xlat(D2I)                                                  xlat(D2I)


         Applicability
            sdi: 1, 2














































                          Copyright 1994 Novell, Inc.               Page 2








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