Rename project and change target to riscv64imac

This commit is contained in:
gil 2024-05-14 09:41:57 -05:00
parent 7c7bb75d4c
commit 3e197b9882
3 changed files with 20 additions and 9 deletions

View file

@ -1,8 +1,9 @@
# .cargo/config.toml
[build]
target = "riscv32imac-unknown-none-elf"
target = "riscv64imac-unknown-none-elf"
# options for riscv32 (not currently in use)
[target.riscv32imac-unknown-none-elf]
runner = """ qemu-system-riscv32
-cpu rv32
@ -12,3 +13,13 @@ runner = """ qemu-system-riscv32
-nographic
-serial mon:stdio
-bios """
[target.riscv64imac-unknown-none-elf]
runner = """ qemu-system-riscv64
-cpu rv64
-machine virt
-m 150M
-s
-nographic
-serial mon:stdio
-bios """

14
Cargo.lock generated
View file

@ -8,6 +8,13 @@ version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
[[package]]
name = "kernel"
version = "0.1.0"
dependencies = [
"spinning_top",
]
[[package]]
name = "lock_api"
version = "0.4.12"
@ -18,13 +25,6 @@ dependencies = [
"scopeguard",
]
[[package]]
name = "riscv-uefi"
version = "0.1.0"
dependencies = [
"spinning_top",
]
[[package]]
name = "scopeguard"
version = "1.2.0"

View file

@ -1,5 +1,5 @@
[package]
name = "riscv-uefi"
name = "kernel"
version = "0.1.0"
edition = "2021"