Liam
c9dab6d0c1
kernel: reshuffle ini1 size, add slab clear note
3 years ago
Liam
156516e399
kernel: use KTypedAddress for addresses
3 years ago
Liam
f4e795193b
kernel: refactor priority inheritance to represent locks as C++ objects
3 years ago
Liam
1fd1d90c2d
kernel: adjust pool allocations
3 years ago
Liam
edda4ad9ae
kernel: add KObjectName
3 years ago
arades79
60a68839ee
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
adcef452e0
add static lifetime to constexpr values to force compile time evaluation where possible
Signed-off-by: arades79 <scravers@protonmail.com>
3 years ago
Liam
1f14d5ebce
kernel: add KDeviceAddressSpace
3 years ago
Kyle Kienapfel
d886438754
Add break for default cases
Visual Studio has an option to search all files in a solution, so I
did a search in there for "default:" looking for any missing break
statements.
I've left out default statements that return something, and that throw
something, even if via ThrowInvalidType. UNREACHABLE leads towards throw
R_THROW macro leads towards a return
4 years ago
Liam
affd5c32f9
kernel/svc_types: refresh
4 years ago
bunnei
e81fcf5795
core: hle: kernel: Integrate system KSystemResource.
4 years ago
Liam
7103b8dde3
kernel: add KSessionRequest
4 years ago
bunnei
d9871bab0b
core: device_memory: Templatize GetPointer(..).
4 years ago
Liam
c1771c98f3
common: Change semantics of UNREACHABLE to unconditionally crash
4 years ago
Morph
2b87305d31
general: Convert source file copyright comments over to SPDX
This formats all copyright comments according to SPDX formatting guidelines.
Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
4 years ago
bunnei
1494a66aa3
core: hle: kernel: init_slab_setup: Move CalculateSlabHeapGapSize to global namespace.
4 years ago
bunnei
4b022badf0
core: hle: kernel: Update init_slab_heap, use device memory, and add KThreadLocalPage and KPageBuffer.
- Refreshes our slab initialization code to latest known behavior.
- Moves all guest kernel slabs into emulated device memory.
- Adds KThreadLocalPage and KPageBuffer, which we will use for accurate TLS management.
4 years ago
itsmeft24
033c9dff92
kernel: svc: Implement Map/UnmapProcessMemory and Create/ControlCodeMemory
Used by Skyline modding framework
5 years ago
ameerj
d27abf5546
core: Remove unused includes
5 years ago
bunnei
227f9e5ab2
hle: kernel: Use host memory allocations for KSlabMemory.
- There are some issues with the current workaround, we will just use host memory until we have a complete kernel memory implementation.
5 years ago
bunnei
14cb6883db
hle: kernel: Move slab resource counts to Kernel.
5 years ago
bunnei
fd11e0722b
fixup! hle: kernel: Add initial impl. of slab setup.
5 years ago
bunnei
05522ebecb
fixup! hle: kernel: Add initial impl. of slab setup.
5 years ago
bunnei
ad048de3d6
hle: kernel: Rename Process to KProcess.
5 years ago
bunnei
d6844cf75f
hle: kernel: Migrate KPort, KClientPort, and KServerPort to KAutoObject.
5 years ago
bunnei
22a67a4627
hle: kernel: Migrate KResourceLimit to KAutoObject.
5 years ago
bunnei
bf274faa22
hle: kernel: Migrate KTransferMemory to KAutoObject.
5 years ago
bunnei
83b96b7264
hle: kernel: Migrate KSession, KClientSession, and KServerSession to KAutoObject.
5 years ago
bunnei
949231d69c
hle: kernel: Migrate KEvent to KAutoObject.
5 years ago
bunnei
11f9080d2e
hle: kernel: Migrate KSharedMemory to KAutoObject.
5 years ago
bunnei
7a6bfbde24
hle: kernel: Migrate KProcess to KAutoObject.
5 years ago
bunnei
d602286355
hle: kernel: Add initial impl. of slab setup.
5 years ago