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.
12 years ago
Tony Wasserka
5d62f5d92a
GPU debugger: Add functionality to inspect command lists.
12 years ago
Tony Wasserka
d4530765ce
GPU: Cleanup register definitions.
12 years ago
Tony Wasserka
1dfa392824
Rename LCD to GPU.
12 years ago
Tony Wasserka
31666632ca
Add initial graphics debugger interface.
12 years ago
Tony Wasserka
82d3260359
GSP: Define more GX commands.
12 years ago
bunnei
174cc9a0ed
hle: added a hokey way to force a thread reschedule during CPU single step mode (as used by the debugger)
12 years ago
bunnei
ce1c561278
kernel: changed current default thread priority back to 0x30 - I think this is more correct
12 years ago
bunnei
9ece9da50d
arm: fixed bug in how thread context switch occurs with SkyEye
12 years ago
bunnei
870c6146e7
service: added a error log messages for unimplemented WaitSynchronization
12 years ago
bunnei
b78aff8585
svc: added optional name field to Event and Mutex (used for debugging)
12 years ago
bunnei
8c0f02a70c
kernel: moved position of * for GetTypeName and GetName
12 years ago
bunnei
2773360f84
coprocessor: reenabled debug log
12 years ago
bunnei
477b0caca4
svc: updated WaitSynchronizationN to properly use first pointer argument
12 years ago
bunnei
4819e9a60f
svc: changed DuplicateHandle log message from "error" to "debug"
12 years ago
bunnei
3fb31fbc57
svc: added GetThreadPriority and SetThreadPriority, added (incomplete) DuplicateHandle support
12 years ago
bunnei
10447d1f48
kernel: changed main thread priority to default, updated Kernel::Reschedule to use PrepareReschedule
12 years ago
bunnei
15c7d81706
svc: cleaned up function_wrappers, updated various SVCs to make use of pointer arguments
12 years ago
bunnei
2f55c9e55b
svc: added missing function wrapper for SleepThread
12 years ago
bunnei
7dd18a8df9
gsp: always pass through synchronization barrier for commands
12 years ago
bunnei
f2f638492b
svc: updated waitSychronization to not overwrite handle on return, added stub for SleepThread (does nothing)
12 years ago
bunnei
ba98e25e97
thread: updated Reschedule to sit at a synchronization barrier when no other threads are ready for execution
12 years ago
bunnei
f7cececc5c
event: added a hackish ability to set an event as "locked" to its current state, cleaned up some comments
12 years ago
bunnei
55325dea4c
hle: added stubbed service for ndm_u
12 years ago
bunnei
c451ad2835
service: cleaned up log messages
12 years ago
bunnei
2482be13df
service: removed PT_A from, as this was just an alias for APT_U
12 years ago
bunnei
007b7edada
srv: fix to log unimplemented service (instead of crash)
12 years ago
bunnei
d8a2c8c657
mutex: fixed typo in ReleaseMutex
12 years ago
bunnei
c404d22036
hle: cleaned up log messages
12 years ago
bunnei
b0bad47c0e
svc: updated OutputDebugString to use OS_LOG
12 years ago
bunnei
6d267142ad
svc: changed unimplemented SVC log messages from "debug" messages to "error" messages
12 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
12 years ago
bunnei
d51c84dde2
event: added support for ClearEvent, fixed a bug with CreateEvent, fixed some comments
12 years ago
bunnei
545e6919ce
service: added additional hack to return success on unimplemented service calls
12 years ago
bunnei
b08b3c154f
srv: changed a NOTICE_LOG to DEBUG_LOG
12 years ago
bunnei
e7202e5b2d
svc: added ArbitrationType enumeration
12 years ago
bunnei
4b4a6de1d8
apt: added stubbed function for InquireNotification
12 years ago
bunnei
c4b5168b45
hle: properly cast 64-bit function wrapper parameters to (u64)
12 years ago
bunnei
9fd5d6c7d8
hle: removed PARAM64 macro (this was incorrect), made several bug fixes accordingly for decoding U64 function parameters
12 years ago
bunnei
70af9d620b
service: changed interface to return 0 (no error) when a service method is unimplemented - hack to make apps boot further
12 years ago
bunnei
3972d4ca8b
APT_U: added stubbed function for APT_U::Enable, fixed some log messages to be more consistent
12 years ago
bunnei
2ed6652f10
mutex: added preliminary SyncRequest/WaitSynchronization, added some comments/assertions
12 years ago
bunnei
47e781e80a
svc: implemented WaitSynchronization1, WaitSynchronizationN, and CreateEvent
12 years ago
bunnei
94b30e8a38
APT_U: added event creation to Initialize method
12 years ago
bunnei
ea8627d536
event: fixed typos and updated CMakeLists
12 years ago
bunnei
beea6f054a
event: added SetEventLocked method to change status an events lock
12 years ago
bunnei
fd69fd0325
kernel: added event module to support creation of CTR "Event" objects
12 years ago
bunnei
d493d725ac
mutex: removed docstring comment that is no longer relevant
12 years ago
bunnei
93cd5a0691
mutex: added additional docstrings
12 years ago
bunnei
a432dc8f39
kernel: added WaitSynchronization method to Kernel::Object
12 years ago