| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-05-11 | Thread: Correctly set main thread initial stack position | Yuri Kunde Schlesner | |
| 2015-05-10 | Merge pull request #740 from yuriks/gsp-shmem | archshift | |
| Fix crashes due to un-initialized GSP shared memory | |||
| 2015-05-10 | fixup! Set the TLS address in the scheduler | Subv | |
| 2015-05-10 | Core/Memory: Give every emulated thread it's own TLS area. | Subv | |
| The TLS area for thread T with id Ti is located at TLS_AREA_VADDR + (Ti - 1) * 0x200. This allows some games like Mario Kart 7 to continue further. | |||
| 2015-05-10 | Kernel: Zero-fill shared memory blocks when mapping | Yuri Kunde Schlesner | |
| This works around crashes related to GSP/HID/etc. shared memory blocks having garbage values. The proper fix requires proper management of mapped memory blocks in the process. | |||
| 2015-05-10 | Kernel: Capture SharedMemory attributes at creation, not when mapping | Yuri Kunde Schlesner | |
| 2015-05-09 | Common: Remove the BIT macro | Yuri Kunde Schlesner | |
| When the macro was introduced in 326ec51261299e48de97592631c02523da9c8118 it wasn't noticed that it conflicted in name with a heavily used macro inside of dyncom. This causes some compiler warnings. Since it's only lightly used, it was opted to simply remove the new macro. | |||
| 2015-05-09 | Memory: Re-organize and rename memory area address constants | Yuri Kunde Schlesner | |
| 2015-05-08 | Kernel: Remove unused g_main_thread variable | Yuri Kunde Schlesner | |
| 2015-05-08 | Process: Rename StaticAddressMapping => AddressMapping | Yuri Kunde Schlesner | |
| 2015-05-08 | Process: Add more documentation to the class members | Yuri Kunde Schlesner | |
| 2015-05-08 | Process: Use BitField to store process flags | Yuri Kunde Schlesner | |
| 2015-05-08 | Process: Support parsing of exheader kernel caps | Yuri Kunde Schlesner | |
| 2015-05-08 | Kernel: Remove g_program_id | Yuri Kunde Schlesner | |
| This has been obsoleted by the field in Process. | |||
| 2015-05-08 | Kernel: Introduce skeleton Process class to hold process data | Yuri Kunde Schlesner | |
| 2015-05-07 | Common: Remove common.h | Yuri Kunde Schlesner | |
| 2015-05-06 | Move typedefs from kernel.h to more appropriate places | Yuri Kunde Schlesner | |
| 2015-05-01 | Kernel: Properly initialize and shutdown all modules. | bunnei | |
| 2015-04-14 | Kernel: Use the correct format string for u64 hex. | Emmanuel Gil Peyrot | |
| 2015-04-09 | SVC: Update various SVCs to cause a reschedule. | bunnei | |
| - CreateMutex/ReleaseMutex/ReleaseSemaphore/SetTimer/CancelTimer/ArbitrateAddress | |||
| 2015-04-09 | Kernel: Implemented priority inheritance for mutexes. | bunnei | |
| 2015-04-09 | Thread: Implement priority boost for starved threads. | bunnei | |
| SVC: Return correct error code on invalid CreateThread processor ID. SVC: Assert when creating a thread with an invalid userland priority. | |||
| 2015-04-09 | Kernel: Fixed default thread priority. | bunnei | |
| 2015-04-08 | Initialize base address to 0x0 | Gareth Higgins | |
| 2015-02-19 | Misc cleanup of common and related functions | archshift | |
| 2015-02-12 | Build: Fixed some warnings | Subv | |
| 2015-02-10 | Asserts: break/crash program, fit to style guide; log.h->assert.h | archshift | |
| Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time) As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing) Also removed some GEKKO cruft. | |||
| 2015-02-09 | Scheduler refactor Pt. 1 | Kevin Hartman | |
| * Simplifies scheduling logic, specifically regarding thread status. It should be much clearer which statuses are valid for a thread at any given point in the system. * Removes dead code from thread.cpp. * Moves the implementation of resetting a ThreadContext to the corresponding core's implementation. Other changes: * Fixed comments in arm interfaces. * Updated comments in thread.cpp * Removed confusing, useless, functions like MakeReady() and ChangeStatus() from thread.cpp. * Removed stack_size from Thread. In the CTR kernel, the thread's stack would be allocated before thread creation. | |||
| 2015-02-09 | Mutex: Locks should be recursive. | bunnei | |
| 2015-02-03 | core: Fix some warnings on OSX | Lioncash | |
| 2015-02-02 | Kernel: Stop creating useless Handles during object creation | Yuri Kunde Schlesner | |
| They're finally unnecessary, and will stop cluttering the application's handle table. | |||
| 2015-02-02 | Kernel: Make WaitObjects share ownership of Threads waiting on them | Yuri Kunde Schlesner | |
| During normal operation, a thread waiting on an WaitObject and the object hold mutual references to each other for the duration of the wait. If a process is forcefully terminated (The CTR kernel has a SVC to do this, TerminateProcess, though no equivalent exists for threads.) its threads would also be stopped and destroyed, leaving dangling pointers in the WaitObjects. The solution is to simply have the Thread remove itself from WaitObjects when it is stopped. The vector of Threads in WaitObject has also been changed to hold SharedPtrs, just in case. (Better to have a reference cycle than a crash.) | |||
| 2015-02-02 | Explicitly instantiate constructors/destructors for Kernel objects | Yuri Kunde Schlesner | |
| This should speed up compile times a bit, as well as enable more liberal use of forward declarations. (Due to SharedPtr not trying to emit the destructor anymore.) | |||
| 2015-02-02 | Mutex: Replace g_mutex_held_locks with a set inside Thread | Yuri Kunde Schlesner | |
| 2015-02-02 | Kernel: Fix bug in HandleTable::Close | Yuri Kunde Schlesner | |
| 2015-02-02 | Kernel: Remove Object::GetHandle (it's not used anymore :D) | Yuri Kunde Schlesner | |
| 2015-02-02 | Kernel: Introduce unique Object ids for debugging | Yuri Kunde Schlesner | |
| 2015-02-02 | Kernel: Use separate Handle tables for CoreTiming userdata | Yuri Kunde Schlesner | |
| This is to support the removal of GetHandle soon | |||
| 2015-02-02 | Kernel: Remove previous scheduled event when a Timer is re-Set | Yuri Kunde Schlesner | |
| 2015-02-02 | Thread: Modernize two functions that slipped through previous rebases | Yuri Kunde Schlesner | |
| 2015-01-31 | arm: Clean up ARMul_State | Lioncash | |
| Remove unnecessary/unused struct variables. | |||
| 2015-01-30 | shared_memory: Fix assignments in SharedMemory::Map | Lioncash | |
| 2015-01-30 | Kernel: Mark all appropriate kernel objects as "final" | Yuri Kunde Schlesner | |
| 2015-01-30 | Remove result.h InvalidHandle | Yuri Kunde Schlesner | |
| It was only being used in two places, where it was replaced by a local constant. | |||
| 2015-01-30 | Kernel: Convert Event to not use Handles | Yuri Kunde Schlesner | |
| 2015-01-30 | Kernel: Convert Timer to (mostly) not use Handles | Yuri Kunde Schlesner | |
| 2015-01-30 | Kernel: Convert Mutex to not use Handles | Yuri Kunde Schlesner | |
| 2015-01-30 | Kernel: Convert AddressArbiter to not use Handles | Yuri Kunde Schlesner | |
| 2015-01-30 | Kernel: Convert Semaphore to not use Handles | Yuri Kunde Schlesner | |
| 2015-01-30 | Kernel: Convert SharedMemory to not use Handles | Yuri Kunde Schlesner | |
