kernel: use KTypedAddress for addresses

This commit is contained in:
Liam
2023-03-17 21:26:04 -04:00
parent 6d76a54d37
commit fb49ec19c1
101 changed files with 1574 additions and 1102 deletions

View File

@ -195,7 +195,7 @@ public:
}
// Set up the configuration with the required TransferMemory address
configuration.transfer_memory.offset = tmem->GetSourceAddress();
configuration.transfer_memory.offset = GetInteger(tmem->GetSourceAddress());
configuration.transfer_memory.size = tmem_size;
// Gather up all the callbacks from the loaded plugin
@ -383,12 +383,12 @@ public:
}
const CodeRange user_rx{
.offset = rx_mem->GetSourceAddress(),
.offset = GetInteger(rx_mem->GetSourceAddress()),
.size = parameters.rx_size,
};
const CodeRange user_ro{
.offset = ro_mem->GetSourceAddress(),
.offset = GetInteger(ro_mem->GetSourceAddress()),
.size = parameters.ro_size,
};