Michael Scire
ccd1f3b982
kern: add support for InfoType_FreeThreadCount
2020-12-11 03:48:56 -08:00
Michael Scire
de5341ecde
kern: fix inverted conditional in UnmapProcessCodeMemory
2020-12-03 12:48:16 -08:00
Michael Scire
9c3e45a856
kern: fix reboot to fatal error
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
929e38cce9
kern: update KConditionVariable to support new has_waiter_flag rules
2020-12-02 06:53:20 -08:00
Michael Scire
f3e127f147
kern: fix SvcGetResourceLimitPeakValue
2020-12-02 06:53:20 -08:00
Michael Scire
7abc665807
kern: fix copy/paste error
2020-12-02 06:53:19 -08:00
Michael Scire
9d51004a9b
kern: fix bugs caused by UB + transition to -Os
2020-12-02 06:53:19 -08:00
Michael Scire
31603c2a5a
kern: reduce KMemoryRegionAllocator slab size
2020-12-02 06:53:18 -08:00
Michael Scire
b5eb0bb978
kern: assume that uart has been setup by secmon
2020-12-02 06:53:18 -08:00
Michael Scire
0eb6e0a963
kern: add new overflow checks on KMemoryRegions
2020-12-02 06:53:17 -08:00
Michael Scire
763b00027b
kern: fix assertion in the multi-region pool partition code
2020-12-02 06:53:17 -08:00
Michael Scire
2db30d4d46
kern: improve KMemoryManager pool detection
2020-12-02 06:53:17 -08:00
Michael Scire
0b36215bfa
kern: update KMemoryRegion to store last address rather than size
2020-12-02 06:53:16 -08:00
Michael Scire
2d1ebf4406
kern: add KAlpha/KBeta
2020-12-02 06:53:16 -08:00
Michael Scire
7779d7d06d
kern: stubs for Svc39, 3A, 46, 47
2020-12-02 06:53:16 -08:00
Michael Scire
c24ba715b4
KConditionVariable/KAddressArbiter: no need for global compare thread
2020-12-02 06:53:15 -08:00
Michael Scire
e4774a2685
kern: implement 64-virtual-core interface
2020-12-02 06:53:15 -08:00
Michael Scire
a57c7f7a48
kern: cleanup KThread, optimize/normalize KThreadQueue/KWaitObject
2020-12-02 06:53:14 -08:00
Michael Scire
a01f7ab1c9
kern: improve KSynchronizationObject, kill KSynchronization
2020-12-02 06:53:14 -08:00
Michael Scire
1806dc45ee
kern: update for new interrupt event locking scheme
2020-12-02 06:53:13 -08:00
Michael Scire
0e6ed3b71b
kern: fix sleep save/resume for new x18/tpidr scheme
2020-12-02 06:53:13 -08:00
Michael Scire
b0c96b3bb6
kern: fix race-crash on interrupt controller save, improve fatal output
2020-12-02 06:53:13 -08:00
Michael Scire
1582110af7
kern: KObjectContainer::Register -> void
2020-12-02 06:53:12 -08:00
Michael Scire
0c73792282
kern: Kill KCoreLocalRegion
2020-12-02 06:53:12 -08:00
Michael Scire
43a0706e96
kern: remove more of clc
2020-12-02 06:53:12 -08:00
Michael Scire
7b9b9b7a7a
kern: move scheduler/interrupt task manager out of core local region
2020-12-02 06:53:12 -08:00
Michael Scire
f36d24e1ed
kern: update KHardwareTimer, move out of KCoreLocalRegion
2020-12-02 06:53:11 -08:00
Michael Scire
8ec3f47a80
kern: use single interrupt manager object
2020-12-02 06:53:11 -08:00
Michael Scire
843e2b08fe
kern: fix unnecessary align-down
2020-12-02 06:53:11 -08:00
Michael Scire
c21e43f7e1
kern: fix error in SeparatePages
2020-12-02 06:53:11 -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
0063ede635
kern: SvcGetResourceLimitPeakValue
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
SciresM
791b402320
sdmmc: implement driver suitable for fs + bootloader
...
* sdmmc: begin skeletoning sdmmc driver
* sdmmc: add most of SdHostStandardController
* sdmmc: implement most of SdmmcController
* sdmmc: Sdmmc2Controller
* sdmmc: skeleton implementation of Sdmmc1Controller
* sdmmc: complete abstract logic for Sdmmc1 power controller
* sdmmc: implement gpio handling for sdmmc1-register-control
* sdmmc: implement pinmux handling for sdmmc1-register-control
* sdmmc: fix building for arm32 and in stratosphere context
* sdmmc: implement voltage enable/set for sdmmc1-register-control
* util: move T(V)SNPrintf from kernel to util
* sdmmc: implement BaseDeviceAccessor
* sdmmc: implement MmcDeviceAccessor
* sdmmc: implement clock reset controller for register api
* sdmmc: fix bug in WaitWhileCommandInhibit, add mmc accessors
* exo: add sdmmc test program
* sdmmc: fix speed mode extension, add CheckMmcConnection for debug
* sdmmc: add DeviceDetector, gpio: implement client api
* gpio: modernize client api instead of doing it the lazy way
* sdmmc: SdCardDeviceAccessor impl
* sdmmc: update test program to read first two sectors of sd card
* sdmmc: fix vref sel
* sdmmc: finish outward-facing api (untested)
* ams: changes for libvapours including tegra register defs
* sdmmc: remove hwinit
2020-12-02 06:52:42 -08:00
Michael Scire
10e9e0e8f9
docs/fatal error: update for 0.15.0
2020-10-26 16:03:09 -07:00
Michael Scire
0f3085b8f6
kern: perform rescheduling on dispatch re-enable ( closes #1169 )
2020-10-26 16:03:08 -07:00
Michael Scire
b953b82c3b
kern: minor behavioral fixes to condvar/address arbiter
2020-10-26 16:03:08 -07:00
Michael Scire
dbbf26f03c
ams: expose reboot payload for kernel panic
2020-10-26 16:03:06 -07:00
Michael Scire
e7e63e19b9
kern: fix KCodeMemory SVCs when Owner process != Generator process
2020-09-17 08:34:23 -07:00
Michael Scire
ba45f73e40
kern: generate fatal error on panic
2020-09-17 08:34:22 -07:00
Michael Scire
f7a3eead0c
kern: add build-define for logging to iram ringbuffer
2020-09-17 08:34:22 -07:00
Michael Scire
a1ef94c342
kern: lps driver fixes, sleep confirmed working on 1.0.0
2020-09-07 10:51:52 -07:00