Commit Graph

180 Commits

Author SHA1 Message Date
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
Berkus Decker 147a88acb4 Ignore IDE project files 2021-01-27 19:22:01 +02:00
Berkus Decker 8a5ef112be Merge pull-request #56 from metta-systems:fix/bump-dependencies to develop
Fix/bump dependencies
Closes #50
Closes #52
Closes #53
Closes #54

[close #56]
2020-12-29 18:55:10 +02:00
dependabot-preview[bot] e6cea882dd Bump cortex-a from 5.0.0 to 5.1.0
Bumps [cortex-a](https://github.com/rust-embedded/cortex-a) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/rust-embedded/cortex-a/releases)
- [Commits](https://github.com/rust-embedded/cortex-a/commits/v5.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-29 18:36:54 +02:00
dependabot-preview[bot] ed568f8ca4 Bump register from 1.0.0 to 1.0.1
Bumps [register](https://github.com/rust-embedded/register-rs) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/rust-embedded/register-rs/releases)
- [Changelog](https://github.com/rust-embedded/register-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-embedded/register-rs/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-29 18:36:47 +02:00
dependabot-preview[bot] a267ad83ad Bump snafu from 0.6.9 to 0.6.10
Bumps [snafu](https://github.com/shepmaster/snafu) from 0.6.9 to 0.6.10.
- [Release notes](https://github.com/shepmaster/snafu/releases)
- [Changelog](https://github.com/shepmaster/snafu/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shepmaster/snafu/compare/0.6.9...0.6.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-29 18:36:47 +02:00
dependabot-preview[bot] 73bc383e23 Bump qemu-exit from 1.0.0 to 1.0.1
Bumps [qemu-exit](https://github.com/andre-richter/qemu-exit) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/andre-richter/qemu-exit/releases)
- [Commits](https://github.com/andre-richter/qemu-exit/compare/v1.0.0...v1.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-29 18:36:47 +02:00
Berkus Decker 2c43585286 Merge pull-request #55 from metta-systems:fix/nightly-allocator-api to develop
Rename nightly allocator API fns
See https://github.com/rust-lang/wg-allocators/issues/76

[close #55]
2020-12-29 18:27:55 +02:00