diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9ec82015..eecc059a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -56,6 +56,6 @@ jobs: run: brew install dtc - name: Download prebuilt user image - run: cd user && make sfsimg arch=${{ matrix.arch }} prebuilt=1 && cd .. + run: cd user && make sfsimg ARCH=${{ matrix.arch }} PREBUILT=1 && cd .. - name: Build kernel run: cd kernel && make build ARCH=${{ matrix.arch }} && cd .. diff --git a/kernel/Cargo.lock b/kernel/Cargo.lock index f064d17c..88fcc266 100644 --- a/kernel/Cargo.lock +++ b/kernel/Cargo.lock @@ -8,7 +8,7 @@ dependencies = [ "bit_field 0.9.0", "bitflags", "cast", - "register 0.2.1", + "register", "usize_conversions", "ux", ] @@ -163,15 +163,6 @@ dependencies = [ "num-traits", ] -[[package]] -name = "cortex-a" -version = "3.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6467294dffa4f14094880a0f5dab0dfc8e163d808c305378669f68c6ff1fda0" -dependencies = [ - "register 0.5.1", -] - [[package]] name = "device_tree" version = "1.0.3" @@ -600,16 +591,7 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e10f31b6d2299e5620986ad9fcdd66463e125ad72af4f403f9aedf7592d5ccdb" dependencies = [ - "tock-registers 0.2.0", -] - -[[package]] -name = "register" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "deaba5b0e477d21f61a57504bb5cef4a1e86de30300b457d38971c1cfc98b815" -dependencies = [ - "tock-registers 0.5.0", + "tock-registers", ] [[package]] @@ -724,18 +706,11 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3a385d94f3f62e60445a0adb9ff8d9621faa272234530d4c0f848ec98f88e316" -[[package]] -name = "tock-registers" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70323afdb8082186c0986da0e10f6e4ed103d681c921c00597e98d9806dac20f" - [[package]] name = "trapframe" -version = "0.4.1" -source = "git+https://github.com/rcore-os/trapframe-rs?rev=d7fcbed#d7fcbed1eb82e98b058d2796e8b5c0db719c9dd2" +version = "0.4.2" +source = "git+https://github.com/rcore-os/trapframe-rs?rev=5c6cc02#5c6cc0280e1fa6557d151b7060f6048b93ba7d18" dependencies = [ - "cortex-a", "raw-cpuid", "x86_64", ] diff --git a/kernel/Cargo.toml b/kernel/Cargo.toml index 7648afec..228485f0 100644 --- a/kernel/Cargo.toml +++ b/kernel/Cargo.toml @@ -74,7 +74,7 @@ rcore-fs-devfs = { git = "https://github.com/rcore-os/rcore-fs", rev = "517af47" rlibc = "1.0" smoltcp = { git = "https://github.com/rcore-os/smoltcp", rev = "5bd87c7c", default-features = false, features = ["alloc", "log", "ethernet", "proto-ipv4", "proto-igmp", "socket-icmp", "socket-udp", "socket-tcp", "socket-raw"] } spin = "0.5" -trapframe = { git = "https://github.com/rcore-os/trapframe-rs", rev = "d7fcbed" } +trapframe = { git = "https://github.com/rcore-os/trapframe-rs", rev = "5c6cc02" } virtio-drivers = { git = "https://github.com/rcore-os/virtio-drivers", rev = "dfa70e14" } volatile = "0.2" woke = "0.0.2" diff --git a/user b/user index a6a4eb92..93dc937e 160000 --- a/user +++ b/user @@ -1 +1 @@ -Subproject commit a6a4eb92a531041ba58382f66cdf311cac429df1 +Subproject commit 93dc937e96b6bdc1358b6e80ef53b91a21a6b8cb