bunnei
b62ef4bbd2
Thread: Renamed occurrences of "t" to "thread" to improve readability.
12 years ago
bunnei
5b7cf50a77
Thread: Cleaned up VerifyWait, fixed issue where nullptr msg could unnecessarily be logged.
12 years ago
bunnei
4620e2a741
HLE: Removed usnused EatCycles function.
12 years ago
bunnei
862db811f0
SVC: Cleaned up function wrappers to pass in correct argument types.
12 years ago
bunnei
bfdd874b1f
Thread: Moved position of * in arguments.
12 years ago
bunnei
12e2a59565
Thread: Updated VerifyWait to be more readable (but functionally the same).
12 years ago
bunnei
4d6c96b7d8
SVC: Moved declaration of "wait" variable in SendSyncRequest for improved readability.
12 years ago
bunnei
c95972275e
HLE: Updated all uses of NULL to nullptr (to be C++11 compliant)
12 years ago
bunnei
5365ca157d
Kernel: Updated various kernel function "name" arguments to be const references.
12 years ago
bunnei
d7363322c7
HLE: Updated various handle debug assertions to be more clear.
12 years ago
bunnei
780a443b08
Mutex: Moved ReleaseMutex iterator declaration to be inside while loop.
12 years ago
bunnei
8cac527c94
Kernel: Updated several member functions to be const
12 years ago
bunnei
0deeda54ee
Core: Cleaned up SingleStep(), updated default LCD refresh to assume each instruction is ~3 cycles
12 years ago
bunnei
3449aaa350
Core: Changed HW update/thread reschedule to occur more frequently (assume each instruction is ~3 cycles)
12 years ago
bunnei
b774b8b04e
Thread: Fixed bug with ResetThread where cpu_registers[15] was being incorrectly set
12 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)
12 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.
12 years ago
bunnei
a002abf171
qt: updated disassembler to show 2X as many instructions
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
6cdad8390c
arm: fixed a bug where ARM_Interpreter::ExecuteInstructions was actually executing one more instruction than expected
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
c330a0a1d6
arm: reverting a change made with cb0663de - this has to have been a typo!
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
e8a17ee6fd
arm: added option to prepare CPU core (while mid-instruction) for thread reschedule
12 years ago
bunnei
15c7d81706
svc: cleaned up function_wrappers, updated various SVCs to make use of pointer arguments
12 years ago
bunnei
00adbc7817
log: updated MAX_LOGLEVEL to use correct log level enum type
12 years ago
bunnei
5cd922d151
log: updated GenericLog __attribute__ for newly added parameter
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
55a540eb02
arm: removed unnecessary code when calling SVC from skyeye
12 years ago
bunnei
6fc62f8c93
log: fixed to not print twice, enabled coloring, added OS print logging as its own type
12 years ago
bunnei
9839f3b6cd
core: changed time delay before kernel reschedule to "approximate" a screen refresh
12 years ago