Jungo WinDriver  
Official Documentation

◆ WD_ITEM_MEM_P2P_ENABLE

WD_ITEM_MEM_P2P_ENABLE (   memItem,
  size,
  offset 
)
Value:
do { \
(memItem).dwOptions |= WD_ITEM_MEM_P2P_MAP; \
WD_ITEM_MEM_P2P_2MB_BLOCKS_COUNT_SET_SIZE((memItem).dwOptions, size); \
(memItem).pReserved = (KPTR)offset; \
} while (0)
@ WD_ITEM_MEM_P2P_MAP
Enable peer-to-peer memory mapping for a memory item.
Definition: windrvr.h:761
UINT32 KPTR
Definition: windrvr.h:381

Enable peer-to-peer memory mapping for a memory item.

Parameters
memItemThe memory item to enable peer-to-peer mapping for.
sizeThe size of the peer-to-peer mapping in multiples of 2MB. 1 means 2MB, 2 means 4MB, 3 means 6MB, etc.
offsetThe offset in the memory item to start the peer-to-peer mapping.
Note
memItem.pReserved holds the P2P offset when opening the device. After the device is opened, this field is reserved for internal use only.

Definition at line 787 of file windrvr.h.