bunnei
58cf9d847a
svc: Implement MapMemory.
8 years ago
bunnei
4678ba1e18
svc: Implement SetHeapSize.
8 years ago
bunnei
bfd01c7c71
svc: Implement GetThreadId and GetProcessId.
8 years ago
bunnei
bf69f3d1eb
hle: Fix QueryMemory response for MemoryInfo.
8 years ago
Subv
62e3520792
SVC: Remove GetPointer usage in CreatePort.
8 years ago
Subv
5768c55104
SVC: Replace GetPointer usage with ReadCString in ConnectToPort.
8 years ago
Subv
f08872822c
SVC: Replace GetPointer usage with ReadBlock in OutputDebugString.
8 years ago
Subv
690b21012d
SVC: Replace GetPointer usage with Read32 in ReplyAndReceive.
8 years ago
Subv
6fd20a0595
SVC: Replace GetPointer usage with Read32 in WaitSynchronizationN.
8 years ago
bunnei
7f1ce2cf68
arm: Use 64-bit addressing in a bunch of places.
8 years ago
Subv
820509103c
Kernel/SVC: Partially implemented svcReplyAndReceive.
It behaves mostly as WaitSynchronizationN with wait_all = false, except for IPC buffer translation.
The target thread of an IPC response will now wake up when responding.
IPC buffer translation is currently not implemented.
Error passing back to svcSendSyncRequest is currently not implemented.
9 years ago
Yuri Kunde Schlesner
0539afd69b
Kernel: Fix SVC wrapper for CreatePort
The return parameters were flipped.
9 years ago
Yuri Kunde Schlesner
364ef24f77
Kernel: Implement CreateSession SVC
9 years ago
Yuri Kunde Schlesner
467545ed48
Kernel: Centralize error definitions in errors.h
9 years ago
Michael Theall
775ae0634e
Fix OutputDebugString syscall
9 years ago
bunnei
8cfd0762fd
core: Replace "AppCore" nomenclature with just "CPU".
9 years ago
bunnei
5d22844f3e
core: Remove HLE module, consolidate code & various cleanups.
9 years ago
bunnei
d504f6cf08
core: Consolidate core and system state, remove system module & cleanups.
9 years ago
Emmanuel Gil Peyrot
1138ec0d49
Remove empty newlines in #include blocks.
This makes clang-format useful on those.
Also add a bunch of forgotten transitive includes, which otherwise
prevented compilation.
9 years ago
Emmanuel Gil Peyrot
628ed4376a
Sources: Run clang-format on everything.
9 years ago
Subv
a350b5274f
Kernel/SVC: Implemented svcCreatePort.
10 years ago
Subv
b2c771eed7
Kernel/SVC: Fixed the register order for svcCreateMemoryBlock.
R0 is used as the last parameter instead of R4.
10 years ago
Lioncash
bc06a2c79e
svc: Move ResetType enum to the kernel event header
10 years ago
Subv
d9c4c1622f
HLE/SVC: Implement UnmapMemoryBlock.
This implementation will need to be (almost completely) changed when we implement multiprocess support.
10 years ago
Yuri Kunde Schlesner
5bed732b03
Kernel: Implement svcGetSystemInfo
This makes smealum/ctrulib@b96dd51d3349961189d4ab1bc2a5c45deff21c09 work
with Citra.
10 years ago
Yuri Kunde Schlesner
00e9d19f28
Kernel: Implement svcGetProcessInfo in a basic way
This also adds some basic memory usage accounting. These two types are
used by Super Smash Bros. during startup.
11 years ago
Subv
83fa3f977d
Kernel/SVC: Implemented svcQueryProcessMemory
11 years ago
Subv
9e2962081a
Kernel/SVC: Implemented svcQueryMemory.
11 years ago
zawata
f723a498e7
Core\HLE : Fix Warning
"signed/unsigned mismatch"
11 years ago
bunnei
71e8822d23
kernel: Fix svcWaitSynch to always acquire requested wait objects.
11 years ago
archshift
11057488f9
Implement svcBreak
11 years ago
Subv
d3634d4bf4
Core/ResourceLimits: Implemented the basic structure of ResourceLimits.
Implemented svcs GetResourceLimit, GetResourceLimitCurrentValues and GetResourceLimitLimitValues.
Note that the resource limits do not currently keep track of used objects, since we have no way to distinguish between an object created by the application, and an object created by some HLE module once we're inside Kernel::T::Create.
11 years ago
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.
11 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.
11 years ago
Yuri Kunde Schlesner
58b544db99
SVC: Use CASCADE_RESULT in SVC handlers
11 years ago
Yuri Kunde Schlesner
44f90340dc
SVC: Change return type of handlers to ResultCode
11 years ago
Yuri Kunde Schlesner
7b3452c730
Move ThreadContext to core/core.h and deal with the fallout
11 years ago
Subv
07044651ef
SVC: Implemented the Timer service calls.
11 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
11 years ago
purpasmart96
ebfd831ccb
License change
11 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
11 years ago
Subv
82c84883a5
SVC: Implemented svcCreateSemaphore
ToDo: Implement svcReleaseSemaphore
* Some testing against hardware needed
11 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.
12 years ago
bunnei
59f2750482
function_wrappers: Fixed incorrect wrapper, added another.
12 years ago
bunnei
edaefe9fa6
HLE: Moved "PARAM" and "RETURN" macros to function_wrappers.h (this is only module where they are needed).
12 years ago
bunnei
8957622d10
SVC: Renamed all function wrapper templates to Wrap, moved to HLE namespace.
12 years ago
bunnei
862db811f0
SVC: Cleaned up function wrappers to pass in correct argument types.
12 years ago
bunnei
477b0caca4
svc: updated WaitSynchronizationN to properly use first pointer argument
12 years ago
bunnei
15c7d81706
svc: cleaned up function_wrappers, updated various SVCs to make use of pointer arguments
12 years ago