Commit Graph

444 Commits (8cac527c943253a9471849d17b1520f4762fbb5c)
 

Author SHA1 Message Date
bunnei 8cac527c94 Kernel: Updated several member functions to be const 11 years ago
bunnei 0deeda54ee Core: Cleaned up SingleStep(), updated default LCD refresh to assume each instruction is ~3 cycles 11 years ago
bunnei 3449aaa350 Core: Changed HW update/thread reschedule to occur more frequently (assume each instruction is ~3 cycles) 11 years ago
bunnei b774b8b04e Thread: Fixed bug with ResetThread where cpu_registers[15] was being incorrectly set 11 years ago
bunnei aae9fcf4a4 Kernel: Made SyncRequest not pure virtual, with a default implementation of error (as this is not required for all kernel objects) 11 years ago
bunnei f5c7c15434 Kernel: Added real support for thread and event blocking
- SVC: Added ExitThread support
- SVC: Added SignalEvent support
- Thread: Added WAITTYPE_EVENT for waiting threads for event signals
- Thread: Added support for blocking on other threads to finish (e.g. Thread::Join)
- Thread: Added debug function for printing current threads ready for execution
- Thread: Removed hack/broken thread ready state code from Kernel::Reschedule
- Mutex: Moved WaitCurrentThread from SVC to Mutex::WaitSynchronization
- Event: Added support for blocking threads on event signalling

Kernel: Added missing algorithm #include for use of std::find on non-Windows platforms.
11 years ago
bunnei a002abf171 qt: updated disassembler to show 2X as many instructions 11 years ago
bunnei 174cc9a0ed hle: added a hokey way to force a thread reschedule during CPU single step mode (as used by the debugger) 11 years ago
bunnei 6cdad8390c arm: fixed a bug where ARM_Interpreter::ExecuteInstructions was actually executing one more instruction than expected 11 years ago
bunnei ce1c561278 kernel: changed current default thread priority back to 0x30 - I think this is more correct 11 years ago
bunnei 9ece9da50d arm: fixed bug in how thread context switch occurs with SkyEye 11 years ago
bunnei 870c6146e7 service: added a error log messages for unimplemented WaitSynchronization 11 years ago
bunnei c330a0a1d6 arm: reverting a change made with cb0663de - this has to have been a typo! 11 years ago
bunnei b78aff8585 svc: added optional name field to Event and Mutex (used for debugging) 11 years ago
bunnei 8c0f02a70c kernel: moved position of * for GetTypeName and GetName 11 years ago
bunnei 2773360f84 coprocessor: reenabled debug log 11 years ago
bunnei 477b0caca4 svc: updated WaitSynchronizationN to properly use first pointer argument 11 years ago
bunnei 4819e9a60f svc: changed DuplicateHandle log message from "error" to "debug" 11 years ago
bunnei 3fb31fbc57 svc: added GetThreadPriority and SetThreadPriority, added (incomplete) DuplicateHandle support 11 years ago
bunnei 10447d1f48 kernel: changed main thread priority to default, updated Kernel::Reschedule to use PrepareReschedule 11 years ago
bunnei e8a17ee6fd arm: added option to prepare CPU core (while mid-instruction) for thread reschedule 11 years ago
bunnei 15c7d81706 svc: cleaned up function_wrappers, updated various SVCs to make use of pointer arguments 11 years ago
bunnei 00adbc7817 log: updated MAX_LOGLEVEL to use correct log level enum type 11 years ago
bunnei 5cd922d151 log: updated GenericLog __attribute__ for newly added parameter 11 years ago
bunnei 2f55c9e55b svc: added missing function wrapper for SleepThread 11 years ago
bunnei 7dd18a8df9 gsp: always pass through synchronization barrier for commands 11 years ago
bunnei f2f638492b svc: updated waitSychronization to not overwrite handle on return, added stub for SleepThread (does nothing) 11 years ago
bunnei ba98e25e97 thread: updated Reschedule to sit at a synchronization barrier when no other threads are ready for execution 11 years ago
bunnei f7cececc5c event: added a hackish ability to set an event as "locked" to its current state, cleaned up some comments 11 years ago
bunnei 55325dea4c hle: added stubbed service for ndm_u 11 years ago
bunnei c451ad2835 service: cleaned up log messages 11 years ago
bunnei 2482be13df service: removed PT_A from, as this was just an alias for APT_U 11 years ago
bunnei 007b7edada srv: fix to log unimplemented service (instead of crash) 11 years ago
bunnei d8a2c8c657 mutex: fixed typo in ReleaseMutex 11 years ago
bunnei c404d22036 hle: cleaned up log messages 11 years ago
bunnei b0bad47c0e svc: updated OutputDebugString to use OS_LOG 11 years ago
bunnei 55a540eb02 arm: removed unnecessary code when calling SVC from skyeye 11 years ago
bunnei 6fc62f8c93 log: fixed to not print twice, enabled coloring, added OS print logging as its own type 11 years ago
bunnei 9839f3b6cd core: changed time delay before kernel reschedule to "approximate" a screen refresh 11 years ago
bunnei 6d267142ad svc: changed unimplemented SVC log messages from "debug" messages to "error" messages 11 years ago
bunnei 58af0da792 svc: added svcClearEvent, stubbed function for svcArbitrateAddress, and various fixes
- force kernel reschedule after svcWaitSynchronization
- fixed some bugs with passing in pointer arguments
- cleaned up some comments and log messages
11 years ago
bunnei d51c84dde2 event: added support for ClearEvent, fixed a bug with CreateEvent, fixed some comments 11 years ago
bunnei 545e6919ce service: added additional hack to return success on unimplemented service calls 11 years ago
bunnei b08b3c154f srv: changed a NOTICE_LOG to DEBUG_LOG 11 years ago
bunnei e7202e5b2d svc: added ArbitrationType enumeration 11 years ago
bunnei 4b4a6de1d8 apt: added stubbed function for InquireNotification 11 years ago
bunnei c4b5168b45 hle: properly cast 64-bit function wrapper parameters to (u64) 11 years ago
bunnei 9fd5d6c7d8 hle: removed PARAM64 macro (this was incorrect), made several bug fixes accordingly for decoding U64 function parameters 11 years ago
bunnei 46aef01d04 lcd: moved kFrameTicks to lcd.h for use in other modules 11 years ago
bunnei 70af9d620b service: changed interface to return 0 (no error) when a service method is unimplemented - hack to make apps boot further 11 years ago