Commit Graph

131 Commits

Author SHA1 Message Date
Berkus Decker 1bc062081e wip untypeds boot 2021-07-11 21:21:48 +03:00
Berkus Decker 644426d806 wip mmu 2021-07-11 21:21:48 +03:00
Berkus Decker cba96c8de3 add paging illustration
this sample pretends that each directory has only
2 table entries.
2021-07-11 21:21:48 +03:00
Berkus Decker bb7316a7cb wip mmu plans 2021-07-11 21:21:48 +03:00
Berkus Decker ec8cac260f [wip] future crates to use 2021-07-11 21:21:48 +03:00
Berkus Decker 973c78cd3d Enable selecting target board 2021-07-11 21:21:48 +03:00
Berkus Decker adbf5c413a Add RasPi4-specific target configuration for OpenOCD
Update and move rpi3 jtag configs.
Add rpi bringup doc - lists romtables for configuring.
2021-07-11 21:21:48 +03:00
Berkus Decker 0208b0f879 Update OpenOCD version
RTT patch has been merged, so use the latest 0.11.0-rc2+dev-01576-g0d9e8bd52-dirty
2021-07-11 21:21:48 +03:00
Berkus Decker e8baa13fc3 wip improve mmu mapping code 2021-07-11 21:21:48 +03:00
Berkus Decker 2b6f1bedf4 [temp] allow dead_code while this code is experimental and unused 2021-07-11 21:21:48 +03:00
Berkus Decker c1e0a8f3dd [sq] make error enum public 2021-07-11 21:21:48 +03:00
Berkus Decker b787a2224d [sq] fix iterator checks 2021-07-11 21:21:48 +03:00
Berkus Decker bf291b917f Switch to usize for alignment checks 2021-07-11 21:21:48 +03:00
Berkus Decker ff12867b02 [sq] fix unused Result 2021-07-11 21:21:48 +03:00
Berkus Decker cc163e6d61 [sq] add missing documentation 2021-07-11 21:21:48 +03:00
Berkus Decker 389a6971b7 [wip] comment out unported code 2021-07-11 21:21:48 +03:00
Berkus Decker e33f99786b [sq] use static_assertions 2021-07-11 21:21:48 +03:00
Berkus Decker 81974b40c7 [wip] reshuffle stuff around - to be finalized 2021-07-11 21:20:10 +03:00
Berkus Decker 6c77d0930c [sq] add missing Clone derives 2021-07-11 20:54:36 +03:00
Berkus Decker a6266dc385 Make boot info compile 2021-07-11 20:54:36 +03:00
Berkus Decker 15323fe7f3 Make features printing compile 2021-07-11 20:54:36 +03:00
Berkus Decker 55e1761492 [wip] directory levels traversal 2021-07-11 20:54:36 +03:00
Berkus Decker 3c6fcfcf10 [wip] memory map initialization 2021-07-11 20:54:36 +03:00
Berkus Decker 07d7f9cd9e Update todos 2021-07-11 20:54:36 +03:00
Berkus Decker 083711b61e [wip] Improve virt_page impl and add tests 2021-07-11 20:54:36 +03:00
Berkus Decker f26fa39265 [fixme] move those out 2021-07-11 20:54:36 +03:00
Berkus Decker d278383184 Move PageSize to a mod and implement it for phys frames and virt pages 2021-07-11 20:54:36 +03:00
Berkus Decker 1eed756d04 sq we use snafu already 2021-07-11 20:54:36 +03:00
Berkus Decker 633dbd191f Implement comparison for invalid virt address error
Similar to PhysAddrNotValid.
2021-07-11 20:54:36 +03:00
Berkus Decker e215f9d62c [wip] add to-kernel-space/from-kernel-space address conversion 2021-07-11 20:54:36 +03:00
Berkus Decker de91603059 [wip] necessary modifications 2021-07-11 20:54:36 +03:00
Berkus Decker 825806fdd7 Start moving code to a new mmu2 module 2021-07-11 20:54:36 +03:00
Berkus Decker 9b5d7b14d3 Document TODO steps 2021-07-11 20:52:12 +03:00
Berkus Decker bd4015679c drop obsolete stuff 2021-07-11 20:52:12 +03:00
Berkus Decker da52104b53 sq extract features 2021-07-11 20:52:12 +03:00
Berkus Decker 851e691534 [wip] extract virt_page code 2021-07-11 20:52:12 +03:00
Berkus Decker 35097458b2 [wip] extract phys_frame code 2021-07-11 20:52:12 +03:00
Berkus Decker fa10d649e4 [wip] extract mmu features printer 2021-07-11 20:52:12 +03:00
Berkus Decker 119017c703 [wip] Add boot memory regions info 2021-07-11 20:52:12 +03:00
Berkus Decker 3c3ce334ca [wip] mmu experiments 2021-07-11 20:52:12 +03:00
Berkus Decker 36b2d92515 Import interfaces only when used
Fixes clippy noserial check deny(unused_imports).
2021-07-11 20:27:41 +03:00
Berkus Decker 7af16897ec Relax several clippy checks 2021-07-11 19:58:57 +03:00
Berkus Decker 155ae413b4 Replace wildcard imports with specific ones 2021-07-11 17:00:00 +03:00
Berkus Decker e4b12e2c45 Update to latest versions of dependencies 2021-07-10 03:27:47 +03:00
Berkus Decker 1644f299fe Make long hex constants readable in align tests 2021-01-27 20:10:32 +02:00
Berkus Decker 82d44a9c62 Add ASID type 2021-01-27 20:10:32 +02:00
Berkus Decker 856c4a9e68 Fix PhysAddr test 2021-01-27 19:55:52 +02:00
Berkus Decker 6281204062 Split addr module 2021-01-27 19:55:52 +02:00
Berkus Decker d3f561d214 Implement shifts for PhysAddr 2021-01-27 19:55:52 +02:00
Berkus Decker 50e955c6a7 Print test names in test_runner
Based on os.phil-opp.com Testing chapter.
2021-01-27 19:22:48 +02:00