Skip to content

Commit 77cd163

Browse files
committed
update
1 parent f990a8c commit 77cd163

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

platforms/axplat-aarch64-dyn/src/driver.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
use core::ops::Deref;
22

33
use pie_boot::boot_info;
4+
pub use rdrive::probe_all;
45
use rdrive::{
5-
Platform, init,
6+
Platform, init, probe_pre_kernel,
67
register::{DriverRegister, DriverRegisterSlice},
78
register_append,
89
};
@@ -13,6 +14,8 @@ pub fn setup() {
1314
init(Platform::Fdt { addr: fdt }).unwrap();
1415

1516
register_append(&driver_registers());
17+
18+
probe_pre_kernel().unwrap();
1619
}
1720

1821
fn driver_registers() -> impl Deref<Target = [DriverRegister]> {

platforms/axplat-aarch64-dyn/src/init.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ impl InitIf for InitIfImpl {
6969
/// * Other platform devices are initialized.
7070
fn init_later(cpu_id: usize, arg: usize) {
7171
driver::setup();
72+
73+
driver::probe_all(true).unwrap();
7274
}
7375

7476
/// Initializes the platform at the later stage for secondary cores.

0 commit comments

Comments
 (0)