Making sure shim calls are cdecl.

This commit is contained in:
Ben Vanik
2013-05-23 01:04:14 -07:00
parent 426fccdbb4
commit 4495637616
7 changed files with 34 additions and 31 deletions

View File

@@ -21,7 +21,7 @@ using namespace xe::kernel::xboxkrnl;
namespace {
void NtAllocateVirtualMemory_shim(
SHIM_CALL NtAllocateVirtualMemory_shim(
xe_ppc_state_t* ppc_state, KernelState* state) {
// NTSTATUS
// _Inout_ PVOID *BaseAddress,
@@ -96,7 +96,7 @@ void NtAllocateVirtualMemory_shim(
SHIM_SET_RETURN(X_STATUS_SUCCESS);
}
void NtFreeVirtualMemory_shim(
SHIM_CALL NtFreeVirtualMemory_shim(
xe_ppc_state_t* ppc_state, KernelState* state) {
// NTSTATUS
// _Inout_ PVOID *BaseAddress,