bunnei/citra — pull request #1 by bunnei (2014-04-13 22:49:19+00:00)
Title: Hle interface

Start of HLE framework. Nintendo provides application developers with an API, which behind the scenes communicates with certain services. Services in this sense are system processes running in the background which wait for incoming requests. Services run on the OS syscore (e.g. "srv", "apt", etc.). Apps can connect to the services using an IPC mechanism facilitating by the ARM11 supervisor (SVC) instruction to invoke syscalls.

We're only emulating the application core in hardware, and HLE'ing the interface to the syscore. I've implemented enough that we can intercept the initial calls to bind and synchronize with SRV and APT services. This is very early on, but before I get to far I'd like others to review the framework/give suggestions to improve it, as I will be implementing more of these services (and others) soon.