bunnei
5dbcaa2970
hle: kernel: Migrate PageHeap/PageTable to KPageHeap/KPageTable.
5 years ago
bunnei
a4c5e6d964
hle: kernel: Migrate to KMemoryBlock, KMemoryBlockManager, and others.
5 years ago
bunnei
8c9e87ab66
hle: kernel: Migrate MemoryLayout to KMemoryLayout.
5 years ago
bunnei
f8d8755776
hle: kernel: Rename SharedMemory to KSharedMemory.
5 years ago
ameerj
faae6b5595
kernel: More accurately reserve and release resources
5 years ago
ameerj
48b09cc56d
kernel: KScopedReservation implementation
This implements KScopedReservation, allowing resource limit reservations to be more HW accurate, and release upon failure without requiring too many conditionals.
5 years ago
Chloe
e62886ead0
kernel: Unify result codes ( #5890 )
* kernel: Unify result codes
Drop the usage of ERR_NAME convention in kernel for ResultName. Removed seperation between svc_results.h & errors.h as we mainly include both most of the time anyways.
* oops
* rename errors to svc_results
5 years ago
Lioncash
8618ac9b8b
svc: Provide more detailed error logs for svc functions
Allows SVC calls to have much more informative information during error
cases. This also doesn't hide control flow returns from the reader.
5 years ago
bunnei
9c2719d86f
hle: kernel: svc: Cleanup KEvent/KReadableEvent/KWritableEvent SVCs.
5 years ago
bunnei
0508831455
hle: kernel: Reimplement KReadableEvent and KWritableEvent.
5 years ago
bunnei
80d0eb3bbd
hle: kernel: Rename WritableEvent to KWritableEvent.
5 years ago
bunnei
284a4d9283
hle: kernel: Rename ReadableEvent to KReadableEvent.
5 years ago
Chloe Marcec
6ff08eb44f
Simplify limitableresource names
5 years ago
Chloe Marcec
a69befa745
Move to GetGlobalTimeNs, fix GetTotalPhysicalMemoryAvailable
5 years ago
Chloe Marcec
68a52e9050
kernel: Rewrite resource limit to be more accurate
Matches closer to hardware
5 years ago
bunnei
38ae7c53c0
hle: kernel: process: Add state lock.
5 years ago
bunnei
f34dd04d09
hle: kernel: Recode implementation of KThread to be more accurate.
5 years ago
bunnei
4ba9d6f969
hle: kernel: KThread: Clean up thread priorities.
5 years ago
bunnei
0ae0bc4340
hle: kernel: KThread: Reorganize thread priority defaults.
5 years ago
bunnei
eb396cd021
hle: kernel: KThread: Fix ThreadType definition.
5 years ago
bunnei
3d70b4a4ea
core: hle: kernel: Rename Thread to KThread.
5 years ago
bunnei
e89be18c79
hle: kernel: thread: Preserve thread wait reason for debugging only.
- This is decoupled from core functionality and used for debugging only.
5 years ago
bunnei
e5cfd63ba4
core: hle: Integrate new KConditionVariable and KAddressArbiter implementations.
5 years ago
bunnei
9744afa8b1
hle: kernel: thread: Replace ThreadStatus/ThreadSchedStatus with a single ThreadState.
- This is how the real kernel works, and is more accurate and simpler.
5 years ago
bunnei
2feb4d56e9
core: hle: kernel: Update KSynchronizationObject.
5 years ago
ameerj
ca41363261
svc: demote SleepThread log to LOG_TRACE
This log is called often, and introduces a lot of noise when debug logging is enabled, making it difficult to see other debug logs.
5 years ago
Lioncash
a4f07e1cc4
svc: Remove unnecessary casts
Simplifies and removes some casts. In all cases, these were generally
widening from a 32-bit unsigned type to a 64-bit unsigned type, so no
information would be lost from the conversion.
5 years ago
bunnei
de522657dd
hle: kernel: Migrate to KScopedSchedulerLock.
5 years ago
bunnei
61e017a026
hle: kernel: Separate KScopedSchedulerLockAndSleep from k_scheduler.
5 years ago
bunnei
039844bbb9
hle: kernel: Rewrite scheduler implementation based on Mesopshere.
5 years ago
bunnei
0c9f4d749c
hle: kernel: svc: Remove reschedule on svcBreak.
- This breaks things, and is unnecessary, since emulation will be done at this point.
5 years ago
bunnei
5f00b01a5d
hle: kernel: svc: Remove unnecessary hack in svcSleep.
5 years ago
bunnei
ba09b4d69d
hle: kernel: Port KAffinityMask from Mesosphere.
5 years ago
bunnei
aaffe73f47
hle: kernel: multicore: Replace n-JITs impl. with 4 JITs.
5 years ago
Lioncash
b038dcf23c
svc: Remove unnecessary [[maybe_unused]] tag
The parameter is used in this function, so this suppression isn't
necessary.
5 years ago
bunnei
deb3536936
Revert "core: Fix clang build"
5 years ago
Lioncash
18636013c9
core: Fix clang build
Recent changes to the build system that made more warnings be flagged as
errors caused building via clang to break.
Fixes #4795
5 years ago
Lioncash
f700c48cc0
kernel: Remove all dependencies on the global system instance
With this, the kernel finally doesn't depend directly on the global
system instance anymore.
5 years ago
Lioncash
3fe863c8f2
kernel: Remove unused variables
Resolves some compiler warnings in the Linux build.
6 years ago
Fernando Sahmkow
8cd81eb66f
SVC: Implement 32-bits wrappers and update Dynarmic.
6 years ago
Fernando Sahmkow
146bbc6189
SVC: Add GetCurrentProcessorNumber32, CreateTransferMemory32, SetMemoryAttribute32
6 years ago
Fernando Sahmkow
75db328166
SVC: Add GetThreadPriority32 & SetThreadPriority32
6 years ago
Fernando Sahmkow
24e0d393e2
Common/Kernel: Corrections and small bug fixing.
6 years ago
Fernando Sahmkow
6f0c873d48
General: Cleanup legacy code.
6 years ago
Fernando Sahmkow
e95444c05a
Kernel/svcBreak: Implement CacheInvalidation for Singlecore and correct svcBreak.
6 years ago
Fernando Sahmkow
b2109333c6
HLE_IPC: Correct HLE Event behavior on timeout.
6 years ago
Fernando Sahmkow
f0f2fc4243
SingleCore: Use Cycle Timing instead of Host Timing.
6 years ago
Fernando Sahmkow
db60ca2704
General: Move ARM_Interface into Threads.
6 years ago
Fernando Sahmkow
96c996b6a0
SVC/ARM: Correct svcSendSyncRequest and cache ticks on arm interface.
6 years ago
Fernando Sahmkow
fc47857c3b
ARM: Addapt to new Exclusive Monitor Interface.
6 years ago