File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
platforms/axplat-aarch64-dyn/src Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1
1
use core:: ops:: Deref ;
2
2
3
3
use pie_boot:: boot_info;
4
+ pub use rdrive:: probe_all;
4
5
use rdrive:: {
5
- Platform , init,
6
+ Platform , init, probe_pre_kernel ,
6
7
register:: { DriverRegister , DriverRegisterSlice } ,
7
8
register_append,
8
9
} ;
@@ -13,6 +14,8 @@ pub fn setup() {
13
14
init ( Platform :: Fdt { addr : fdt } ) . unwrap ( ) ;
14
15
15
16
register_append ( & driver_registers ( ) ) ;
17
+
18
+ probe_pre_kernel ( ) . unwrap ( ) ;
16
19
}
17
20
18
21
fn driver_registers ( ) -> impl Deref < Target = [ DriverRegister ] > {
Original file line number Diff line number Diff line change @@ -69,6 +69,8 @@ impl InitIf for InitIfImpl {
69
69
/// * Other platform devices are initialized.
70
70
fn init_later ( cpu_id : usize , arg : usize ) {
71
71
driver:: setup ( ) ;
72
+
73
+ driver:: probe_all ( true ) . unwrap ( ) ;
72
74
}
73
75
74
76
/// Initializes the platform at the later stage for secondary cores.
You can’t perform that action at this time.
0 commit comments