Lioncash
98b277dfae
hid/npad: Move function declarations
Clearly separate these from the variable declarations to make them more
visible.
6 years ago
Lioncash
7c4a4b4fc1
core/core: Resolve -Wreorder warnings
Amends the initializer lists to be ordered in the same manner that
they're declared within the class.
6 years ago
Lioncash
2b7f82e089
core/memory/cheat_engine: Resolve -Wreorder warnings
Amends the initializer lists to be ordered in the same manner that
they're declared within the class.
6 years ago
Lioncash
76157b0b04
apm/controller: Make SetPerformanceConfiguration() use an array of pairs over a map
While a map is an OK way to do lookups (and usually recommended in most
cases), this is a map that lives for the entire duration of the program
and only deallocates its contents when the program terminates.
Given the total size of the map is quite small, we can simply use a
std::array of pairs and utilize std::find_if to perform the same
behavior without loss of performance.
This eliminates a static constructor and places the data into the
read-only segment.
While we're at it, we can also handle malformed inputs instead of
directly dereferencing the resulting iterator.
6 years ago
Lioncash
756203599e
apm/controller: Make GetCurrentPerformanceMode() a const member function
This doesn't modify instance state, so it can be made const qualified.
6 years ago
Lioncash
3d91f45a30
bcat: Remove use of global system accessors
Removes all uses of the global system accessor within the BCAT
interface.
6 years ago
Fernando Sahmkow
4f8fa2dd29
Kernel Thread: Cleanup THREADPROCESSORID_DONT_UPDATE.
6 years ago
Fernando Sahmkow
3300a7631d
Kernel: Address Feedback 2
6 years ago
Fernando Sahmkow
5acd086b18
Kernel: Clang Format
6 years ago
Fernando Sahmkow
ac9dd91f1e
Kernel: Reverse global accessor removal.
6 years ago
Fernando Sahmkow
a88238d68d
Kernel: Address Feedback.
6 years ago
Fernando Sahmkow
17b53b4a54
Kernel Scheduler: Make sure the global scheduler shutdowns correctly.
6 years ago
Fernando Sahmkow
0d57b899dd
Kernel_Thread: Eliminate most global accessors.
6 years ago
Fernando Sahmkow
59b89b1dd5
KernelSVC: Assert that condition variable address is aligned to 4 bytes.
6 years ago
Fernando Sahmkow
8363d07df8
Kernel: Correct Paused scheduling
6 years ago
Fernando Sahmkow
3da21e4b4f
Kernel: Corrections to Wait Objects clearing in which a thread could still be signalled after a timeout or a cancel.
6 years ago
Fernando Sahmkow
248795db6e
Kernel: Correct redundant yields to only advance time forward.
6 years ago
Fernando Sahmkow
a24c331b84
Kernel: Corrections to ModifyByWaitingCountAndSignalToAddressIfEqual
6 years ago
Fernando Sahmkow
598203b5cf
Kernel: Correct Results in Condition Variables and Mutexes
6 years ago
Fernando Sahmkow
3c9e26a003
Kernel: Clang Format
6 years ago
Fernando Sahmkow
abc8856e2c
Kernel: Remove global system accessor from WaitObject
6 years ago
Fernando Sahmkow
7d04b271a6
Scheduler: Implement Yield Count and Core migration on Thread Preemption.
6 years ago
Fernando Sahmkow
f2989c81d9
Scheduler: Corrections to YieldAndBalanceLoad and Yield bombing protection.
6 years ago
Fernando Sahmkow
68325300ae
Kernel: Initial implementation of thread preemption.
6 years ago
Fernando Sahmkow
acdce3b4df
Scheduler: Add protections for Yield bombing
In case of redundant yields, the scheduler will now idle the core for
it's timeslice, in order to avoid continuously yielding the same thing
over and over.
6 years ago
Fernando Sahmkow
5130168171
Kernel: Style and Corrections
7 years ago
Fernando Sahmkow
87334f0f16
Correct PrepareReschedule
7 years ago
Fernando Sahmkow
655ed87f53
Comment and reorganize the scheduler
7 years ago
Fernando Sahmkow
891babbe20
Add PrepareReschedule where required.
7 years ago
Fernando Sahmkow
4760c27922
Correct compiling errors and addapt to the new interface.
7 years ago
Fernando Sahmkow
bddf90701b
Correct Supervisor Calls to work with the new scheduler,
7 years ago
Fernando Sahmkow
3905bb3e7b
Redesign CPU Cores to work with the new scheduler
7 years ago
Fernando Sahmkow
07524b63e8
Add interfacing to the Global Scheduler
7 years ago
Fernando Sahmkow
18c796ab58
Addapt thread class to the new Scheduler
7 years ago
Fernando Sahmkow
7a10ae0128
Implement a new Core Scheduler
7 years ago
Zach Hilman
fd66788be4
card_image: Implement system update commands in XCI
6 years ago
Zach Hilman
8d904c20be
pl_u: Fix mismatched rebase size error in font encryption
6 years ago
Zach Hilman
1dcc71fc9c
pl_u: Use kernel physical memory
6 years ago
Zach Hilman
45cdc92252
pl_u: Remove excess static qualifier
6 years ago
Zach Hilman
d37be63099
pl_u: Use OSS system archives if real archives don't exist
6 years ago
Zach Hilman
612b086bd4
system_archive: Synthesize shared fonts system archives
7 years ago
Zach Hilman
cd8c6a4afd
externals: Move OSS font data to file_sys in core
7 years ago
Lioncash
b546e106d1
nvflinger/buffer_queue: Remove use of a global system accessor
6 years ago
Fernando Sahmkow
b7d07d5a73
Core_Timing: Address Remaining feedback.
6 years ago
Fernando Sahmkow
97669469d0
Core_Timing: Address Feedback and suppress warnings.
6 years ago
Fernando Sahmkow
f2f4a797ee
Core Timing: Correct Idle and remove lefting pragma
6 years ago
Fernando Sahmkow
e96ac0e2a3
Core Timing: General corrections and added tests.
6 years ago
Fernando Sahmkow
93a18da674
Core Timing: Rework Core Timing to run all cores evenly.
6 years ago
Morph
bebe0ff470
hid: Implement DeactivateNpad
Makes use of the already existing DeactivateController function.
6 years ago
Morph
33b8716668
hid: Stub SetNpadJoyAssignmentModeSingle and reorganize service commands
6 years ago