Home
last modified time | relevance | path

Searched refs:enable (Results 1 – 25 of 31) sorted by relevance

12

/DragonOS/build-scripts/kernel_build/src/kconfig/
H A Dmod.rs20 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 Dconfig.md15 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 Dmod.rs80 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 Dargs.rs15 pub enable: bool, field
56 kprobe_info.enable, in try_from()
H A Dtest.rs48 enable: true, in kprobe_test()
68 enable: true, in kprobe_test()
/DragonOS/docs/kernel/trace/
H A Dkprobe.md44 pub fn enable(&mut self)
55 - `disable` 和 `enable` 用于动态关闭kprobe,在`disable`调用后,kprobe被触发时不执行回调函数
H A DeBPF.md276 fn enable(&self) -> Result<()> {
277 panic!("enable not implemented");
/DragonOS/kernel/src/perf/
H A Dkprobe.rs127 fn enable(&self) -> Result<()> { in enable() method
128 self.kprobe.write().enable(); in enable()
152 enable: false, in perf_event_open_kprobe()
H A Dmod.rs45 fn enable(&self) -> Result<()> { in enable() method
158 self.event.enable()?; in ioctl()
H A Dbpf.rs318 fn enable(&self) -> Result<()> { in enable() method
/DragonOS/kernel/src/driver/clocksource/
H A Dtimer_riscv.rs53 fn enable() { in enable() method
100 RiscVSbiTimer::enable(); in riscv_sbi_timer_init_local()
/DragonOS/user/port/gcc/11.3.0/
H A Dbuild-hosted.sh43 …root=${sys_root} --disable-werror --disable-shared --disable-bootstrap --enable-languages=c,c++ ||…
/DragonOS/build-scripts/kernel_build/src/utils/
H A Dcargo_handler.rs56 if f.enable() { in emit_features()
/DragonOS/kernel/src/libs/lib_ui/
H A Dscreen_manager.rs260 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 Dpci_irq.rs229 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 Dscm.md23 fn enable(&self) -> Result<i32, SystemError> {
/DragonOS/kernel/src/driver/irqchip/
H A Driscv_sifive_plic.rs172 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 Dapic_timer.rs89 LocalApicTimerIntrController.enable(); in apic_timer_init()
152 pub(super) fn enable(&self) { in enable() method
H A Dioapic.rs171 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 Djiffies.rs68 fn enable(&self) -> Result<i32, SystemError> { in enable() method
/DragonOS/kernel/src/arch/riscv64/interrupt/
H A Dmod.rs30 riscv::interrupt::enable(); in interrupt_enable()
/DragonOS/tools/
H A Dbuild_gcc_toolchain.sh182 …../${GCC_FILE}/configure --target=$TARGET --prefix="$PREFIX" --disable-nls --enable-languages=c,c+…
/DragonOS/docs/kernel/debug/
H A Ddebug-kernel-with-gdb.md168 enable <breakpoint#> # 启用对应编号的断点
169 enable <watchpoint#> # 启用对应编号的监视点
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/
H A Dframebuffer_console.rs783 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 Dbuild_system.md114 ./configure --enable-kvm

12