bunnei
29bda49fc0
MemoryState: Add additional memory states and improve naming.
8 years ago
bunnei
f16763ed52
core: Move process creation out of global state.
8 years ago
Subv
a9c51be95e
Kernel: Store the program id in the Process class instead of the CodeSet class.
There may be many CodeSets per Process, so it's wasteful and overcomplicated to store the program id in each of them.
8 years ago
Jules Blok
29a5203a2a
thread: Clear the process list on shutdown.
8 years ago
N00byKing
ac2232b9cf
(Hopefully) Fix MinGW Build
8 years ago
N00byKing
11cef9ba72
Add UnmapSharedMemory
C++11 requires spaces on the Identifier
Add inttypes include
clang
8 years ago
mailwl
8f256914fc
Stub more functions
8 years ago
mailwl
dadb6c6e50
Add warning if Domain request has no domain message header
8 years ago
mailwl
2ba8b89864
Fix: change check for domain order and existance of domain message header
8 years ago
mailwl
e05f10cae8
IPC: add domain header to response if only it exists in request
8 years ago
bunnei
87335e8404
scheduler: Cleanup based on PR feedback.
8 years ago
bunnei
539977f39b
kernel: Use Scheduler class for threading.
8 years ago
bunnei
650f49fab2
kernel: Add Scheduler, which encapsulates the scheduling loading from Thread module.
8 years ago
bunnei
0b8907958f
kernel: Remove unused address_arbiter code.
8 years ago
Subv
fbb0ef851c
Kernel/IPC: Add a small delay after each SyncRequest to prevent thread starvation.
Ported from citra PR #3091
The delay specified here is from a Nintendo 3DS, and should be measured in a Nintendo Switch.
This change is enough to prevent Puyo Puyo Tetris's main thread starvation.
8 years ago
mailwl
e86ec16ee7
Service/hid: stub some functions
8 years ago
bunnei
287bcf18e6
shared_memory: Remove some checks.
8 years ago
bunnei
9bd160723a
hle_ipc: Remove const from WriteBuffer size.
8 years ago
Lioncash
321765d0b4
thread: Silence formatting specifier warnings
8 years ago
Lioncash
a708fd7a6d
vm_manager: Silence formatting specifier warnings
8 years ago
bunnei
289e29163b
hle_ipc: Add GetReadBufferSize and check write buffer size.
8 years ago
bunnei
f0e350f3bb
hle_ipc: Add helper functions for reading and writing buffers.
8 years ago
bunnei
ac83b7c57f
hle_ipc: Add helper functions for reading and writing buffers.
8 years ago
bunnei
41042e7b81
mutex: Update hasWaiters on release.
8 years ago
bunnei
23c46db6f7
GetInfo: Implement IsCurrentProcessBeingDebugged.
8 years ago
bunnei
37967da1f2
WaitProcessWideKeyAtomic: Handle case where condition variable was already created.
8 years ago
bunnei
4a19b608fd
svc: SharedMemory size should be 64-bits and cleanup.
8 years ago
bunnei
9892a119da
ArbitrateLock: Assert that requesting_thread is current_thread.
8 years ago
shinyquagsire23
cd0befbd05
shared_memory: Only mark addresses as invalid if they are within the heap
8 years ago
MerryMage
7a23a53396
memory: Replace all memory hooking with Special regions
8 years ago
bunnei
c943b30b0a
server_session: Fix scenario where all domain handlers are closed.
8 years ago
bunnei
f328cb2c7c
hle: Rename RequestBuilder to ResponseBuilder.
8 years ago
bunnei
2b07c87f0c
ipc_helpers: Make interface domain agnostic and add header validation.
8 years ago
bunnei
a3aadaea60
hle: Integrate Domain handling into ServerSession.
8 years ago
bunnei
4fabdf77d7
hle: Remove Domain and SyncObject kernel objects.
8 years ago
bunnei
2ab0f638f0
handle_table: Remove ConvertSessionToDomain.
8 years ago
James Rowe
ea88c44eb8
Format: Run the new clang format on everything
8 years ago
David
61a92c7347
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
River City Ransomware
39827d573a
Fixes some cast warnings, partial port of citra #3064 ( #106 )
* Fixes some cast warnings, partially fixes citra #3064
* Converted casts to uint32_t to u32
* Ran clang-format
8 years ago
bunnei
94483465ad
svc: Fix svcGetInfo MapRegionBaseAddr.
8 years ago
bunnei
c268244812
svc: Add additional fields to MemoryInfo struct.
8 years ago
gdkchan
90b697db30
Stub PopLaunchParameter and implement Buffer C Descriptors reading on hle_ipc ( #96 )
* Stub PopLaunchParameter and implement Buffer C Descriptors reading
* Address PR feedback
* Ensure we push a u64 not a size_t
* Fix formatting
8 years ago
Lioncash
e396daeb9d
svc: Rename some entries to match their analogue on SwitchBrew
Makes the codebase a little more consistent with regards to available documentation. Also amends the duplicate case where there was a similar entry at 0x72 named ConnectToPort.
8 years ago
Lioncash
9453658987
svc: Add CreateJitMemory and MapJitMemory svc strings
Makes the table match SwitchBrew for these entries
8 years ago
bunnei
11c878023f
svc: Clang-format fix.
8 years ago
bunnei
0d1c6f492e
hle_ipc: Clang format.
8 years ago
bunnei
ce1626b80e
ipc: Implement domain command CloseVirtualHandle.
8 years ago
Subv
6b3510cca6
SVC: Correct some return values in svcGetInfo and added TitleId and PrivilegedProcessId stubs.
# Conflicts:
# src/core/hle/kernel/svc.cpp
8 years ago
Subv
24a605cc10
SVC: Add 4.0.0+ comment to GetInfoType enum values.
8 years ago
Subv
911ea4451e
IPC: Push domain objects as move handles when not in a domain.
8 years ago