Commit Graph

88 Commits

Author SHA1 Message Date
Michael Scire
1ac249dd13 kern: support dynamic resource expansion for system heaps/events/sessions. 2021-09-19 10:35:38 -07:00
Michael Scire
22bb619873 kern: add new KMemoryState 2021-09-19 10:35:37 -07:00
Michael Scire
e9d44eb71a kern: fuck the KPolice^H^H^H^H^H^HPageGroups 2021-04-11 03:59:20 -07:00
Michael Scire
3ebf91304e kern: update Initialize0 for new changes 2021-04-11 03:59:15 -07:00
Michael Scire
2b10401498 kern: if a page table region is zero-size, nothing overlaps it 2021-04-11 03:59:13 -07:00
Michael Scire
50ce41adf2 kern: use KScopedLightLockPair helper for page table pair-locks 2021-04-11 03:59:12 -07:00
Michael Scire
43900d4765 kern: track mapped ipc server memory in page table 2021-04-11 03:59:12 -07:00
Michael Scire
8df6062a1d kern: add KPageTableBase::Read/WriteDebugIoMemory 2021-04-11 03:59:12 -07:00
Michael Scire
a9f81928f7 kern: flush memory before reading in KPageTableBase::ReadDebugMemory 2021-04-11 03:59:11 -07:00
Michael Scire
6eda131ab6 kern: update KMemoryBlockManagerUpdaterAllocator for new ctor/init semantics 2021-04-11 03:59:11 -07:00
Michael Scire
ca5e69f16d kern: greatly improve codegen for atomics, scheduler 2021-01-13 10:41:26 -08:00
Michael Scire
4ddacf3384 kern: refactor to use m_ for member variables 2020-12-19 10:21:52 -08:00
Michael Scire
eb621c6aae kern: implement memory debug 2020-12-11 03:49:02 -08:00
Michael Scire
de5341ecde kern: fix inverted conditional in UnmapProcessCodeMemory 2020-12-03 12:48:16 -08:00
Michael Scire
9586142e90 kern: tweak optimization settings for hot paths 2020-12-02 06:53:22 -08:00
Michael Scire
b9504f356f microkernel: hot paths are pretty fucking hot 2020-12-02 06:53:20 -08:00
Michael Scire
0eb6e0a963 kern: add new overflow checks on KMemoryRegions 2020-12-02 06:53:17 -08:00
Michael Scire
f8999a2318 kern: remove KPageTableBase::MakeAndOpenContiguousPageGroup 2020-12-02 06:53:10 -08:00
Michael Scire
397d317a6c kern: implement DisableDeviceAddressSpaceMerge 2020-12-02 06:53:10 -08:00
Michael Scire
396dc066e9 kern: KMemoryManager::Allocate -> AllocateAndOpen 2020-12-02 06:53:09 -08:00
Michael Scire
1260d85bb9 kern: implement kmemoryblock/kmemoryinfo merge disable 2020-12-02 06:53:09 -08:00
Michael Scire
dd799d3909 kern: remove KMemoryAttribute_AnyLocked 2020-12-02 06:53:09 -08:00
Michael Scire
f152b16639 kern: update KMemoryBlockManagerUpdateAllocator api 2020-12-02 06:53:09 -08:00
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
f02868d886 kern: simplify SetupForIpcClient cleanup 2020-09-07 10:51:41 -07:00
Michael Scire
4cafc6acb9 kern: rename CacheHelper operation for accuracy 2020-09-07 10:51:40 -07:00
Michael Scire
23864afe32 kern: KPageTableBase::WriteDebugMemory stores/invalidates cache 2020-09-07 10:51:40 -07:00
Michael Scire
f0b455de83 kern: refactor KMemoryLayout 2020-09-07 10:51:39 -07:00
Michael Scire
dc59a2d2e5 kern: build with -Wextra 2020-09-07 10:51:36 -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
a5d7e8328b kern: SvcQueryPhysicalAddress 2020-08-01 15:31:42 -07:00
Michael Scire
ef6ede3aeb kern: SvcReadDebugProcessMemory, SvcWriteDebugProcessMemory 2020-08-01 15:31:40 -07:00
Michael Scire
fcee459e40 kern: add KCodeMemory code left out of previous commit 2020-08-01 15:31:36 -07:00
Michael Scire
a7de710f09 kern: implement KCodeMemory (and SVCs) 2020-08-01 15:31:36 -07:00
Michael Scire
6935929c33 kern: SvcMapPhysicalMemoryUnsafe, SvcUnmapPhysicalMemoryUnsafe 2020-08-01 15:31:33 -07:00
Michael Scire
a56e8ca4b0 kern: General system stability improvements to enhance the user's experience. 2020-08-01 15:31:32 -07:00
Michael Scire
10415aefee kern: SvcUnmapPhysicalMemory, cleanup thread pinning 2020-08-01 15:31:31 -07:00
Michael Scire
dc8fccd168 kern: implement SvcMapPhysicalMemory 2020-08-01 15:31:31 -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
52d15eecd8 kern: Fix bug when reducing heap size 2020-08-01 15:31:29 -07:00
Michael Scire
c9588f5739 kern: SvcSetMemoryPermission 2020-08-01 15:31:28 -07:00
Michael Scire
0cfdef738d kern: implement transfer memory (and SVCs) 2020-08-01 15:31:28 -07:00
Michael Scire
670824fa0a kern: implement process exit 2020-08-01 15:31:27 -07:00
Michael Scire
417ed5f01c kern: implement SvcSetMemoryAttribute 2020-08-01 15:31:27 -07:00
Michael Scire
8cad49ee02 kern: add KProcess::Initialize (for non-kip processes) 2020-08-01 15:31:25 -07:00
Michael Scire
fcffa49fd5 kern: implement first half of SvcCreateProcess 2020-08-01 15:31:25 -07:00
Michael Scire
4b3fb40ed9 kern: implement KThread::Finalize 2020-08-01 15:31:24 -07:00