ryujinx-mirror/Ryujinx.HLE/HOS
Thomas Guillemard 9426ef3f06 Rewrite nvservices (#800)
* Start rewriting nvservices internals

TODO:

- nvgpu device interface
- nvhost generic device interface

* Some clean up and fixes

- Make sure to remove the fd of a closed channel.
- NvFileDevice now doesn't implement Disposable as it was never used.
- Rename NvHostCtrlGetConfigurationArgument to GetConfigurationArguments
to follow calling convention.
- Make sure to check every ioctls magic.

* Finalize migration for ioctl standard variant

TODO: ioctl2 migration

* Implement SubmitGpfifoEx and fix nvdec

* Implement Ioctl3

* Implement some ioctl3 required by recent games

* Remove unused code and outdated comments

* Return valid event handles with QueryEvent

Also add an exception for unimplemented event ids.

This commit doesn't implement accurately the events, this only define
different events for different event ids.

* Rename all occurance of FileDevice to DeviceFile

* Restub SetClientPid to not cause regressions

* Address comments

* Remove GlobalStateTable

* Address comments

* Align variables in ioctl3

* Some missing alignments

* GetVaRegionsArguments realign

* Make Owner public in NvDeviceFile

* Address LDj3SNuD's comments
2019-11-03 09:47:56 +11:00
..
Diagnostics/Demangler Misc cleanup (#708) 2019-07-02 04:39:22 +02:00
Font Update to LibHac 0.6.0 (#792) 2019-10-17 08:17:44 +02:00
Ipc .NET Core 3.0 is here! (#784) 2019-10-31 19:09:03 +01:00
Kernel .NET Core 3.0 is here! (#784) 2019-10-31 19:09:03 +01:00
Services Rewrite nvservices (#800) 2019-11-03 09:47:56 +11:00
SystemState Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Homebrew.cs .NET Core 3.0 is here! (#784) 2019-10-31 19:09:03 +01:00
HomebrewRomFsStream.cs Misc cleanup (#708) 2019-07-02 04:39:22 +02:00
Horizon.cs .NET Core 3.0 is here! (#784) 2019-10-31 19:09:03 +01:00
IdDictionary.cs Adjust naming conventions and general refactoring in HLE Project (#527) 2018-12-06 09:16:24 -02:00
ProgramLoader.cs Add a new JIT compiler for CPU code (#693) 2019-08-08 21:56:22 +03:00
ResultCode.cs Refactoring result codes (#731) 2019-07-14 16:04:38 -03:00
ServiceCtx.cs .NET Core 3.0 is here! (#784) 2019-10-31 19:09:03 +01:00