/DragonOS/build-scripts/kernel_build/src/kconfig/ |
H A D | mod.rs | 20 if m.enable() { in build() 40 if f.enable() { in make_compile_cfg() 72 if m.enable() { in dfs() 116 let enable = f.get("enable").unwrap().as_str().unwrap().to_string() == "y"; in parse_d_config() localVariable 117 r.push(Feature::new(name, enable)); in parse_d_config() 139 let enable = module.get("enable").unwrap().as_str().unwrap() == "y"; in include() localVariable 140 r.push(Module::new(name, path, enable)); in include() 154 enable: bool, field 158 pub fn new(name: String, path: PathBuf, enable: bool) -> Module { in new() 159 Module { name, path, enable } in new() [all …]
|
/DragonOS/docs/kernel/configuration/ |
H A D | config.md | 15 enable = "y" 21 enable = "y" 29 - **enable:** 45 enable = "y" 50 enable = "y" 61 - **enable:** 是否开启 78 enable = "y" 91 enable = "y"
|
/DragonOS/kernel/crates/kprobe/src/arch/ |
H A D | mod.rs | 80 enable: bool, field 94 enable: bool, in new() 105 enable, in new() 140 enable: bool, field 181 self.enable = false; in disable() 184 pub fn enable(&mut self) { in enable() method 185 self.enable = true; in enable() 189 self.enable in is_enabled() 208 enable: value.enable, in from()
|
/DragonOS/kernel/src/debug/kprobe/ |
H A D | args.rs | 15 pub enable: bool, field 56 kprobe_info.enable, in try_from()
|
H A D | test.rs | 48 enable: true, in kprobe_test() 68 enable: true, in kprobe_test()
|
/DragonOS/docs/kernel/trace/ |
H A D | kprobe.md | 44 pub fn enable(&mut self) 55 - `disable` 和 `enable` 用于动态关闭kprobe,在`disable`调用后,kprobe被触发时不执行回调函数
|
H A D | eBPF.md | 276 fn enable(&self) -> Result<()> { 277 panic!("enable not implemented");
|
/DragonOS/kernel/src/perf/ |
H A D | kprobe.rs | 127 fn enable(&self) -> Result<()> { in enable() method 128 self.kprobe.write().enable(); in enable() 152 enable: false, in perf_event_open_kprobe()
|
H A D | mod.rs | 45 fn enable(&self) -> Result<()> { in enable() method 158 self.event.enable()?; in ioctl()
|
H A D | bpf.rs | 318 fn enable(&self) -> Result<()> { in enable() method
|
/DragonOS/kernel/src/driver/clocksource/ |
H A D | timer_riscv.rs | 53 fn enable() { in enable() method 100 RiscVSbiTimer::enable(); in riscv_sbi_timer_init_local()
|
/DragonOS/user/port/gcc/11.3.0/ |
H A D | build-hosted.sh | 43 …root=${sys_root} --disable-werror --disable-shared --disable-bootstrap --enable-languages=c,c++ ||…
|
/DragonOS/build-scripts/kernel_build/src/utils/ |
H A D | cargo_handler.rs | 56 if f.enable() { in emit_features()
|
/DragonOS/kernel/src/libs/lib_ui/ |
H A D | screen_manager.rs | 260 fn enable(&self) -> Result<i32, SystemError> { in enable() method 315 framework.enable()?; in scm_framework_enable() 391 .enable() in scm_enable_put_to_window()
|
/DragonOS/kernel/src/driver/pci/ |
H A D | pci_irq.rs | 229 fn irq_enable(&mut self, enable: bool) -> Result<u8, PciError> { in irq_enable() 233 return self.msix_enable(enable); in irq_enable() 236 return self.msi_enable(enable); in irq_enable() 251 fn msix_enable(&mut self, enable: bool) -> Result<u8, PciError> { in msix_enable() 257 if enable { in msix_enable() 282 fn msi_enable(&mut self, enable: bool) -> Result<u8, PciError> { in msi_enable() 288 if enable { in msi_enable()
|
/DragonOS/docs/kernel/libs/lib_ui/ |
H A D | scm.md | 23 fn enable(&self) -> Result<i32, SystemError> {
|
/DragonOS/kernel/src/driver/irqchip/ |
H A D | riscv_sifive_plic.rs | 172 fn toggle(&self, hwirq: HardwareIrqNumber, enable: bool) { in toggle() 177 if enable { in toggle() 189 fn plic_irq_toggle(cpumask: &CpuMask, irq_data: &Arc<IrqData>, enable: bool) { in plic_irq_toggle() 193 handler.toggle(irq_data.hardware_irq(), enable); in plic_irq_toggle()
|
/DragonOS/kernel/src/arch/x86_64/driver/apic/ |
H A D | apic_timer.rs | 89 LocalApicTimerIntrController.enable(); in apic_timer_init() 152 pub(super) fn enable(&self) { in enable() method
|
H A D | ioapic.rs | 171 pub fn enable(&mut self, rte_index: u8) { in enable() method 577 .enable(IoApic::vector_rte_index(irq.irq().data() as u8)); in irq_unmask()
|
/DragonOS/kernel/src/time/ |
H A D | jiffies.rs | 68 fn enable(&self) -> Result<i32, SystemError> { in enable() method
|
/DragonOS/kernel/src/arch/riscv64/interrupt/ |
H A D | mod.rs | 30 riscv::interrupt::enable(); in interrupt_enable()
|
/DragonOS/tools/ |
H A D | build_gcc_toolchain.sh | 182 …../${GCC_FILE}/configure --target=$TARGET --prefix="$PREFIX" --disable-nls --enable-languages=c,c+…
|
/DragonOS/docs/kernel/debug/ |
H A D | debug-kernel-with-gdb.md | 168 enable <breakpoint#> # 启用对应编号的断点 169 enable <watchpoint#> # 启用对应编号的监视点
|
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/ |
H A D | framebuffer_console.rs | 783 fbcon_data.cursor_state.enable = false; in cursor() 786 fbcon_data.cursor_state.enable = !vc_data.cursor_type.contains(VcCursor::CUR_SW); in cursor() 806 cursor.enable = fbcon_data.cursor_state.enable; in cursor()
|
/DragonOS/docs/introduction/ |
H A D | build_system.md | 114 ./configure --enable-kvm
|