Add API entrypoints for Cross Memory Attach

Implement two new API for cross memory read and write operation.
 - hsaKmtProcessVMRead
 - hsaKmtProcessVMWrite

Add new ioclts necessary for the above APIs.

Change-Id: I0c153e3b4e1f32b7a8b102ad5c774d9ae9bfc2fa
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
This commit is contained in:
Harish Kasiviswanathan
2017-01-27 18:10:24 -05:00
szülő b3c3f7bae1
commit e79521b556
5 fájl változott, egészen pontosan 158 új sor hozzáadva és 1 régi sor törölve
+5
Fájl megtekintése
@@ -1008,6 +1008,11 @@ typedef struct _HsaPointerInfo {
typedef HSAuint32 HsaSharedMemoryHandle[8];
typedef struct _HsaMemoryRange {
void *MemoryAddress; // Pointer to GPU memory
HSAuint64 SizeInBytes; // Size of above memory
} HsaMemoryRange;
#pragma pack(pop, hsakmttypes_h)