Converting more kernel methods to the new style.
This commit is contained in:
@@ -85,6 +85,7 @@ X_STATUS xeNtAllocateVirtualMemory(
|
||||
return X_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
// TODO(benvanik): remove state parameter.
|
||||
SHIM_CALL NtAllocateVirtualMemory_shim(
|
||||
xe_ppc_state_t* ppc_state, KernelState* state) {
|
||||
@@ -113,6 +114,7 @@ SHIM_CALL NtAllocateVirtualMemory_shim(
|
||||
SHIM_SET_RETURN(result);
|
||||
}
|
||||
|
||||
|
||||
X_STATUS xeNtFreeVirtualMemory(
|
||||
uint32_t* base_addr_ptr, uint32_t* region_size_ptr,
|
||||
uint32_t free_type, uint32_t unknown) {
|
||||
@@ -145,6 +147,7 @@ X_STATUS xeNtFreeVirtualMemory(
|
||||
return X_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
SHIM_CALL NtFreeVirtualMemory_shim(
|
||||
xe_ppc_state_t* ppc_state, KernelState* state) {
|
||||
uint32_t base_addr_ptr = SHIM_GET_ARG_32(0);
|
||||
|
||||
Reference in New Issue
Block a user