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
47e781e80a
svc: implemented WaitSynchronization1, WaitSynchronizationN, and CreateEvent
12 years ago
bunnei
58a3adcdd2
kernel: updated SyncRequest to take boolean thread wait result as a parameter
12 years ago
bunnei
6e51c56fe4
svc: added some assertions
12 years ago
bunnei
9f7ed2d027
svc: changed SendSyncRequest to use Kernel::Object SyncRequest (instead of just service Interface class)
12 years ago
bunnei
15d2ab1b33
svc: added stub for DuplicateHandle SVC call
12 years ago
bunnei
f8a98ab022
svc: added a check to ensure that a service was implemented before attempting to connect to its port
12 years ago
bunnei
b99ac2c3d6
thread: renamed "WaitCurThread" to "WaitCurrentThread", removed unused "reason" argument
12 years ago
bunnei
7c0b006076
thread: removed unused SwitchContext/Reschedule reason field, added missing arg parameter to SVC CreateThread
12 years ago
bunnei
06e3c3d55a
svc: added Kernel::Reschedule to svc WaitSynchronization1, updated log messages to include newly created handles
12 years ago
bunnei
706584f007
svc: enabled use of newly created kernel thread handle
12 years ago
bunnei
eb537c560a
mutex: refactored the interface to code to return a Mutex* handle
12 years ago
bunnei
978e1d4653
mutex: initial commit of HLE module
12 years ago
bunnei
08e6a9bf89
svc: added some comments
12 years ago
bunnei
75c6d2a8fa
thread: moved threading calls to the Kernel namespace
12 years ago
bunnei
143bba2045
renamed "syscall" module to "svc" (more accurate naming)
12 years ago
bunnei
088a2de9a6
renamed "session" to "handle"
12 years ago
bunnei
16d55842c5
fix warning
12 years ago
bunnei
725d240bf7
renamed "UID" to "Handle" where appropriate
12 years ago
bunnei
8fba88d5d5
- added stub for CreateEvent
- changed some stubbed SVCs to return unique handle names for debugging purposes
12 years ago
bunnei
6a6c7eeccb
added stubbed function for WaitSynchronizationN
12 years ago
bunnei
cfea5fdd58
cleanups to SVC CreateThread
12 years ago
bunnei
4fba4f36bf
- added SVC stubs for QueryMemory and GetThreadId
- added SVC structs MemoryInfo and PageInfo
12 years ago
bunnei
367d63691f
- added ThreadContext struct
- cleaned up CreateThread svc
12 years ago
bunnei
b5ef630c9c
added CreateThread, CreateMutex, and ReleaseMutex SVC stubs (just parameter decoding for now)
12 years ago
bunnei
4de763f462
removed unnecessary log message
12 years ago
bunnei
de36d82dde
- added debug logging to syscall.cpp
- added stubbed HLE syscall functions for svc_GetResourceLimit and svc_GetResourceLimitCurrentValues
12 years ago
bunnei
4ee72869cc
- added some function wrappers for HLE
- added stub for SVC CreateAddressArbiter
- added OutputDebugString SVC
12 years ago
bunnei
e08f242141
fixed bug where svc_ControlMemory was not properly getting passed in parameters
12 years ago
bunnei
890c7261d2
- added preliminary support for svc_MapMemoryBlock
- added shared memory region
- moarrrr cleanups to memory_map
12 years ago
bunnei
70c2cce963
renamed hw_lcd module to just lcd
12 years ago
bunnei
b2baafaf8b
added GSP heap memory allocation
12 years ago
bunnei
de3dcd38f6
- fixed tabs in function_wrappers.h
- fixed log message wording in hle.cpp
- added syscall stubs for CloseHandle and WaitSynchronization1
12 years ago
bunnei
68e198476f
- added HLE to connect to "srv:" service
- added a manager for keeping track of services/ports
- added a memory mapped region for memory accessed by HLE
- added HLE for GetThreadCommandBuffer function
12 years ago
bunnei
02fbd42e7f
- renamed hle_syscall to just syscall
- added service.h as an initial service interface
12 years ago
bunnei
e9f0e4967d
added remaining known syscall functions to Syscall_Table
12 years ago
bunnei
2bde8f2856
base code to call a syscall from ARM11 appcore
12 years ago
bunnei
3bd041f5b0
changed some naming/misc cleanups
12 years ago
bunnei
2a7d7ce55d
- removed syscall classes (will just use HLEFunction)
- added hle.cpp and module registration
- removed unused code
12 years ago
bunnei
f68de21ad1
added initial modules for setting up SysCall HLE
12 years ago