Commit Graph

160 Commits

Author SHA1 Message Date
Berkus Decker 145006b400 wip caps 2020-12-29 19:26:40 +02:00
Berkus Decker eabc36845a wip objs 2020-12-29 19:26:40 +02:00
Berkus Decker f4000966b3 [sq] fix typo 2020-12-29 19:26:40 +02:00
Berkus Decker 8b0468a995 [wip] bump dependencies 2020-12-29 19:26:40 +02:00
Berkus Decker fe2cf95d4e sq typo? 2020-12-29 19:26:40 +02:00
Berkus Decker e6580a5465 sq misc comments 2020-12-29 19:26:40 +02:00
Berkus Decker 56aca62409 sq formatting 2020-12-29 19:26:40 +02:00
Berkus Decker ba8e8ae5ae [del] Make LocalRegisterCopy modifiable 2020-12-29 19:26:40 +02:00
Berkus Decker b14cc2ac22 [del] [wip] all builds 2020-12-29 19:26:40 +02:00
Berkus Decker db810ade9a [del] tock-registers: Add u128 Field test 2020-12-29 19:26:40 +02:00
Berkus Decker e3c9926a43 [del] tock-registers: Inline more aggressively 2020-12-29 19:26:40 +02:00
Berkus Decker b3ddfc5665 [del] tock-registers: Replace manual repeated impls with macros 2020-12-29 19:26:40 +02:00
Berkus Decker 0cf8a88f12 [del] tock-registers: Implement mask() accessor for Field 2020-12-29 19:26:40 +02:00
Berkus Decker b2c99f52c7 [del] Add local copy of tock-registers with u128 impl of IntLike 2020-12-29 19:26:40 +02:00
Berkus Decker b025fb6dd3 Add missing docs 2020-12-29 19:26:40 +02:00
Berkus Decker 4c9703340e Add snafu for errors 2020-12-29 19:26:40 +02:00
Berkus Decker ffde65fb81 [temp] comment out unused boot fn 2020-12-29 19:26:40 +02:00
Berkus Decker f25ace0a80 sq buildable caps 2020-12-29 19:26:40 +02:00
Berkus Decker ee1b5fc57a [blog] Move general comments to separate file 2020-12-29 19:26:40 +02:00
Berkus Decker 15a38d5689 [del] git subrepo clone git@github.com:metta-systems/tock-registers.git crates/tock-registers
subrepo:
  subdir:   "crates/tock-registers"
  merged:   "4d8202452"
upstream:
  origin:   "git@github.com:metta-systems/tock-registers.git"
  branch:   "master"
  commit:   "4d8202452"
git-subrepo:
  version:  "0.3.1"
  origin:   "???"
  commit:   "???"
2020-12-29 19:26:40 +02:00
Berkus Decker be1873b678 [del] temp - disable stuff 2020-12-29 19:26:40 +02:00
Berkus Decker c75db1e2d6 [wip] Replace mashup! with paste! 2020-12-29 19:26:40 +02:00
Berkus Decker ec7172aded [wip] various deps 2020-12-29 19:26:40 +02:00
Berkus Decker 333dece260 [wip] experiment with caps representation 2020-12-29 19:26:40 +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
Berkus Decker 20363a7e25 Fix wasteful empty loop
Thanks, clippy!
2020-12-29 18:12:38 +02:00
Berkus Decker a53ede11af Rename nightly allocator API fns 2020-12-29 18:01:07 +02:00
Berkus Decker 7e9d325b14 Merge pull-request #48 from metta-systems:update/bump-dependencies to develop
Bump cortex-a and register-rs dependencies
Closes #44
Closes #45

[close #48]
2020-11-24 22:53:00 +02:00
Berkus Decker 74303ac7c1 Bump cortex-a and register-rs dependencies 2020-11-24 22:28:40 +02:00
Berkus Decker c20faca3bd Merge pull-request #46 from metta-systems:fix/gitpod-workspace to develop
Update gitpod configuration
According to some setup docs and example in workspace-full Dockerfile.

[close #46]
2020-11-24 22:26:34 +02:00
Berkus Decker 7def43ad97 Update gitpod configuration
According to some setup docs and example in workspace-full Dockerfile.
2020-11-24 21:01:40 +02:00
Berkus Decker 32a738994d Merge pull-request #47 from metta-systems:fix/bind-qemu-version to develop
Don't install rc version of qemu on windows
Who even decided that intalling rc by default is a good idea?

[close #47]
2020-11-24 19:51:54 +02:00
Berkus Decker c174ad204b Don't install rc version of qemu on windows
Who even decided that intalling rc by default is a good idea?
2020-11-24 17:54:36 +02:00
Berkus Decker 1c37e0dfba Merge pull-request #41 from metta-systems:feature/add-menus to develop
Feature/add menus
Add serial-driven menu system for playing with kernel features.

[close #41]
2020-11-20 05:03:02 +02:00
Berkus Decker f3103126ab Add simple serial menu for playing with kernel 2020-11-20 04:35:06 +02:00
Berkus Decker 42c3ace1fa Merge pull-request #39 from metta-systems:fix/bootup-cleanup to develop
Fix/bootup cleanup

[close #39]
2020-11-20 04:01:57 +02:00
Berkus Decker b4205f5ce6 Revert “Adjust for nightly rustfmt bug”
367ad5bbb2

https://github.com/rust-lang/rustfmt/issues/4528
is now fixed.
2020-11-20 03:09:43 +02:00
Berkus Decker d85d824bfd Switch on MMU immediately to avoid unaligned access
Since enabling armv6 unaligned access bit U in CP15 C1
requires AArch32 assembly and I don't want to introduce
yet another boot stub, I'll just initialize MMU right away
- this causes CPU to treat SCTLR_EL1.A differently and not
cause any alignment faults.

In the future, a small AArch32 boot stub that uses
now commented out fn enable_armv6_unaligned_access()
should be used to set U=1 and A=0 for full unaligned
access even when MMU is off. See ARM documentation
linked from that fn.
2020-11-20 03:09:43 +02:00
Berkus Decker 1de52fa109 Disable stack align checks
As with data align checks lets not fault on this yet.
2020-11-20 03:09:00 +02:00
Berkus Decker 696307f30c Improve traps printing 2020-11-20 03:08:40 +02:00
Berkus Decker 4cb6f29e0d Clean up boot-order
Extract shared code, fix comments.
2020-11-20 03:08:40 +02:00
Berkus Decker 8265b06474 Merge pull-request #38 from metta-systems:feature/display-output to develop
Feature/display output

[close #38]
2020-11-19 15:19:39 +02:00
Berkus Decker 43d5e4ea21 Suppress clippy warning
For now, no api change.
2020-11-19 14:50:52 +02:00
Berkus Decker 3147e5327a Add display demo in main 2020-11-19 04:05:52 +02:00
Berkus Decker e72fac01b0 Add Display output 2020-11-19 04:05:52 +02:00