Commit Graph

2574 Commits

Author SHA1 Message Date
Michael Scire
86a05f0369 kern: lps driver fixes, sleep confirmed working on 1.0.0 2020-09-06 19:14:24 -07:00
Michael Scire
006a903a46 kern: fix c/p error 2020-08-31 23:03:38 -07:00
Michael Scire
312160c7c0 kern: add debug logging on smmu error interrupt 2020-08-31 22:59:29 -07:00
Michael Scire
c95525600b kern: finish 1.x lps driver 2020-08-29 18:50:09 -07:00
Michael Scire
6bb4409aa8 kern: add most of 1.x lps driver 2020-08-29 18:28:13 -07:00
Michael Scire
e180240868 kern: skeleton legacy lps driver 2020-08-28 17:40:02 -07:00
Michael Scire
362657c1fc exo/kern: 1.0.0 requires access to bpmp smmu regs, userland (am) needs to map bpmp exception vectors 2020-08-26 01:36:59 -07:00
Michael Scire
c4e92f2ef1 kern: begin 1.0.0 backwards compat changes (kips run, full boot fails) 2020-08-25 23:28:39 -07:00
Michael Scire
ff22b6b19d kern: support 2-pool layout on 2.x-4.x instead of modern 4-pool layout 2020-08-25 18:10:58 -07:00
Michael Scire
6ae843d1b7 kern: change terminology metadata -> management 2020-08-25 16:12:14 -07:00
Michael Scire
63e608d148 kern: pool management should be within carveout 2020-08-24 14:10:58 -07:00
Michael Scire
e8f2ed5ffc kern: fix phys/virt pool management mixup 2020-08-24 00:03:15 -07:00
Michael Scire
bae87068a5 kern: fix linear mapped dram -> pool partition check 2020-08-23 13:29:32 -07:00
Michael Scire
4ed7dd63d1 kern: revamp KMemoryRegionType to better encode derivation hierarchies 2020-08-23 13:19:45 -07:00
Michael Scire
0a4110e03d kern: PMC must be user-mappable for 1.0.0 compat 2020-08-21 13:56:13 -07:00
Michael Scire
855a371be0 kern: expose mesosphere meta over GetInfo instead of GetSystemInfo 2020-08-21 12:18:07 -07:00
Michael Scire
dd74e596eb loader: extend memory region descriptors a touch more gracefully 2020-08-21 03:01:39 -07:00
Michael Scire
84a392c9c3 kern/pm: support for 5.x under mesosphere 2020-08-21 02:38:16 -07:00
Michael Scire
3b05db3678 loader: support MapRegion capability as an atmosphere extension (normally kips-only) 2020-08-21 02:37:06 -07:00
Michael Scire
3c0d811fb9 fusee: fix sleep/wake on 6.x 2020-08-20 23:16:58 -07:00
Michael Scire
6ebb6dee38 kern: fix warn-errors 2020-08-20 17:29:10 -07:00
Michael Scire
64e9631ff8 fusee: fixes for sd meso on lower firmwares 2020-08-20 17:28:36 -07:00
Michael Scire
f4fea574b6 fusee: change meso loading to parse INI from Nintendo's kernel 2020-08-20 14:52:24 -07:00
Michael Scire
fac502aaa3 kern: fix KTypedAddress, strengthen assertions 2020-08-18 15:17:40 -07:00
Michael Scire
47f2e93a42 kern: add version bounds checking 2020-08-18 15:17:40 -07:00
Michael Scire
56ec55f3c4 kern: avoid hardcoding maximum board memory size 2020-08-18 15:17:40 -07:00
Michael Scire
1a262c1063 kern: improve resource region size definitions/calculations 2020-08-18 15:17:40 -07:00
Michael Scire
79201428b0 kern: resolve NonSecure definition TODO 2020-08-18 15:17:40 -07:00
Michael Scire
a75c16226e kern: correct thread termination atomicity 2020-08-18 15:17:40 -07:00
Michael Scire
e5d30217d3 kern: fix reference leak in KThread::GetThreadFromId callers 2020-08-18 15:17:40 -07:00
Michael Scire
f77a4fbf98 kern: non-loop cas-weak -> cas-strong 2020-08-18 15:17:40 -07:00
Michael Scire
717265a54c kern: fix bug in KScheduler::ClearPreviousThread 2020-08-18 15:17:40 -07:00
fincs
3ace441b1c arm64: set -march in cpu specific configuration 2020-08-18 15:17:40 -07:00
fincs
2effe130e3 kern: use size instead of phys addr as sentinel value in InitializeCore linear mapping logic 2020-08-18 15:17:40 -07:00
fincs
2cedf2bcf0 kern: remove accidentally copypasted code 2020-08-18 15:17:40 -07:00
fincs
68e29b56b6 kern: add stubbed KDevicePageTable implementation for systems without iommu 2020-08-18 15:17:40 -07:00
fincs
8e688de570 kern: move SetupPoolPartitionMemoryRegions into board specific implementation 2020-08-18 15:17:40 -07:00
fincs
b917ea283e kern: make GetTargetFirmware a compile-time constant when not building for Switch 2020-08-18 15:17:40 -07:00
Michael Scire
3c85e37667 kern: use std::atomic_ref instead of reinterpret_cast to std::atomic 2020-08-18 15:17:40 -07:00
Michael Scire
48e8562033 kern: use common GIC implementation for arm/arm64 2020-08-18 15:17:40 -07:00
Michael Scire
f07bd0e337 kern: correct flushing of init arguments 2020-08-18 15:17:40 -07:00
Michael Scire
4a35904d73 kern: simplify SetupForIpcClient cleanup 2020-08-18 15:17:40 -07:00
Michael Scire
b8c2782ede kern: SvcLegacyGetFutureThreadInfo 2020-08-18 15:17:40 -07:00
Michael Scire
3ec9a9e59f kern: rename CacheHelper operation for accuracy 2020-08-18 15:17:40 -07:00
Michael Scire
595c6dbe8f kern: KPageTableBase::WriteDebugMemory stores/invalidates cache 2020-08-18 15:17:40 -07:00
Michael Scire
b5f2698bf0 kern: fix multicore instruction cache invalidation 2020-08-18 15:17:40 -07:00
Michael Scire
f058536b59 kern: add tracing for irq/scheduling 2020-08-18 15:17:40 -07:00
Michael Scire
8e5c0a9663 kern: cleanup some KMemoryManager functions 2020-08-18 15:17:40 -07:00
Michael Scire
1b63002f91 kern: refactor KMemoryLayout 2020-08-18 15:17:40 -07:00
Michael Scire
90fd771fce IntrusiveRedBlackTree: refactor to add ->GetPrev(), ->GetNext() to BaseNode inheritors 2020-08-18 15:17:40 -07:00