IocGetWaitbase -> IocChannelGetWaitbaseCommand
This commit is contained in:
@@ -32,7 +32,7 @@ u32 nvhost_gpu::ioctl(Ioctl command, const std::vector<u8>& input, std::vector<u
|
|||||||
return AllocGPFIFOEx2(input, output);
|
return AllocGPFIFOEx2(input, output);
|
||||||
case IoctlCommand::IocAllocObjCtxCommand:
|
case IoctlCommand::IocAllocObjCtxCommand:
|
||||||
return AllocateObjectContext(input, output);
|
return AllocateObjectContext(input, output);
|
||||||
case IoctlCommand::IocGetWaitbase:
|
case IoctlCommand::IocChannelGetWaitbaseCommand:
|
||||||
return GetWaitbase(input, output);
|
return GetWaitbase(input, output);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -144,7 +144,7 @@ u32 nvhost_gpu::GetWaitbase(const std::vector<u8>& input, std::vector<u8>& outpu
|
|||||||
IoctlGetWaitbase params{};
|
IoctlGetWaitbase params{};
|
||||||
std::memcpy(¶ms, input.data(), sizeof(IoctlGetWaitbase));
|
std::memcpy(¶ms, input.data(), sizeof(IoctlGetWaitbase));
|
||||||
NGLOG_INFO(Service_NVDRV, "called, unknown={:X}", params.unknown);
|
NGLOG_INFO(Service_NVDRV, "called, unknown={:X}", params.unknown);
|
||||||
params.value = 0; // Seems to be hard coded at 0
|
params.value = 0; // Seems to be hard coded at 0str
|
||||||
std::memcpy(output.data(), ¶ms, output.size());
|
std::memcpy(output.data(), ¶ms, output.size());
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ private:
|
|||||||
IocChannelSetPriorityCommand = 0x4004480D,
|
IocChannelSetPriorityCommand = 0x4004480D,
|
||||||
IocAllocGPFIFOEx2Command = 0xC020481A,
|
IocAllocGPFIFOEx2Command = 0xC020481A,
|
||||||
IocAllocObjCtxCommand = 0xC0104809,
|
IocAllocObjCtxCommand = 0xC0104809,
|
||||||
IocGetWaitbase = 0xC0080003,
|
IocChannelGetWaitbaseCommand = 0xC0080003,
|
||||||
};
|
};
|
||||||
|
|
||||||
enum class CtxObjects : u32_le {
|
enum class CtxObjects : u32_le {
|
||||||
|
|||||||
Reference in New Issue
Block a user