Liam
9863db9db4
kernel: convert KProcess to new style
3 years ago
Liam
6bfb4c8f71
kernel: convert KThread to new style
3 years ago
Liam
ac6cbb7134
kernel: prefer std::addressof
3 years ago
Liam
641783df8f
kernel: convert KResourceLimit
3 years ago
Liam
c0b9e93b77
kernel: remove kernel_
3 years ago
Liam
9368e17a92
kernel: remove gratitutous attribute usage
3 years ago
Liam
91fd4e30f2
kernel/svc: convert to new style
3 years ago
Liam
57f1d8ef8d
kernel: convert miscellaneous
3 years ago
Liam
d1b53c8d82
kernel: conver KScopedLock, KScopedResourceReservation, KSessionRequest, KSharedMemory, KSpinLock
3 years ago
Liam
7322c99e5f
kernel: convert KAbstractSchedulerLock
3 years ago
Liam
467adc1acd
kernel: convert KMemoryLayout, KMemoryRegion*, KPageTableSlabHeap, KPriorityQueue
3 years ago
Liam
0483dfae1a
kernel: move KMemoryLayout for NX board
3 years ago
Liam
8d1f5bfbd2
kernel: remove KLinkedList
3 years ago
Liam
fdf90c6d75
kernel: convert KConditionVariable, KLightConditionVariable, KLightLock
3 years ago
Liam
097c25b164
kernel: convert KPort, KSession
3 years ago
Liam
d24ab14126
kernel: convert GlobalSchedulerContext, KAddressArbiter, KScopedSchedulerLockAndSleep, KThreadQueue to new style
3 years ago
Liam
600f325d87
general: fix spelling mistakes
3 years ago
Liam
1776448df2
kernel: add timer pointer to KThreadQueue
3 years ago
Liam
ba4213d956
general: fix type inconsistencies
3 years ago
Liam
d45ac00d48
kernel: avoid signed overflow UB on MSVC
3 years ago
Liam
484641003c
kernel: clone fpu status on CreateThread
3 years ago
Liam
1d0fe75e7c
hle: rename legacy errors to Results
3 years ago
Jan Beich
859fb469b8
kernel: add missing header for libc++
In file included from src/core/hle/kernel/k_light_lock.cpp:4:
In file included from src/./core/hle/kernel/k_light_lock.h:8:
src/./core/hle/kernel/k_scoped_lock.h:25:51: error: no member named 'addressof' in namespace 'std'
explicit KScopedLock(T& l) : KScopedLock(std::addressof(l)) {}
~~~~~^
3 years ago
Liam
644ee0043e
kernel: fix WaitSynchronization
3 years ago
Liam
97f7f7bad5
kernel: be more careful about kernel address keys
3 years ago
Liam
c4ba088a5d
kernel: refactor priority inheritance to represent locks as C++ objects
3 years ago
Liam
96bd7ea42d
kernel: simplify AddressSpaceInfo, update values
3 years ago
Liam
367e89f984
kernel: barrier memory before condition variable write
3 years ago
Liam
9f9b64cda2
kernel: document previous location of interrupt disables in arbiter/condvar
3 years ago
Liam
4165ac0680
kernel: adjust pool allocations
3 years ago
Liam
62711fec02
kernel: simplify KAbstractSchedulerLock::Lock
3 years ago
Liam
0746a2084e
kernel: add InfoType::IoRegionHint
3 years ago
Liam
65be230fdd
service: move hle_ipc from kernel
3 years ago
Merry
c9678bda24
svc: Fix type consistency (exposed on macOS)
3 years ago
Liam
72e5552409
sm:: fix lingering session initialization issues
3 years ago
Liam
6e0a33089b
sm:: support service registration deferral
3 years ago
Liam
a936972614
service: refactor server architecture
Converts services to have their own processes
3 years ago
Liam
1773a1039f
kernel: add KObjectName
3 years ago
arades79
683019878f
remove static from pointer sized or smaller types for aesthetics, change constexpr static to static constexpr for consistency
Signed-off-by: arades79 <scravers@protonmail.com>
3 years ago
arades79
26e44a3be4
apply clang-format
Signed-off-by: arades79 <scravers@protonmail.com>
3 years ago
arades79
45e13b03f3
add static lifetime to constexpr values to force compile time evaluation where possible
Signed-off-by: arades79 <scravers@protonmail.com>
3 years ago
Liam
ceda2d280e
general: rename CurrentProcess to ApplicationProcess
3 years ago
Liam
4363ca304a
kernel: use GetCurrentProcess
3 years ago
Colin Kinloch
868ab0d3b4
kernel/svc: Fix undefined info_id
3 years ago
bunnei
e79270507b
core: kernel: k_process: Use application system resource.
3 years ago
ameerj
5e746da981
kernel: Refactor thread_local variable usage
On MSVC at least, there seems to be a non-trivial overhead to calling GetHostThreadId().
This slightly reworks the host_thread_id variable to reduce some of the complexity around its usage, along with some small refactors around current_thread and dummy thread
3 years ago
Liam
36b70dec05
kernel: avoid usage of bit_cast
3 years ago
Liam
2415d37ea2
kernel/svc: switch to generated wrappers
3 years ago
Liam
82c2a3da9f
kernel: fix compilation with older gcc
3 years ago
Liam
92eb091ddb
kernel/svc: Split implementations into separate files
4 years ago