Commit Graph

969 Commits (924bbde89b80ff2aa8b98fe8f3c7f728ede34edc)
 

Author SHA1 Message Date
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
bunnei 93cd5a0691 mutex: added additional docstrings
bunnei a432dc8f39 kernel: added WaitSynchronization method to Kernel::Object
bunnei 58a3adcdd2 kernel: updated SyncRequest to take boolean thread wait result as a parameter
bunnei 6e51c56fe4 svc: added some assertions
bunnei 16fea415d0 service: Renamed Sync to SyncRequest
bunnei 3d7693f75f kernel: added enum for known CurrentThread and CurrentProcess handles
bunnei 96b2105524 srv: added a real mutex for GetProcSemaphore (instead of stubbed)
bunnei 9f7ed2d027 svc: changed SendSyncRequest to use Kernel::Object SyncRequest (instead of just service Interface class)
bunnei d73d782ba7 kernel: add a SyncRequest method to KernelObject for use with svcSendSyncRequest
bunnei 15d2ab1b33 svc: added stub for DuplicateHandle SVC call
bunnei 6448c2f300 Merge pull request from bunnei/master
Add initial kernel HLE, includes thread creation and context switching
bunnei 0aa582bf89 service: fixed typo that MSVC did not catch as an error
bunnei 420971a849 core: fixed headers in CMakeLists
bunnei 32c314c992 Merge branch 'threading'