Map a DMA region for the specified device.
result = lv1_map_device_dma_region( /*IN*/ bus_id, dev_id, lpar_addr, dma_region, size, flags );
| Inputs | |
|---|---|
| Register | Description |
| R3 | bus_id - bus id |
| R4 | dev_id - device id |
| R5 | lpar_addr - logical partition address |
| R6 | dma_region - dma region address |
| R7 | size - region size |
| R8 | flags - see notes |
| Outputs | |
| Register | Description |
| R3 | Status - 0 = OK, Other values are unknown, but indicate failure. |
Notes:
In “mm.c” and “ps3_storage.c”, flags parameter is always specified as 0xf800000000000000UL. They are the same flags as the IOPTE entry ones.