Skip to content

Commit

Permalink
build: Change to use aarch64-cpu crate
Browse files Browse the repository at this point in the history
"cortex-a" crate has been renamed to "aarch64-cpu", and is deprecated.
This commit replace this crate with "aarch64-cpu" crate.

Signed-off-by: Akira Moroo <retrage01@gmail.com>
  • Loading branch information
retrage committed Jan 24, 2023
1 parent 271feeb commit 376ebd0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ linked_list_allocator = "0.10.4"

[target.'cfg(target_arch = "aarch64")'.dependencies]
tock-registers = "0.8.1"
cortex-a = "8.1.1"
aarch64-cpu = "9.3.1"
fdt = "0.1.4"
chrono = { version = "0.4", default-features = false }

Expand Down
2 changes: 1 addition & 1 deletion src/arch/aarch64/paging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use core::ops::RangeInclusive;

use cortex_a::{asm::barrier, registers::*};
use aarch64_cpu::{asm::barrier, registers::*};
use tock_registers::interfaces::{ReadWriteable, Readable, Writeable};

use self::interface::Mmu;
Expand Down

0 comments on commit 376ebd0

Please sign in to comment.