.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "SBA_IO_PDIR_ENTRY" "9" "09 October 2005" "" "" .SH NAME sba_io_pdir_entry \- fill in one IO PDIR entry .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp sba_io_pdir_entry ( \fIpdir_ptr\fB, \fIvba\fB); \fR .SH "ARGUMENTS" .TP \fB\fIpdir_ptr\fB\fR pointer to IO PDIR entry .TP \fB\fIvba\fB\fR Virtual CPU address of buffer to map .SH "DESCRIPTION" .PP SBA Mapping Routine .PP Given a virtual address (vba, arg1) \fBsba_io_pdir_entry\fR loads the I/O PDIR entry pointed to by pdir_ptr (arg0). Each IO Pdir entry consists of 8 bytes as shown below (LSB == bit 0): .PP 63 40 11 7 0 +-+---------------------+----------------------------------+----+--------+ |V| U | PPN[39:12] | U | FF | +-+---------------------+----------------------------------+----+--------+ .PP V == Valid Bit U == Unused PPN == Physical Page Number .PP The physical address fields are filled with the results of \fBvirt_to_phys\fR on the vba.