sba_io_pdir_entry ( pdir_ptr, vba);
SBA Mapping Routine
Given a virtual address (vba, arg1) sba_io_pdir_entry 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):
63 40 11 7 0 +-+---------------------+----------------------------------+----+--------+ |V| U | PPN[39:12] | U | FF | +-+---------------------+----------------------------------+----+--------+
V == Valid Bit U == Unused PPN == Physical Page Number
The physical address fields are filled with the results of virt_to_phys on the vba.