vm: fix initial process memory name

This commit is contained in:
DH 2024-09-01 18:52:32 +03:00
parent b17bf677e5
commit df3a2d36d2
4 changed files with 18 additions and 13 deletions

View file

@ -1032,8 +1032,8 @@ int main(int argc, const char *argv[]) {
auto memory = amdgpu::RemoteMemory{process.vmId};
rx::mem::protect(memory.getPointer(cmd.memoryProt.address),
cmd.memoryProt.size, cmd.memoryProt.prot >> 4);
device.handleProtectMemory(memory, cmd.mapMemory.address,
cmd.mapMemory.size, cmd.mapMemory.prot);
device.handleProtectMemory(memory, cmd.memoryProt.address,
cmd.memoryProt.size, cmd.memoryProt.prot);
}
break;
}