yuzu-fork/src/core/hle/service
Lioncash 0cbcd6ec9a kernel: Eliminate kernel global state
As means to pave the way for getting rid of global state within core,
This eliminates kernel global state by removing all globals. Instead
this introduces a KernelCore class which acts as a kernel instance. This
instance lives in the System class, which keeps its lifetime contained
to the lifetime of the System class.

This also forces the kernel types to actually interact with the main
kernel instance itself instead of having transient kernel state placed
all over several translation units, keeping everything together. It also
has a nice consequence of making dependencies much more explicit.

This also makes our initialization a tad bit more correct. Previously we
were creating a kernel process before the actual kernel was initialized,
which doesn't really make much sense.

The KernelCore class itself follows the PImpl idiom, which allows
keeping all the implementation details sealed away from everything else,
which forces the use of the exposed API and allows us to avoid any
unnecessary inclusions within the main kernel header.
2018-08-28 22:31:51 -04:00
..
acc acc: Replace profile_manager include with a forward declaration 2018-08-20 19:48:57 -04:00
am kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
aoc Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
apm service/apm: Add the apm:sys service 2018-08-07 10:05:26 -04:00
arp service: Add arp services 2018-08-04 18:01:12 -04:00
audio kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
bcat hle/service: Make constructors explicit where applicable 2018-07-19 12:25:02 -04:00
bpc service: Add bpc and pcv services 2018-08-01 16:13:04 -04:00
btdrv service: Add the btdrv service 2018-07-26 18:06:17 -04:00
btm service/btm: Add basic implementation of GetCoreImpl() 2018-07-28 21:09:07 -04:00
caps service: Add capture services 2018-08-01 16:45:51 -04:00
erpt service: Add the erpt services 2018-07-25 22:13:39 -04:00
es service: Add the es service 2018-07-25 15:36:55 -04:00
eupld service: Add eupld services 2018-07-25 22:13:43 -04:00
fatal hle/service: Make constructors explicit where applicable 2018-07-19 12:25:02 -04:00
fgm service: Add fgm services 2018-07-31 08:01:19 -04:00
filesystem Merge pull request #1166 from lioncash/typo 2018-08-25 07:19:46 -05:00
friend Stub UpdateUserPresence 2018-08-12 14:00:44 +10:00
grc service: Add the grc:c service 2018-07-26 09:53:58 -04:00
hid kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
lbl service/lbl: Implement EnableVrMode, DisableVrMode and GetVrMode 2018-07-27 14:20:42 -04:00
ldn service: Add ldn services 2018-07-26 01:48:06 -04:00
ldr service: Add ldr services 2018-07-25 23:11:03 -04:00
lm lm: Use LOG_DEBUG for printing out trace logs 2018-08-15 01:07:41 -04:00
mig service: Add migration services 2018-08-02 10:09:45 -04:00
mii service: Add mii services 2018-07-27 16:01:29 -04:00
mm mm_u: Forward all old variants of functions to the new ones 2018-08-13 18:59:10 -04:00
ncm service: Add ncm services 2018-07-27 17:38:30 -04:00
nfc service/nfc: Implement Create[x]Interface functions 2018-07-27 15:12:08 -04:00
nfp kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
nifm kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
nim service: Add the nim services 2018-07-26 02:47:06 -04:00
ns kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
nvdrv kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
nvflinger kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
pcie service: Add the pcie service 2018-07-31 06:40:21 -04:00
pctl Added CheckFreeCommunicationPermission 2018-08-20 18:14:49 +10:00
pcv service: Add bpc and pcv services 2018-08-01 16:13:04 -04:00
pm Added GetBootMode (#1107) 2018-08-23 18:31:45 -04:00
prepo service/prepo: Add missing header guard 2018-07-18 19:43:28 -04:00
psc service: Add psc services 2018-08-01 23:31:27 -04:00
set set: Fixed GetAvailableLanguageCodes() to follow the max_entries 2018-08-26 00:11:13 -07:00
sm kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
sockets service/sockets: Add ethc:c and ethc:i services 2018-07-26 01:07:21 -04:00
spl hle/service: Make constructors explicit where applicable 2018-07-19 12:25:02 -04:00
ssl Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
time service/time: Amend command IDs of ToPosixTime() and ToPosixTimeWithMyRule() 2018-08-07 03:18:07 -04:00
usb service: Add usb services 2018-08-07 03:14:03 -04:00
vi vi: Add std::is_trivially_copyable checks to Read and Write functions 2018-07-23 14:53:54 -04:00
wlan service: Add wlan services 2018-07-28 21:54:55 -04:00
service.cpp kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
service.h vfs: Make type hierarchy objects classes instead of structs 2018-08-12 16:55:40 -04:00