Michael Scire
715eff2102
kern: update KernelLdr for 19.0.0 (new checks, dummy function call).
...
Also, fix a few very embarassing mistakes in kernel ldr:
* We have been mapping the page table region RWX for a few years now, accidentally.
* My attempt at making initial page tables not use bit 58 was broken in multiple ways.
2025-05-09 12:10:01 -07:00
Michael Scire
18473ebbe9
kern: Perform page table validity pass during KPageTableImpl::InitializeForKernel
2024-10-15 21:51:46 -07:00
Michael Scire
a6e34647de
kern: clear new pages in init page allocator, not init page table
2023-10-12 09:22:22 -07:00
Michael Scire
d21f281094
kern: remove unnecessary fields from InitArgs (0x80 -> 0x40)
2023-10-12 09:22:22 -07:00
Michael Scire
03d0fd0f62
kern: refactor init (kill identity map, merge cpu on logic)
2023-02-23 09:00:31 -07:00
Michael Scire
d066ac3d69
kern: update for new hw maintenance semantics
2022-03-23 09:16:06 -07:00
Michael Scire
610e99b277
kern: audit (and fix) our hardware maintenance instructions to match official kernel
2021-10-27 22:57:18 -07:00
Michael Scire
62bdae5b3f
kern: devirtualize most things that are free to devirtualize (see #1672 )
2021-10-26 01:11:15 -07:00
Michael Scire
960c5c19f9
ams: improve offsetof style consistency
2021-10-26 01:11:10 -07:00
Michael Scire
002422d5dc
ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals
2021-10-07 23:06:25 -07:00
Michael Scire
3e328eae72
kern: update Initialize0 for new arguments/randomization semantics
2021-09-19 10:35:38 -07:00
Michael Scire
5785447252
kern: ensure InitArguments do not cross page boundaries
2021-07-06 07:28:29 -07:00
Michael Scire
e238fa426d
kern: mostly kill magic numbers in assembly, fix SVCs >= 0x80
2021-04-29 03:04:51 -07:00
Michael Scire
d44aa9cb5d
kern: update KInitialPageTable/KInitialPageAllocator
2021-04-11 03:59:08 -07:00
Michael Scire
d247e742b8
kern: remove target-firmware logic for kernel loader
2020-12-29 13:07:57 -08:00
Michael Scire
4ddacf3384
kern: refactor to use m_ for member variables
2020-12-19 10:21:52 -08:00
Michael Scire
a15f3ba468
kern: update Initialize0 to account for new ordering
2020-12-02 06:53:17 -08:00
Michael Scire
0c73792282
kern: Kill KCoreLocalRegion
2020-12-02 06:53:12 -08:00
Michael Scire
5f885a3b22
kern: implement new software-reserved page table bits
2020-12-02 06:53:08 -08:00
Michael Scire
5bc3307ffa
kern: improve resource region size definitions/calculations
2020-09-07 10:51:45 -07:00
Michael Scire
911a81430a
kern: switch memset to optimized impl
2020-08-01 15:31:39 -07:00
Michael Scire
1f35c699a7
ams: revamp target firmware
2020-05-12 15:44:18 -07:00
Michael Scire
4496c6aa23
kern/kldr: fix bugs in physical randomization
2020-04-24 17:29:11 -07:00
Michael Scire
71027e463a
kern: implement 10.x perm change, fix many page table bugs
2020-04-24 17:29:10 -07:00
Michael Scire
432e2aa60d
kern: fix suboptimal mapping choices by kernel/kernelldr
2020-04-24 17:29:09 -07:00
Michael Scire
08b4ed8daf
kern: Update init to reflect 10.0.0 changes
2020-04-24 17:29:09 -07:00
Michael Scire
a253850abc
ams: fix boot sysmodule/kernel for 10.0.0
2020-04-15 11:55:06 -07:00
Michael Scire
b4f1833c50
kernel_ldr: update to support 10.0.0
2020-04-15 11:55:05 -07:00
Michael Scire
103122ab4c
kern: kern::arm64 -> kern::arch::arm64
2020-03-02 19:50:56 -08:00
Michael Scire
f2b38254d3
kern: implement enough of KPageTable to initialize a thread
2020-03-02 19:50:55 -08:00
Michael Scire
25048b72f5
kern: implement KThreadLocalPage
2020-03-02 19:50:46 -08:00
Michael Scire
458572283b
kern: implement KHandleTable, other cleanup
2020-03-02 19:50:46 -08:00
Michael Scire
c0e7bc5c9d
kern: Implement most of memory init (all cores hit main, but still more to do)
2020-03-02 19:50:43 -08:00
Michael Scire
27acf7bf23
meso: find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} +
2020-03-02 19:50:43 -08:00
Michael Scire
b7e9fc1513
kern: finish implementing assembly init routines
2020-03-02 19:50:42 -08:00
Michael Scire
7ee4ae460e
find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} +
2020-03-02 19:50:40 -08:00
Michael Scire
6ce4be859f
mesosphere: refactor Elf vs Elf64 distinction
2020-01-03 13:05:27 -08:00
Michael Scire
fcae4af5f7
kernelldr: miscellaneous fixes
2020-01-03 13:05:25 -08:00
Michael Scire
c85fac4c43
kernel_ldr: finish implementing all core logic.
2020-01-03 13:05:23 -08:00
SciresM
ab902694f7
Remove unnecessary copyright header.
2020-01-03 13:05:22 -08:00
Michael Scire
b74a5a2676
mesosphere: Implement kernelldr through first page table mapping
2020-01-03 13:05:21 -08:00