CCIO_IO_PDIR_ENTRY

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

ccio_io_pdir_entry - Initialize an I/O Pdir.  

SYNOPSIS

"SYNOPSIS"

void CCIO_INLINE ccio_io_pdir_entry (u64 * pdir_ptr, space_t sid, void * vba, unsigned long hints);  

ARGUMENTS

pdir_ptr
A pointer into I/O Pdir.
sid
The Space Identifier.
vba
The virtual address.
hints
The DMA Hint.
 

DESCRIPTION

Given a virtual address (vba, arg2) and space id, (sid, arg1), load the I/O PDIR entry pointed to by pdir_ptr (arg0). Each IO Pdir entry consists of 8 bytes as shown below (MSB == bit 0):  

WORD 0

+------+----------------+-----------------------------------------------+ | Phys | Virtual Index | Phys | | 0:3 | 0:11 | 4:19 | |4 bits| 12 bits | 16 bits | +------+----------------+-----------------------------------------------+  

WORD 1

+-----------------------+-----------------------------------------------+ | Phys | Rsvd | Prefetch |Update |Rsvd |Lock |Safe |Valid | | 20:39 | | Enable |Enable | |Enable|DMA | | | 20 bits | 5 bits | 1 bit |1 bit |2 bits|1 bit |1 bit |1 bit | +-----------------------+-----------------------------------------------+

The virtual index field is filled with the results of the LCI (Load Coherence Index) instruction. The 8 bits used for the virtual  

INDEX ARE BITS 12

19 of the value returned by LCI.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
WORD 0
WORD 1
INDEX ARE BITS 12

This document was created by man2html, using the manual pages.
Time: 05:30:26 GMT, October 06, 2005