bunnei
e353b9fb3d
thread: Add THREADSTATUS_WAIT_HLE_EVENT, remove THREADSTATUS_WAIT_ARB.
8 years ago
bunnei
cc6f22e0e4
process: MirrorMemory should use MemoryState::Mapped.
8 years ago
bunnei
e9a857ce82
process: Unmap previously allocated heap.
8 years ago
bunnei
403f8e79ea
arm_interface: Support unmapping previously mapped memory.
8 years ago
bunnei
34a29ad051
svc: Use more correct values for GetInfo MapRegion and NewMapRegion.
8 years ago
bunnei
8581404482
kernel: Move stack region outside of application heap.
8 years ago
bunnei
3923b0f589
process: Fix stack memory state.
8 years ago
bunnei
8be7131033
MemoryState: Add additional memory states and improve naming.
8 years ago
bunnei
7d6653268f
core: Move process creation out of global state.
8 years ago
Subv
827f8ca3c7
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
c74af07c49
thread: Clear the process list on shutdown.
8 years ago
N00byKing
08c6ac02cf
(Hopefully) Fix MinGW Build
8 years ago
N00byKing
2b41c6e573
Add UnmapSharedMemory
C++11 requires spaces on the Identifier
Add inttypes include
clang
8 years ago
mailwl
e4f94ee30b
Stub more functions
8 years ago
mailwl
1289a3c3c1
Add warning if Domain request has no domain message header
8 years ago
mailwl
827152d1fd
Fix: change check for domain order and existance of domain message header
8 years ago
mailwl
1572c45aa0
IPC: add domain header to response if only it exists in request
8 years ago
bunnei
8db80d8389
scheduler: Cleanup based on PR feedback.
8 years ago
bunnei
ac81c02ed9
kernel: Use Scheduler class for threading.
8 years ago
bunnei
c78d495161
kernel: Add Scheduler, which encapsulates the scheduling loading from Thread module.
8 years ago
bunnei
cec0d4f191
kernel: Remove unused address_arbiter code.
8 years ago
Subv
94ee8fc97b
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
6797d4a907
Service/hid: stub some functions
8 years ago
bunnei
df008a159b
shared_memory: Remove some checks.
8 years ago
bunnei
88bfec37ce
hle_ipc: Remove const from WriteBuffer size.
8 years ago
Lioncash
c1146d2a5f
thread: Silence formatting specifier warnings
8 years ago
Lioncash
1e33db8573
vm_manager: Silence formatting specifier warnings
8 years ago
bunnei
6fd19f05f1
hle_ipc: Add GetReadBufferSize and check write buffer size.
8 years ago
bunnei
fc1b425520
hle_ipc: Add helper functions for reading and writing buffers.
8 years ago
bunnei
1ce6fff064
hle_ipc: Add helper functions for reading and writing buffers.
8 years ago
bunnei
903beb43a8
mutex: Update hasWaiters on release.
8 years ago
bunnei
42fc437268
GetInfo: Implement IsCurrentProcessBeingDebugged.
8 years ago
bunnei
0b6b147939
WaitProcessWideKeyAtomic: Handle case where condition variable was already created.
8 years ago
bunnei
647364db8f
svc: SharedMemory size should be 64-bits and cleanup.
8 years ago
bunnei
f9c9ce2005
ArbitrateLock: Assert that requesting_thread is current_thread.
8 years ago
shinyquagsire23
96c444d1ff
shared_memory: Only mark addresses as invalid if they are within the heap
8 years ago
MerryMage
738f91a57d
memory: Replace all memory hooking with Special regions
8 years ago
bunnei
7588b24f46
server_session: Fix scenario where all domain handlers are closed.
8 years ago
bunnei
1b1d399e5f
hle: Rename RequestBuilder to ResponseBuilder.
8 years ago
bunnei
f0035420d7
ipc_helpers: Make interface domain agnostic and add header validation.
8 years ago
bunnei
27bad0598a
hle: Integrate Domain handling into ServerSession.
8 years ago
bunnei
67758857e4
hle: Remove Domain and SyncObject kernel objects.
8 years ago
bunnei
932fa94af7
handle_table: Remove ConvertSessionToDomain.
8 years ago
James Rowe
096be16636
Format: Run the new clang format on everything
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
River City Ransomware
dd62f125c3
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
e1ee8f4657
svc: Fix svcGetInfo MapRegionBaseAddr.
8 years ago
bunnei
d80991977a
svc: Add additional fields to MemoryInfo struct.
8 years ago
gdkchan
59575d5cae
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
4497eb4528
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