Home
last modified time | relevance | path

Searched refs:FDT_GLOBAL_DATA (Results 1 – 1 of 1) sorted by relevance

/DragonOS-0.1.9/kernel/src/driver/open_firmware/
Dfdt.rs20 static FDT_GLOBAL_DATA: RwLock<FdtGlobalData> = RwLock::new(FdtGlobalData::new()); constant
76 let mut guard = FDT_GLOBAL_DATA.write(); in early_init_scan_root()
101 FDT_GLOBAL_DATA.write().chosen_node_name = Some(CHOSEN_NAME2); in early_init_scan_chosen()
104 FDT_GLOBAL_DATA.write().chosen_node_name = Some(CHOSEN_NAME1); in early_init_scan_chosen()
154 let addr_cells = FDT_GLOBAL_DATA.read().root_addr_cells as usize; in early_init_scan_memory()
155 let size_cells = FDT_GLOBAL_DATA.read().root_size_cells as usize; in early_init_scan_memory()
361 FDT_GLOBAL_DATA.read(); in reserved_mem_reserve_reg()
377 let addr_cells = FDT_GLOBAL_DATA.read().root_addr_cells as usize; in reserved_mem_reserve_reg()
378 let size_cells = FDT_GLOBAL_DATA.read().root_size_cells as usize; in reserved_mem_reserve_reg()