Rewrite SVC handler using source generators rather than IL emit (#3371)

* Implement syscall handlers using a source generator

* Copy FlushProcessDataCache implementation to Syscall since it was only implemented on Syscall32

* Fix wrong argument order in some syscalls

* Delete old Reflection.Emit based syscall handling code

* Improvements to the code generation

* ControlCodeMemory address and size is always 64-bit
This commit is contained in:
gdkchan 2022-05-31 17:12:46 -03:00 committed by GitHub
parent d15d1d60f4
commit 6415034fd3
16 changed files with 845 additions and 1553 deletions

View file

@ -0,0 +1,9 @@
using System;
namespace Ryujinx.HLE.HOS.Kernel.SupervisorCall
{
[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
class PointerSizedAttribute : Attribute
{
}
}