Home
last modified time | relevance | path

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

/DragonOS/kernel/src/arch/riscv64/driver/
H A Dof.rs5 init::boot_params,
13 let bp_guard = boot_params().read(); in map_fdt()
33 let mut bp_guard = boot_params().write(); in map_fdt()
/DragonOS/kernel/src/init/
H A Dboot.rs14 use super::boot_params;
160 let mut boot_params = boot_params().write(); in boot_callback_except_early() localVariable
161 boot_params.bootloader_name = boot_callbacks() in boot_callback_except_early()
164 boot_params.acpi = boot_callbacks() in boot_callback_except_early()
H A Dcmdline.rs10 use super::boot_params;
260 let boot_params = boot_params().read(); in early_init() localVariable
262 for argument in self.split_args(boot_params.boot_cmdline_str()) { in early_init()
305 let boot_params = boot_params().read(); in init() localVariable
308 for argument in self.split_args(boot_params.boot_cmdline_str()) { in init()
H A Dmod.rs15 pub fn boot_params() -> &'static RwLock<BootParams> { in boot_params() function
/DragonOS/kernel/src/arch/riscv64/
H A Dcpu.rs5 init::boot_params,
22 return boot_params().read_irqsave().arch.boot_hartid; in current_cpu_id()
128 let hartid = boot_params().read().arch.boot_hartid; in init_local_context()
/DragonOS/kernel/src/arch/riscv64/init/
H A Dmod.rs12 init::{boot_params, init::start_kernel},
99 let fdt_paddr = boot_params().read().arch.fdt_paddr; in parse_dtb()
118 let mut arch_boot_params_guard = boot_params().write(); in early_setup_arch()
/DragonOS/kernel/src/driver/open_firmware/
H A Dfdt.rs11 init::boot_params,
81 let fdt_vaddr = boot_params().read().fdt().ok_or(SystemError::ENODEV)?; in fdt_ref()
141 boot_params() in early_init_scan_chosen()
149 debug!("Command line: {}", boot_params().read().boot_cmdline_str()); in early_init_scan_chosen()
299 let vaddr = boot_params().read().fdt(); in early_init_fdt_scan_reserved_mem()
333 let fdt_paddr = boot_params().read().arch.fdt_paddr; in early_reserve_fdt_itself()
/DragonOS/kernel/src/arch/x86_64/init/pvh/
H A Dmod.rs16 boot_params,
51 boot_params() in init_kernel_cmdline()
/DragonOS/kernel/src/driver/video/
H A Dmod.rs5 init::boot_params,
81 let mut bp = boot_params().write_irqsave(); in init_frame_buffer()
176 let boot_params_guard = boot_params().read(); in video_init()
/DragonOS/kernel/src/driver/firmware/efi/
H A Dfdt.rs9 use crate::init::boot_params;
113 boot_params() in get_fdt_params()
/DragonOS/kernel/src/driver/acpi/
H A Dmod.rs10 init::{boot::BootloaderAcpiArg, boot_params},
68 let acpi_args = boot_params().read().acpi; in init()
/DragonOS/kernel/src/arch/x86_64/init/
H A Dmultiboot2.rs19 boot_params,
93 boot_params() in init_kernel_cmdline()
/DragonOS/kernel/src/driver/video/fbdev/
H A Dvesafb.rs35 init::{boot::boot_callbacks, boot_params, initcall::INITCALL_DEVICE},
337 let bp = boot_params().read(); in fb_read()
358 let bp = boot_params().read(); in fb_write()
386 let boot_param = boot_params().read(); in fb_fillrect()
444 let bp = boot_params().read(); in fb_copyarea()
927 let mut boot_params_guard = boot_params().write(); in vesafb_early_init()
956 let boot_params_guard = boot_params().read(); in vesa_fb_device_init()
/DragonOS/kernel/src/driver/video/fbdev/base/
H A Dmod.rs7 init::boot_params,
66 let boot_param = boot_params().read(); in generic_imageblit()