| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | | | Scheduler refactor Pt. 1 | 2015-02-09 | 7 | -284/+287 | ||
| | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. | |||||
| * | | | Merge pull request #551 from bunnei/mutex-fixes | 2015-02-09 | 3 | -20/+24 | ||
| |\ \ \ | | | | | | | | | Mutex/synch fixes | |||||
| | * | | | Mutex: Locks should be recursive. | 2015-02-09 | 2 | -16/+20 | ||
| | | | | | ||||||
| | * | | | WaitSynch: Always reschedule (verified behavior on hw). | 2015-02-09 | 1 | -4/+4 | ||
| | | | | | ||||||
| * | | | | vfpdouble: Fix the FTOUI NaN sign setting | 2015-02-09 | 1 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | This was fixed for vfpsingle, but not vfpdouble | |||||
| * | | | | Throw more unused/unnecessary VFP code out | 2015-02-09 | 3 | -215/+1 | ||
| | | | | | ||||||
| * | | | | vfp_helper: Convert some flags to enums. Throw out more duplicated FPSCR stuff | 2015-02-09 | 4 | -192/+153 | ||
| | | | | | ||||||
| * | | | | vfp_helper: Normalize tabs to spaces | 2015-02-09 | 1 | -172/+170 | ||
| |/ / / | ||||||
| * | | | vfp_helper: Remove unnecessary extern C blocks | 2015-02-06 | 1 | -17/+1 | ||
| | | | | ||||||
| * | | | vfp: Move FPSID, FPEXC, and FPSCR values over to enums. | 2015-02-06 | 3 | -150/+104 | ||
| | | | | | | | | | | | | | Also got rid of duplicate definitions of some of these values. | |||||
| * | | | Merge pull request #537 from lioncash/vfp | 2015-02-04 | 1 | -6/+6 | ||
| |\ \ \ | | | | | | | | | vfp: Fix VCVT | |||||
| | * | | | vfp: Fix VCVT | 2015-02-04 | 1 | -6/+6 | ||
| | | | | | | | | | | | | | | | | | | | | | These variants exclusively read from the single precision regs and write to double-precision registers Fixes issues where converted values would be way off from what they should be due to the results being stored in the wrong registers. | |||||
| * | | | | Merge pull request #536 from lioncash/dead | 2015-02-04 | 2 | -1765/+0 | ||
| |\ \ \ \ | |/ / / |/| | | | vfp: Throw out unused code | |||||
| | * | | | vfp: Throw out unused code | 2015-02-04 | 2 | -1765/+0 | ||
| | | | | | ||||||
| * | | | | dyncom: Remove more unnecessary code | 2015-02-03 | 1 | -45/+3 | ||
| |/ / / | ||||||
| * | | | core: Fix some warnings on OSX | 2015-02-03 | 4 | -6/+5 | ||
| | | | | ||||||
| * | | | Kernel: Stop creating useless Handles during object creation | 2015-02-02 | 18 | -57/+41 | ||
| | | | | | | | | | | | | | | | | They're finally unnecessary, and will stop cluttering the application's handle table. | |||||
| * | | | Kernel: Make WaitObjects share ownership of Threads waiting on them | 2015-02-02 | 6 | -12/+17 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.) | |||||
| * | | | Explicitly instantiate constructors/destructors for Kernel objects | 2015-02-02 | 17 | -8/+51 | ||
| | | | | | | | | | | | | | | | | | | | 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.) | |||||
| * | | | Mutex: Replace g_mutex_held_locks with a set inside Thread | 2015-02-02 | 3 | -23/+18 | ||
| | | | | ||||||
| * | | | HID: Fix crash when pressing a key when the emulator is stopped | 2015-02-02 | 1 | -0/+2 | ||
| | | | | ||||||
| * | | | SVC: Enable CloseHandle, clean up DuplicateHandle | 2015-02-02 | 1 | -9/+5 | ||
| | | | | ||||||
| * | | | Kernel: Fix bug in HandleTable::Close | 2015-02-02 | 1 | -1/+1 | ||
| | | | | ||||||
| * | | | Kernel: Remove Object::GetHandle (it's not used anymore :D) | 2015-02-02 | 2 | -9/+1 | ||
| | | | | ||||||
| * | | | Kernel: Introduce unique Object ids for debugging | 2015-02-02 | 4 | -8/+16 | ||
| | | | | ||||||
| * | | | Kernel: Use separate Handle tables for CoreTiming userdata | 2015-02-02 | 4 | -18/+25 | ||
| | | | | | | | | | | | | | This is to support the removal of GetHandle soon | |||||
| * | | | Kernel: Remove previous scheduled event when a Timer is re-Set | 2015-02-02 | 1 | -0/+3 | ||
| | | | | ||||||
| * | | | FS: Remove use of GetHandle | 2015-02-02 | 1 | -1/+1 | ||
| | | | | ||||||
| * | | | Thread: Modernize two functions that slipped through previous rebases | 2015-02-02 | 4 | -18/+16 | ||
| | | | | ||||||
| * | | | Service: Store function names as const char* instead of std::string | 2015-02-02 | 1 | -6/+6 | ||
| | | | | | | | | | | | | | | | | Uses less memory (strings and function table is stored in constant data) and speeds up start up (no need to allocate and copy strings). | |||||
| * | | | Service: Clean-up Interface | 2015-02-02 | 46 | -67/+54 | ||
| | | | | ||||||
| * | | | Make Port/Service registration and querying more HW-accurate | 2015-02-02 | 4 | -106/+80 | ||
| | | | | ||||||
| * | | | Filesys: Move creation of Handles for File/Directory to service handlers | 2015-02-02 | 3 | -32/+33 | ||
| | | | | ||||||
| * | | | Merge pull request #514 from rohit-n/fix-warnings | 2015-02-01 | 1 | -2/+2 | ||
| |\ \ \ | | | | | | | | | Silence a few warnings. | |||||
| | * | | | Silence a few warnings. | 2015-01-30 | 1 | -2/+2 | ||
| | | | | | ||||||
| * | | | | Merge pull request #525 from lioncash/armwarn | 2015-02-01 | 2 | -6/+3 | ||
| |\ \ \ \ | | | | | | | | | | | vfp: Get rid of some compile warnings | |||||
| | * | | | | vfp: Get rid of some compile warnings | 2015-01-31 | 2 | -6/+3 | ||
| | | | | | | ||||||
| * | | | | | arm: Clean up ARMul_State | 2015-01-31 | 5 | -138/+84 | ||
| |/ / / / | | | | | | | | | | | | | Remove unnecessary/unused struct variables. | |||||
| * | | | | arm: Adios armemu | 2015-01-31 | 16 | -8599/+166 | ||
| | | | | | ||||||
| * | | | | Merge pull request #512 from lioncash/assignment | 2015-01-31 | 2 | -4/+4 | ||
| |\ \ \ \ | |_|/ / |/| | | | shared_memory: Fix assignments in SharedMemory::Map | |||||
| | * | | | shared_memory: Fix assignments in SharedMemory::Map | 2015-01-30 | 2 | -4/+4 | ||
| | |/ / | ||||||
| * | | | dyncom: clean up arm_dyncom_dec.h | 2015-01-30 | 1 | -43/+2 | ||
| | | | | ||||||
| * | | | arm: Move headers over to pragma once | 2015-01-30 | 7 | -31/+11 | ||
| | | | | ||||||
| * | | | arm: Get rid of armcpu.h and skyeye_types.h | 2015-01-30 | 6 | -115/+0 | ||
| | | | | ||||||
| * | | | arm: Clean out armos.h and armmmu.h | 2015-01-30 | 2 | -181/+23 | ||
| | | | | ||||||
| * | | | Merge pull request #513 from lioncash/cleanup | 2015-01-30 | 6 | -1667/+168 | ||
| |\ \ \ | | | | | | | | | arm: Cleanup. | |||||
| | * | | | arm: Throw out a lot of unnecessary code | 2015-01-30 | 6 | -1536/+56 | ||
| | | | | | ||||||
| | * | | | armdefs: Move some defines over to enums | 2015-01-30 | 1 | -131/+112 | ||
| | |/ / | ||||||
| * | | | loader: Add missing printf argument | 2015-01-30 | 1 | -1/+1 | ||
| | | | | ||||||
| * | | | archive: Fix initializer list order for the File class. | 2015-01-30 | 1 | -1/+1 | ||
| | | | | ||||||