nvservices: Reintroducee IoctlCtrl

Fixes regression caused by #4907 which caused games like Breath of the Wild 1.0.0 not to boot.
This commit is contained in:
Chloe Marcec
2020-11-24 16:40:23 +11:00
parent d04abd39eb
commit ab25d1fe9a
24 changed files with 212 additions and 89 deletions

View File

@ -97,4 +97,15 @@ union Ioctl {
BitField<31, 1, u32> is_out;
};
struct IoctlCtrl {
// First call done to the servioce for services that call itself again after a call.
bool fresh_call{true};
// Tells the Ioctl Wrapper that it must delay the IPC response and send the thread to sleep
bool must_delay{};
// Timeout for the delay
s64 timeout{};
// NV Event Id
s32 event_id{-1};
};
} // namespace Service::Nvidia