Yuri Kunde Schlesner
7ada357b2d
Memmap: Re-organize memory function in two files
...
memory.cpp/h contains definitions related to acessing memory and
configuring the address space
mem_map.cpp/h contains higher-level definitions related to configuring
the address space accoording to the kernel and allocating memory.
10 years ago
bunnei
7b9f428b23
Thread: Implement priority boost for starved threads.
...
SVC: Return correct error code on invalid CreateThread processor ID.
SVC: Assert when creating a thread with an invalid userland priority.
10 years ago
Yuri Kunde Schlesner
58b544db99
SVC: Use CASCADE_RESULT in SVC handlers
10 years ago
Yuri Kunde Schlesner
44f90340dc
SVC: Change return type of handlers to ResultCode
10 years ago
Yuri Kunde Schlesner
7b3452c730
Move ThreadContext to core/core.h and deal with the fallout
10 years ago
Subv
07044651ef
SVC: Implemented the Timer service calls.
10 years ago
Subv
97a7381d29
SOC_U: Preliminary implementation of sockets.
...
Stubbed CreateMemoryBlock
Using Berkeley sockets, and Winsock2.2 on Windows.
So far ftpony creates the socket and accepts incoming connections
SOC_U: Renamed functions to maintain consistency
Also prevents possible scope errors / conflicts with the actual Berkeley socket functions
SOCU: Close all the opened sockets when cleaning up SOCU
10 years ago
purpasmart96
ebfd831ccb
License change
10 years ago
Subv
49b31badba
SVC: Implemented ReleaseSemaphore.
...
This behavior was tested on hardware, however i'm still not sure what use the "initial_count" parameter has
10 years ago
Subv
82c84883a5
SVC: Implemented svcCreateSemaphore
...
ToDo: Implement svcReleaseSemaphore
* Some testing against hardware needed
10 years ago
Emmanuel Gil Peyrot
f5d38649c7
Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated
11 years ago
bunnei
10f25866e2
SVC: Added support for svc_GetSystemTick.
...
Changed HLE function return methods to be static inline functions.
11 years ago
bunnei
59f2750482
function_wrappers: Fixed incorrect wrapper, added another.
11 years ago
bunnei
edaefe9fa6
HLE: Moved "PARAM" and "RETURN" macros to function_wrappers.h (this is only module where they are needed).
11 years ago
bunnei
8957622d10
SVC: Renamed all function wrapper templates to Wrap, moved to HLE namespace.
11 years ago
bunnei
862db811f0
SVC: Cleaned up function wrappers to pass in correct argument types.
11 years ago
bunnei
477b0caca4
svc: updated WaitSynchronizationN to properly use first pointer argument
11 years ago
bunnei
15c7d81706
svc: cleaned up function_wrappers, updated various SVCs to make use of pointer arguments
11 years ago
bunnei
2f55c9e55b
svc: added missing function wrapper for SleepThread
11 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
11 years ago
bunnei
c4b5168b45
hle: properly cast 64-bit function wrapper parameters to (u64)
11 years ago
bunnei
9fd5d6c7d8
hle: removed PARAM64 macro (this was incorrect), made several bug fixes accordingly for decoding U64 function parameters
11 years ago
bunnei
6a6c7eeccb
added stubbed function for WaitSynchronizationN
11 years ago
bunnei
4fba4f36bf
- added SVC stubs for QueryMemory and GetThreadId
...
- added SVC structs MemoryInfo and PageInfo
11 years ago
bunnei
b5ef630c9c
added CreateThread, CreateMutex, and ReleaseMutex SVC stubs (just parameter decoding for now)
11 years ago
bunnei
de36d82dde
- added debug logging to syscall.cpp
...
- added stubbed HLE syscall functions for svc_GetResourceLimit and svc_GetResourceLimitCurrentValues
11 years ago
bunnei
4ee72869cc
- added some function wrappers for HLE
...
- added stub for SVC CreateAddressArbiter
- added OutputDebugString SVC
11 years ago
bunnei
f0797dcf1f
added a new function wrapper
11 years ago
bunnei
de3dcd38f6
- fixed tabs in function_wrappers.h
...
- fixed log message wording in hle.cpp
- added syscall stubs for CloseHandle and WaitSynchronization1
11 years ago
bunnei
f68de21ad1
added initial modules for setting up SysCall HLE
11 years ago