bunnei
a434fdcb10
core: Implement multicore support.
8 years ago
bunnei
40bccd74d3
svc: Stub out SetThreadActivity, GetThreadContext.
8 years ago
bunnei
f6893969b3
svc: Stub GetThreadCoreMask.
8 years ago
N00byKing
2b41c6e573
Add UnmapSharedMemory
C++11 requires spaces on the Identifier
Add inttypes include
clang
8 years ago
David
0b6da0c1ab
Added CreateSharedMemory & UNIMPLEMENTED() for non existent services. ( #113 )
* Added svcCreateSharedMemory
* Services which are not implemented now throw UNIMPLEMENTED()
* clang-format
* changed perms to u32
* removed camelcase
8 years ago
bunnei
974362bc12
svc: Implement svcMapSharedMemory.
8 years ago
bunnei
1247c53786
yuzu: Update license text to be consistent across project.
8 years ago
bunnei
97ef21e166
svc: Implement GetSystemTick.
8 years ago
Subv
ba02f0deef
svc: Stub ResetSignal and CreateTransferMemory
8 years ago
Subv
0a1278081e
svc: Stub SetMemoryAttribute
8 years ago
Subv
8d9250fa70
SVC: Fixed WaitSynchronization with multiple handles when at least one of them is ready.
8 years ago
bunnei
4236799832
kernel: Rename Semaphore to ConditionVariable.
8 years ago
bunnei
bc8ef64804
svc: Implement svcSignalProcessWideKey.
8 years ago
bunnei
5017038ca7
svc: Implement svcWaitProcessWideKeyAtomic.
8 years ago
bunnei
480906fe1b
hle: Move SVC code to kernel namespace.
8 years ago
bunnei
f24531b1a2
function_wrappers: Cleanup, fix warnings, remove unused code.
8 years ago
bunnei
6e021f22b8
svc: Implement MapMemory.
8 years ago
bunnei
7618b5237d
svc: Implement SetHeapSize.
8 years ago
bunnei
266c1c8020
svc: Implement GetThreadId and GetProcessId.
8 years ago
bunnei
dcd6bb82f7
hle: Fix QueryMemory response for MemoryInfo.
8 years ago
Subv
46fc7595b4
SVC: Remove GetPointer usage in CreatePort.
8 years ago
Subv
7b09b30ef1
SVC: Replace GetPointer usage with ReadCString in ConnectToPort.
8 years ago
Subv
3c0113632d
SVC: Replace GetPointer usage with ReadBlock in OutputDebugString.
8 years ago
Subv
0cfb231e00
SVC: Replace GetPointer usage with Read32 in ReplyAndReceive.
8 years ago
Subv
b863d6c860
SVC: Replace GetPointer usage with Read32 in WaitSynchronizationN.
8 years ago
bunnei
3411883fe3
arm: Use 64-bit addressing in a bunch of places.
8 years ago
Subv
88c93a7436
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
8c6a8edaca
Kernel: Fix SVC wrapper for CreatePort
The return parameters were flipped.
9 years ago
Yuri Kunde Schlesner
f94093d0fd
Kernel: Implement CreateSession SVC
9 years ago
Yuri Kunde Schlesner
2cdb40d709
Kernel: Centralize error definitions in errors.h
9 years ago
Michael Theall
31f9c1ab5d
Fix OutputDebugString syscall
9 years ago
bunnei
e26fbfd1d7
core: Replace "AppCore" nomenclature with just "CPU".
9 years ago
bunnei
4fc8b8229e
core: Remove HLE module, consolidate code & various cleanups.
9 years ago
bunnei
232ef55c1a
core: Consolidate core and system state, remove system module & cleanups.
9 years ago
Emmanuel Gil Peyrot
ebdae19fd2
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
dc8479928c
Sources: Run clang-format on everything.
9 years ago
Subv
7b445ddff0
Kernel/SVC: Implemented svcCreatePort.
10 years ago
Subv
42a50da76b
Kernel/SVC: Fixed the register order for svcCreateMemoryBlock.
R0 is used as the last parameter instead of R4.
10 years ago
Lioncash
856a1d0386
svc: Move ResetType enum to the kernel event header
10 years ago
Subv
d90d5a0ee6
HLE/SVC: Implement UnmapMemoryBlock.
This implementation will need to be (almost completely) changed when we implement multiprocess support.
10 years ago
Yuri Kunde Schlesner
84a22cb594
Kernel: Implement svcGetSystemInfo
This makes smealum/ctrulib@b96dd51d3349961189d4ab1bc2a5c45deff21c09 work
with Citra.
10 years ago
Yuri Kunde Schlesner
14eca982f4
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