Commit Graph

187 Commits

Author SHA1 Message Date
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 a7474f2b24 [sq] Drop invalid PDF from some old arm 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 3f98cbe8ec [wip] MMU docs 2021-07-11 20:52:12 +03:00
Berkus Decker 3c3ce334ca [wip] mmu experiments 2021-07-11 20:52:12 +03:00
Berkus Decker 062591fb48 Merge pull-request #72 from metta-systems:update/latest-nightly to develop
Update to latest nightly

[close #72]
2021-07-11 20:51:13 +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 a9b9aac50d Backtrace macro expansion for better error reporting 2021-07-11 19:58:45 +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
dependabot-preview[bot] 79f7ebcaab Upgrade to GitHub-native Dependabot 2021-05-04 14:14:45 +03:00
Berkus Decker 77e3423273 Bump dependencies
Updating cortex-a v5.1.0 -> v5.1.6
    Updating qemu-exit v1.0.1 -> v1.0.2
    Updating quote v1.0.7 -> v1.0.9
    Updating register v1.0.1 -> v1.0.2
    Updating syn v1.0.48 -> v1.0.64
2021-03-22 01:37:59 +02:00
Berkus Decker 0f4824afd3 Merge pull-request #62 from metta-systems:fix/misc-improvements to develop
Fix/misc improvements
Pull various cleanups from other experimental branches.

[close #62]
2021-01-27 22:09:18 +02: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 01906a02bc Update rust-toolchain file for new rustup
Rustup since version 1.23.0 supports more detailed specification.
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
Berkus Decker 601cf7a784 Add documentation target
Type `just doc` to see documentation in browser.

Improve doc comments in code to support
rustdoc links format.
2021-01-27 19:22:48 +02:00