Michael Scire
2fb258ca7e
kern: update KInitialPageTable/KInitialPageAllocator
2021-04-11 03:42:16 -07:00
Michael Scire
8bfda27e0e
kern: remove target-firmware logic for kernel loader
2020-12-29 12:21:41 -08:00
Michael Scire
af259eabda
kern: implement thread call stack debug
2020-12-09 22:49:04 -08:00
Michael Scire
7e1da15f6e
kern: update Initialize0 to account for new ordering
2020-12-02 06:43:37 -08:00
Michael Scire
7cb24713ab
kldr: update for 11.0.0
2020-12-02 06:43:37 -08:00
Michael Scire
1a262c1063
kern: improve resource region size definitions/calculations
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
b5f2698bf0
kern: fix multicore instruction cache invalidation
2020-08-18 15:17:40 -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
e1f3bb10a5
kern: clean up majority of TODOs
2020-07-31 14:50:52 -07:00
Michael Scire
7352d87b20
kern: switch memset to optimized impl
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
ff022115ca
kern: Support older SVC ABIs
2020-07-31 14:50:52 -07:00
Michael Scire
33434e21ef
kern: Prepare to commit cardinal sin
2020-07-13 17:00:51 -07:00
Michael Scire
8e75a4169d
ams: revamp target firmware
2020-05-06 22:29:07 -07:00
Michael Scire
6ad0f0e7f2
kern/kldr: fix bugs in physical randomization
2020-04-22 03:45:21 -07:00
Michael Scire
b39b6f0d5b
kern: implement 10.x perm change, fix many page table bugs
2020-04-19 17:16:19 -07:00
Michael Scire
bc1d3ccc91
kern: Update init to reflect 10.0.0 changes
2020-04-18 22:19:09 -07:00
Michael Scire
94b10b5779
ams: fix boot sysmodule/kernel for 10.0.0
2020-04-14 10:11:58 -07:00
Michael Scire
116e00c21c
kernel_ldr: update to support 10.0.0
2020-04-14 07:38:01 -07:00
Michael Scire
c91386b0fa
kern: implement interrupt thread init
2020-02-14 02:20:33 -08:00
Michael Scire
19e6d2e1c0
kernel_ldr: fix consistency on hardware
2020-02-13 22:53:26 -08:00
Michael Scire
364b04b68a
libmesosphere: move .s to kernel (prevent manifesting in kernelldr)
2020-02-13 22:05:20 -08:00
Michael Scire
cb6af379d8
kern: implement dynamic slab init + ini relocation
2020-02-07 04:58:35 -08:00
Michael Scire
981bb1f15d
kern: skeleton enough types to init KCoreLocalRegion in main()
2020-01-29 14:26:24 -08:00
Michael Scire
e7dee2a9fc
kern: Implement most of memory init (all cores hit main, but still more to do)
2020-01-28 22:09:47 -08:00
Michael Scire
32fb22e361
kern: finish implementing assembly init routines
2020-01-24 02:11:26 -08:00
Michael Scire
bce7133128
meso: add script to build mesosphere.bin
2020-01-24 02:11:24 -08:00
Michael Scire
3982afdd6b
meso: skeleton buildsystem for kernel
2020-01-24 02:11:23 -08:00
Michael Scire
6ecf04c3b7
find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} +
2020-01-24 02:10:40 -08:00
Michael Scire
bf5bbfbcef
kernel_ldr: clean up KSystemControl init API
2019-12-31 00:46:09 -08:00
Michael Scire
d10621e832
mesosphere: refactor Elf vs Elf64 distinction
2019-12-31 00:46:09 -08:00
Michael Scire
f78653d815
kernelldr: miscellaneous fixes
2019-12-31 00:46:09 -08:00
Michael Scire
8efdd04fcd
kernel_ldr: finish implementing all core logic.
2019-12-31 00:46:09 -08:00
fincs
623b5f4eb9
meso: miscellaneous cleanup and build fixes
2019-12-31 00:46:09 -08:00
Michael Scire
2866cb5fe6
mesosphere: Implement kernelldr through first page table mapping
2019-12-31 00:46:09 -08:00
Michael Scire
b5becba8ff
kernelldr: skeleton build system in prep for dev
2019-12-31 00:46:09 -08:00