Commit Graph

106 Commits

Author SHA1 Message Date
Michael Scire
5f885a3b22 kern: implement new software-reserved page table bits 2020-12-02 06:53:08 -08:00
Michael Scire
394112f9ac kern: update KPageTableBase for new disable-merge attrs 2020-12-02 06:53:08 -08:00
Michael Scire
00a43ac776 kern: revamp KMemoryRegionType to better encode derivation hierarchies 2020-09-07 10:51:49 -07:00
Michael Scire
ec6535bd4b kern: fix warn-errors 2020-09-07 10:51:47 -07:00
Michael Scire
5bc3307ffa kern: improve resource region size definitions/calculations 2020-09-07 10:51:45 -07:00
Michael Scire
78161021f4 kern: use common GIC implementation for arm/arm64 2020-09-07 10:51:41 -07:00
Michael Scire
888f5cdd20 kern: fix multicore instruction cache invalidation 2020-09-07 10:51:40 -07:00
Michael Scire
227b9603cd kern: SvcReturnFromException 2020-08-01 15:31:46 -07:00
Michael Scire
f80eb2c26f kern SvcGetDebugThreadContext, SvcSetDebugThreadContext 2020-08-01 15:31:45 -07:00
Michael Scire
bb044b1934 kern: clean up majority of TODOs 2020-08-01 15:31:44 -07:00
Michael Scire
c7f108082b kern: resolve MESOSPHERE_UNIMPLEMENTEDs other than UserException 2020-08-01 15:31:44 -07:00
Michael Scire
3d5f2b7258 kern: Add real SvcBreak implementation 2020-08-01 15:31:43 -07:00
Michael Scire
179427687b kern: SvcSetHardwareBreakPoint 2020-08-01 15:31:43 -07:00
Michael Scire
a5d7e8328b kern: SvcQueryPhysicalAddress 2020-08-01 15:31:42 -07:00
Michael Scire
a0de667005 kern: SvcGetLastThreadInfo, SvcGetDebugFutureThreadInfo 2020-08-01 15:31:41 -07:00
Michael Scire
641e92e6a0 kern: SvcFlushDataCache, SvcFlushEntireDataCache 2020-08-01 15:31:41 -07:00
Michael Scire
ef6ede3aeb kern: SvcReadDebugProcessMemory, SvcWriteDebugProcessMemory 2020-08-01 15:31:40 -07:00
Michael Scire
911a81430a kern: switch memset to optimized impl 2020-08-01 15:31:39 -07:00
Michael Scire
85932bb91e kern: fix ARM vs THUMB mode selection on 32-bit entry 2020-08-01 15:31:38 -07:00
Michael Scire
a7cc9dd743 kern: fix slab heap atomics 2020-08-01 15:31:37 -07:00
Michael Scire
a7de710f09 kern: implement KCodeMemory (and SVCs) 2020-08-01 15:31:36 -07:00
Michael Scire
c64e490663 kern: implement SvcGetThreadContext3 2020-08-01 15:31:35 -07:00
Michael Scire
b98450c9cf kern: Map L1/L2 blocks when possible 2020-08-01 15:31:34 -07:00
Michael Scire
6935929c33 kern: SvcMapPhysicalMemoryUnsafe, SvcUnmapPhysicalMemoryUnsafe 2020-08-01 15:31:33 -07:00
Michael Scire
dc8fccd168 kern: implement SvcMapPhysicalMemory 2020-08-01 15:31:31 -07:00
Michael Scire
a22d1d04f2 kern: implement SvcSleepSystem 2020-08-01 15:31:30 -07:00
Michael Scire
16ce69e333 kern: SvcInvalidateProcessDataCache 2020-08-01 15:31:30 -07:00
Michael Scire
c0c9fe5fd3 kern: SvcMapProcessCodeMemory, SvcUnmapProcessCodeMemory 2020-08-01 15:31:29 -07:00
Michael Scire
0cfdef738d kern: implement transfer memory (and SVCs) 2020-08-01 15:31:28 -07:00
Michael Scire
417ed5f01c kern: implement SvcSetMemoryAttribute 2020-08-01 15:31:27 -07:00
Michael Scire
0013041509 kern: KConditionVariable::SignalImpl 2020-08-01 15:31:26 -07:00
Michael Scire
fe48b9163d kern: fully implement KSharedMemory (and Svcs) 2020-08-01 15:31:25 -07:00
Michael Scire
8cad49ee02 kern: add KProcess::Initialize (for non-kip processes) 2020-08-01 15:31:25 -07:00
Michael Scire
e760bd7038 kern: implement SvcMapProcessMemory, SvcUnmapProcessMemory 2020-08-01 15:31:24 -07:00
Michael Scire
70385eeec9 kern: fix asid tlb invalidation 2020-08-01 15:31:23 -07:00
Michael Scire
69274df795 kern: dump page table on user exception 2020-08-01 15:31:23 -07:00
Michael Scire
eeb12eb4a2 kern: implement SvcDebugActiveProcess, svcGetDebugEvent, SvcWaitProcessWideKeyAtomic 2020-08-01 15:31:21 -07:00
Michael Scire
ba1d964100 kern: fix bug in KPageTableBase::SetupForIpcServer 2020-08-01 15:31:20 -07:00
Michael Scire
a22c0a84dd kern: implement SvcSignalToAddress, SvcWaitForAddress 2020-08-01 15:31:19 -07:00
Michael Scire
d501c3832a kern: add infra (but not impl) for all DeviceAddressSpace svcs 2020-08-01 15:31:17 -07:00
Michael Scire
df104ecc34 kern: implement SvcCreateInterruptEvent 2020-08-01 15:31:16 -07:00
Michael Scire
1a8393e8b2 kern: add SvcQueryIoMapping (NOTE: pre-10.x, ABI needs update) 2020-08-01 15:31:11 -07:00
Michael Scire
2a8979b6a1 kern: implement KPageTableBase::CopyHeapToHeap(WithoutCheckDestination) 2020-08-01 15:31:08 -07:00
Michael Scire
67c18a0008 ipc: add MapAlias processing logic for Receive 2020-08-01 15:31:04 -07:00
Michael Scire
f7b9ea9ff5 ipc::Reply -> add raw data copy logic 2020-08-01 15:31:04 -07:00
Michael Scire
d986b698d4 kern: implement SvcSendSyncRequest(WithUserBuffer) 2020-08-01 15:31:03 -07:00
Michael Scire
f752db8379 kern: implement SvcCreateThread, SvcStartThread 2020-08-01 15:31:02 -07:00
Michael Scire
3c386e8ab3 kern: implement SvcMapMemory 2020-08-01 15:31:02 -07:00
Michael Scire
98ac3c7efc kern: implement KEvent, KWritableEvent, KServerSession::OnClientClosed 2020-08-01 15:31:01 -07:00
Michael Scire
191e233745 kern: implement SvcUnmapMemory, more of SvcGetInfo 2020-08-01 15:31:00 -07:00