| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-07-25 | Merge pull request #804 from lioncash/log | Mat M | |
| svc: Log parameters in SetMemoryAttribute() | |||
| 2018-07-24 | svc: Resolve sign comparison warnings in WaitSynchronization() | Lioncash | |
| The loop's induction variable was signed, but we were comparing against an unsigned variable. | |||
| 2018-07-24 | svc: Log parameters in SetMemoryAttribute() | Lioncash | |
| Provides slightly more context than only logging out the address value. | |||
| 2018-07-22 | Kernel/SVC: Perform atomic accesses in SignalProcessWideKey as per the real ↵ | Subv | |
| kernel. | |||
| 2018-07-19 | thread: Convert ThreadStatus into an enum class | Lioncash | |
| Makes the thread status strongly typed, so implicit conversions can't happen. It also makes it easier to catch mistakes at compile time. | |||
| 2018-07-19 | svc: Correct always true assertion case in SetThreadCoreMask | Lioncash | |
| The reason this would never be true is that ideal_processor is a u8 and THREADPROCESSORID_DEFAULT is an s32. In this case, it boils down to how arithmetic conversions are performed before performing the comparison. If an unsigned value has a lesser conversion rank (aka smaller size) than the signed type being compared, then the unsigned value is promoted to the signed value (i.e. u8 -> s32 happens before the comparison). No sign-extension occurs here either. An alternative phrasing: Say we have a variable named core and it's given a value of -2. u8 core = -2; This becomes 254 due to the lack of sign. During integral promotion to the signed type, this still remains as 254, and therefore the condition will always be true, because no matter what value the u8 is given it will never be -2 in terms of 32 bits. Now, if one type was a s32 and one was a u32, this would be entirely different, since they have the same bit width (and the signed type would be converted to unsigned instead of the other way around) but would still have its representation preserved in terms of bits, allowing the comparison to be false in some cases, as opposed to being true all the time. --- We also get rid of two signed/unsigned comparison warnings while we're at it. | |||
| 2018-07-02 | Update clang format | James Rowe | |
| 2018-07-02 | Rename logging macro back to LOG_* | James Rowe | |
| 2018-06-22 | Kernel/Arbiters: Fix casts, cleanup comments/magic numbers | Michael Scire | |
| 2018-06-21 | Add additional missing format. | Michael Scire | |
| 2018-06-21 | Kernel/Arbiters: Initialize arb_wait_address in thread struct. | Michael Scire | |
| 2018-06-21 | Kernel/Arbiters: Mostly implement SignalToAddress | Michael Scire | |
| 2018-06-21 | Kernel/Arbiters: Add stubs for 4.x SignalToAddress/WaitForAddres SVCs. | Michael Scire | |
| 2018-06-20 | Build: Fixed some MSVC warnings in various parts of the code. | Subv | |
| 2018-06-18 | Merge pull request #572 from Armada651/user-except-stub | bunnei | |
| svc: Add a stub for UserExceptionContextAddr. | |||
| 2018-06-18 | svc: Add a stub for UserExceptionContextAddr. | Jules Blok | |
| 2018-05-30 | Kernel/SVC: Support special core values -2 and -3 in svcSetThreadCoreMask. | Subv | |
| Also added some proper error handling. | |||
| 2018-05-19 | Kernel/SVC: Signal the highest priority threads first in ↵ | Subv | |
| svcSignalProcessWideKey. | |||
| 2018-05-19 | Kernel/Threads: Reschedule the proper core when operating on that core's ↵ | Subv | |
| threads. | |||
| 2018-05-19 | SVC: Removed unused WaitSynchronization1 function | Subv | |
| 2018-05-10 | thread: Rename mask to affinity_masks. | bunnei | |
| 2018-05-10 | threading: Reschedule only on cores that are necessary. | bunnei | |
| 2018-05-10 | svc: Implement GetThreadCoreMask and SetThreadCoreMask. | bunnei | |
| 2018-05-10 | svc: SignalProcessWideKey should apply to all cores. | bunnei | |
| 2018-05-10 | svc: Implement GetCurrentProcessorNumber. | bunnei | |
| 2018-05-10 | core: Implement multicore support. | bunnei | |
| 2018-05-02 | general: Make formatting of logged hex values more straightforward | Lioncash | |
| This makes the formatting expectations more obvious (e.g. any zero padding specified is padding that's entirely dedicated to the value being printed, not any pretty-printing that also gets tacked on). | |||
| 2018-04-29 | string_util: Remove StringFromFormat() and related functions | Lioncash | |
| Given we utilize fmt, we don't need to provide our own functions for formatting anymore | |||
| 2018-04-27 | general: Convert assertion macros over to be fmt-compatible | Lioncash | |
| 2018-04-25 | kernel: Migrate logging macros to fmt-compatible ones | Lioncash | |
| 2018-04-23 | Merge pull request #370 from Subv/sync_primitives | bunnei | |
| Kernel: Reworked the new kernel synchronization primitives. | |||
| 2018-04-23 | Kernel: Implemented mutex priority inheritance. | Subv | |
| Verified with a hwtest and implemented based on reverse engineering. Thread A's priority will get bumped to the highest priority among all the threads that are waiting for a mutex that A holds. Once A releases the mutex and ownership is transferred to B, A's priority will return to normal and B's priority will be bumped. | |||
| 2018-04-20 | Kernel: Remove unused ConditionVariable class. | Subv | |
| 2018-04-20 | Kernel: Properly implemented svcWaitProcessWideKey and svcSignalProcessWideKey | Subv | |
| They work in tandem with guest code to provide synchronization primitives along with svcArbitrateLock/Unlock | |||
| 2018-04-20 | Kernel: Corrected the implementation of svcArbitrateLock and svcArbitrateUnlock. | Subv | |
| Switch mutexes are no longer kernel objects, they are managed in userland and only use the kernel to handle the contention case. Mutex addresses store a special flag value (0x40000000) to notify the guest code that there are still some threads waiting for the mutex to be released. This flag is updated when a thread calls ArbitrateUnlock. TODO: * Fix svcWaitProcessWideKey * Fix svcSignalProcessWideKey * Remove the Mutex class. | |||
| 2018-04-20 | resource_limit: Make ResourceTypes an enum class | Lioncash | |
| Prevents enum identifiers from leaking into the surrounding scope. | |||
| 2018-04-19 | common_funcs: Remove ARRAY_SIZE macro | Lioncash | |
| C++17 has non-member size() which we can just call where necessary. | |||
| 2018-04-17 | Various service name fixes - part 2 (rebased) (#322) | Hexagon12 | |
| * Updated ACC with more service names * Updated SVC with more service names * Updated set with more service names * Updated sockets with more service names * Updated SPL with more service names * Updated time with more service names * Updated vi with more service names | |||
| 2018-04-02 | svc: Stub out SetThreadActivity, GetThreadContext. | bunnei | |
| 2018-03-29 | svc: Stub GetThreadCoreMask. | bunnei | |
| 2018-03-19 | More Warning cleanups | N00byKing | |
| 2018-03-19 | Clean Warnings (?) | N00byKing | |
| 2018-03-16 | svc: Use more correct values for GetInfo MapRegion and NewMapRegion. | bunnei | |
| 2018-03-16 | MemoryState: Add additional memory states and improve naming. | bunnei | |
| 2018-03-14 | core: Move process creation out of global state. | bunnei | |
| 2018-02-25 | Merge pull request #215 from N00byKing/umapsharedmmry | bunnei | |
| UnmapSharedMemory | |||
| 2018-02-25 | (Hopefully) Fix MinGW Build | N00byKing | |
| 2018-02-25 | Add UnmapSharedMemory | N00byKing | |
| C++11 requires spaces on the Identifier Add inttypes include clang | |||
| 2018-02-22 | Stub more functions | mailwl | |
| 2018-02-18 | kernel: Use Scheduler class for threading. | bunnei | |
