Michael Scire
77fe5cf6f5
ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals
2021-10-04 12:59:10 -07:00
Michael Scire
481ce12b7b
kern: update Initialize0 for new arguments/randomization semantics
2021-09-19 10:34:31 -07:00
Michael Scire
2c4bd44d7e
kern: support dynamic resource expansion for system heaps/events/sessions.
2021-09-19 10:34:31 -07:00
Michael Scire
cb28150912
kern: kill the interrupt task manager thread
2021-09-19 10:34:31 -07:00
Michael Scire
ebb0bd2b41
kern: improve single-step around user-exception entry
2021-09-11 19:41:47 -07:00
Michael Scire
9e7b56b33c
kern: optimize hw-single-step management
2021-09-11 19:41:47 -07:00
Michael Scire
4075d24e0c
kern: add hardware single step extension
2021-09-11 19:41:47 -07:00
Michael Scire
14d458522d
kern: update initial cache management to match latest kernel
2021-07-12 18:30:01 -07:00
Michael Scire
7821241356
kern: fix enormous whoops
2021-05-31 04:20:59 -07:00
Michael Scire
4f16106702
exo/meso: update for gcc 11 compatibility
2021-04-26 20:06:18 -07:00
Michael Scire
19be54ff95
kern: fix initial process binary load on 2.0.0-4.1.0 ( closes #1460 )
2021-04-21 19:24:41 -07:00
Michael Scire
037b04ac60
kern: mostly kill magic numbers in assembly, fix SVCs >= 0x80
2021-04-14 18:01:08 -07:00
Michael Scire
0f8b7be2d2
kern: load initial process binary from user pool, rather than from pt heap
2021-04-11 03:42:16 -07:00
Michael Scire
a1e137cc1c
kern: update Initialize0 for new changes
2021-04-11 03:42:16 -07:00
Michael Scire
c216f92a91
kern: swap tpidr_el1/cntv_cval_el0 as scratch vs exception stack
2021-04-11 03:42:16 -07:00
Michael Scire
2fb258ca7e
kern: update KInitialPageTable/KInitialPageAllocator
2021-04-11 03:42:16 -07:00
Michael Scire
4b9e7c7d27
kern: bump svc limit to 192 from 128
2021-04-11 03:42:16 -07:00
Michael Scire
a6e3a93c07
kern: discard std::__cmpexch_failure_order(std::memory_order)
2021-01-08 02:44:04 -08:00
Michael Scire
113ab8439d
kern: fix KTrace buffer memory region type to match official kernel
2020-12-28 00:57:45 -08:00
Michael Scire
7e1da15f6e
kern: update Initialize0 to account for new ordering
2020-12-02 06:43:37 -08:00
Michael Scire
aac8af8bf5
kern: update KMemoryRegion to store last address rather than size
2020-12-02 06:43:37 -08:00
Michael Scire
550f5690bf
kern: set EL2 id registers on deprivilege
2020-12-02 06:43:37 -08:00
Michael Scire
1852fe8612
kern: improve KSynchronizationObject, kill KSynchronization
2020-12-02 06:43:37 -08:00
Michael Scire
b0debd72a7
kern: Kill KCoreLocalRegion
2020-12-02 06:43:37 -08:00
Michael Scire
aae565629e
kern: move scheduler/interrupt task manager out of core local region
2020-12-02 06:43:37 -08:00
Michael Scire
bee629b8ad
kern: update KHardwareTimer, move out of KCoreLocalRegion
2020-12-02 06:43:37 -08:00
Michael Scire
5cb237d030
kern: use single interrupt manager object
2020-12-02 06:43:37 -08:00
SciresM
ac04e02a08
Meso build targets ( #1196 )
...
* meso: commit wip (thanks fincs) rewrite to support build targets
* meso: commit mostly-working build system
* meso: correct .o dependencies in kernel/kldr
* libstratosphere: fix building after PCH related build changes
Co-authored-by: fincs <fincs@devkitpro.org>
2020-10-27 13:55:19 -07:00
Michael Scire
4da1fe545c
kern: fix linear mapped dram -> pool partition check
2020-09-07 10:43:35 -07:00
Michael Scire
1983f86875
kern: revamp KMemoryRegionType to better encode derivation hierarchies
2020-09-07 10:43:35 -07:00
Michael Scire
1a262c1063
kern: improve resource region size definitions/calculations
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
b917ea283e
kern: make GetTargetFirmware a compile-time constant when not building for Switch
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
1b63002f91
kern: refactor KMemoryLayout
2020-08-18 15:17:40 -07:00
Michael Scire
e5b7eb89e5
kern: fix built-in usage for libc
2020-08-18 15:17:40 -07:00
Michael Scire
f9d68db3f6
kern: SvcChangeKernelTraceState
2020-08-18 15:17:40 -07:00
Michael Scire
73798cb812
kern: build with -Wextra
2020-08-17 14:20:24 -07:00
Michael Scire
420bc7df9b
ams: update build system to add generic-fallback support
2020-08-11 11:22:56 -07:00
Michael Scire
29358dc593
kernel_ldr: use unoptimized memcpy before mmu bringup ( closes #1102 )
...
Before the MMU is up, all reads/writes must be aligned; the optimized
memcpy implementation does not guarantee all reads/writes it performs
are aligned.
This commit splits the libc impl to be separate for kernel/kernel_ldr,
and so now only kernel will use the optimized impl. This is safe,
as the MMU is brought up before kernel begins executing.
2020-08-02 14:40:28 -07:00
Michael Scire
8cd81b3092
kern: fix dynamic calculation of slab heap size
2020-07-31 14:50:52 -07:00
Michael Scire
1ffe08672d
kern: fix EL0 TLB conflict handler
2020-07-31 14:50:52 -07:00
Michael Scire
9231646f33
kern: implement SvcSleepSystem
2020-07-31 14:50:52 -07:00
Michael Scire
5fa59ec888
kern: fix kscheduler interrupt api, adjust debug logging
2020-07-31 14:50:52 -07:00
Michael Scire
9beb05da50
kern: retrieve target firmware from exosphere instead of hardcoding
2020-07-31 14:50:52 -07:00
Michael Scire
ef1763334b
kern: patch svc tables via asm, instead of relying on compiler to be nice
2020-07-31 14:50:52 -07:00
SciresM
3a1ccdd919
Switch atmosphere's build target to C++20. ( #952 )
...
* ams: update to build with gcc10/c++20
* remove mno-outline-atomics
* ams: take care of most TODO C++20s
* fusee/sept: update for gcc10
* whoosh, your code now uses pre-compiled headers
* make: dependency fixes
2020-05-11 15:02:10 -07:00
Michael Scire
8e75a4169d
ams: revamp target firmware
2020-05-06 22:29:07 -07:00
Michael Scire
970b85bf9a
kern: implement KUnsafeMemory
2020-04-26 02:35:10 -07:00