Commit Graph

933 Commits (7cbecde2ca1b0ea3faf4caf384b6512cb9849162)
 

Author SHA1 Message Date
bunnei 870c6146e7 service: added a error log messages for unimplemented WaitSynchronization
bunnei c330a0a1d6 arm: reverting a change made with cb0663de - this has to have been a typo!
bunnei b78aff8585 svc: added optional name field to Event and Mutex (used for debugging)
bunnei 8c0f02a70c kernel: moved position of * for GetTypeName and GetName
bunnei 2773360f84 coprocessor: reenabled debug log
bunnei 477b0caca4 svc: updated WaitSynchronizationN to properly use first pointer argument
bunnei 4819e9a60f svc: changed DuplicateHandle log message from "error" to "debug"
bunnei 3fb31fbc57 svc: added GetThreadPriority and SetThreadPriority, added (incomplete) DuplicateHandle support
bunnei 10447d1f48 kernel: changed main thread priority to default, updated Kernel::Reschedule to use PrepareReschedule
bunnei e8a17ee6fd arm: added option to prepare CPU core (while mid-instruction) for thread reschedule
bunnei 15c7d81706 svc: cleaned up function_wrappers, updated various SVCs to make use of pointer arguments
bunnei a1c0087b9d Merge pull request from Antidote/master
* Remove -fpermissive
bunnei 7527f238a1 Merge pull request from Disruption/stomas/bugfix/wrong-field-reference
Added 'this' reference to num_instructions field so it's properly updated
Disruption 0be75c13ee Added 'this' reference to num_instructions field so it's properly updated,as before the method was affecting the local method parameter rather than the class field
bunnei 00adbc7817 log: updated MAX_LOGLEVEL to use correct log level enum type
bunnei 5cd922d151 log: updated GenericLog __attribute__ for newly added parameter
bunnei 2f55c9e55b svc: added missing function wrapper for SleepThread
bunnei 7dd18a8df9 gsp: always pass through synchronization barrier for commands
bunnei f2f638492b svc: updated waitSychronization to not overwrite handle on return, added stub for SleepThread (does nothing)
bunnei ba98e25e97 thread: updated Reschedule to sit at a synchronization barrier when no other threads are ready for execution
bunnei f7cececc5c event: added a hackish ability to set an event as "locked" to its current state, cleaned up some comments
bunnei 55325dea4c hle: added stubbed service for ndm_u
bunnei c451ad2835 service: cleaned up log messages
bunnei 2482be13df service: removed PT_A from, as this was just an alias for APT_U
bunnei 007b7edada srv: fix to log unimplemented service (instead of crash)
bunnei d8a2c8c657 mutex: fixed typo in ReleaseMutex
bunnei c404d22036 hle: cleaned up log messages
bunnei b0bad47c0e svc: updated OutputDebugString to use OS_LOG
bunnei 55a540eb02 arm: removed unnecessary code when calling SVC from skyeye
bunnei 6fc62f8c93 log: fixed to not print twice, enabled coloring, added OS print logging as its own type
bunnei 9839f3b6cd core: changed time delay before kernel reschedule to "approximate" a screen refresh
bunnei 6d267142ad svc: changed unimplemented SVC log messages from "debug" messages to "error" messages
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
bunnei d51c84dde2 event: added support for ClearEvent, fixed a bug with CreateEvent, fixed some comments
bunnei 545e6919ce service: added additional hack to return success on unimplemented service calls
bunnei b08b3c154f srv: changed a NOTICE_LOG to DEBUG_LOG
bunnei e7202e5b2d svc: added ArbitrationType enumeration
bunnei 4b4a6de1d8 apt: added stubbed function for InquireNotification
bunnei c4b5168b45 hle: properly cast 64-bit function wrapper parameters to (u64)
bunnei 9fd5d6c7d8 hle: removed PARAM64 macro (this was incorrect), made several bug fixes accordingly for decoding U64 function parameters
bunnei 46aef01d04 lcd: moved kFrameTicks to lcd.h for use in other modules
bunnei 70af9d620b service: changed interface to return 0 (no error) when a service method is unimplemented - hack to make apps boot further
bunnei 3972d4ca8b APT_U: added stubbed function for APT_U::Enable, fixed some log messages to be more consistent
bunnei 2ed6652f10 mutex: added preliminary SyncRequest/WaitSynchronization, added some comments/assertions
bunnei 47e781e80a svc: implemented WaitSynchronization1, WaitSynchronizationN, and CreateEvent
bunnei 94b30e8a38 APT_U: added event creation to Initialize method
bunnei ea8627d536 event: fixed typos and updated CMakeLists
bunnei beea6f054a event: added SetEventLocked method to change status an events lock
bunnei fd69fd0325 kernel: added event module to support creation of CTR "Event" objects
bunnei d493d725ac mutex: removed docstring comment that is no longer relevant