Home
last modified time | relevance | path

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

/DragonOS/user/apps/test_kvm/
H A Dmain.c77 const uint8_t code[] = { in main() local
88 printf("code=%p\n", code); in main()
96 .userspace_addr = (size_t)code in main()
/DragonOS/kernel/src/arch/riscv64/interrupt/
H A Dhandle.rs50 let code = trap_frame.cause.code(); in riscv64_do_exception() localVariable
52 if code < EXCEPTION_HANDLERS.len() { in riscv64_do_exception()
53 let handler = EXCEPTION_HANDLERS[code]; in riscv64_do_exception()
/DragonOS/kernel/src/process/
H A Dprocess.h22 extern ul rs_process_do_exit(ul code);
H A Dkthread.rs407 if let ProcessState::Exited(code) = pcb.sched_info().inner_lock_read_irqsave().state() { in stop()
408 return Ok(code); in stop()
H A Dmod.rs582 ProcessState::Exited(code) => Some(*code), in exit_code()
/DragonOS/user/apps/test_ebpf/syscall_ebpf/syscall_ebpf-ebpf/
H A Drust-toolchain.toml3 # The source code of rustc, provided by the rust-src component, is needed for
/DragonOS/tools/debugging/logmonitor/src/
H A Dhandler.rs9 match key_event.code { in handle_key_events()
/DragonOS/kernel/crates/intertrait/macros/
H A DCargo.toml6 license = "GPLv2(for code modified by dragonos) MIT OR Apache-2.0"
H A DLICENSE-APACHE27 including but not limited to software source code, documentation
32 not limited to compiled object code, generated documentation,
56 communication on electronic mailing lists, source code control systems,
/DragonOS/kernel/crates/intertrait/
H A DCargo.toml5 license = "GPLv2(for code modified by dragonos) MIT OR Apache-2.0"
/DragonOS/
H A DLICENSE24 this service if you wish), that you receive source code or can get it
36 source code. And you must show them these terms so they know their
80 source code as you receive it, in any medium, provided that you
135 under Section 2) in object code or executable form under the terms of
139 source code, which must be distributed under the terms of Sections
145 machine-readable copy of the corresponding source code, to be
150 to distribute corresponding source code. (This alternative is
152 received the program in object code or executable form with such
155 The source code for a work means the preferred form of the work for
157 code means all the source code for all modules it contains, plus any
[all …]
H A DREADME_EN.md108 &emsp;&emsp;This project adopts GPLv2 LICENSE for open source. You are welcome to use the code of t…
110 **What we support:** using this project to create greater value and contribute code to this project…
112 …h the open source license. Including but not limited to: plagiarizing the code of the project as y…
H A Dtriagebot.toml51 # Source code
/DragonOS/docs/kernel/sched/
H A Dcore.md36 …uRunQueue``对象上锁,会导致内层永远拿不到锁。对于该字段,详见[CpuRunQueue的self_lock方法及其注释](https://code.dragonos.org.cn/xre…
/DragonOS/kernel/src/driver/irqchip/
H A Driscv_intc.rs214 let hwirq = HardwareIrqNumber::new(trap_frame.cause.code() as u32); in riscv_intc_irq()
/DragonOS/kernel/crates/rbpf/
H A DLICENSE-APACHE28 including but not limited to software source code, documentation
33 not limited to compiled object code, generated documentation,
57 communication on electronic mailing lists, source code control systems,
H A DREADME.md74 Then indicate in your source code that you want to use the crate:
82 The API is pretty well documented inside the source code. You should also be
372 ### Loading code from an object file; and using a virtual metadata buffer
532 Please refer to [source code](src/assembler.rs) and [tests](tests/assembler.rs)
585 This is the author's first try at writing Rust code. He learned a lot in the
613 program silently returns the maximum value as an error code, while rbpf
666 `unsafe` blocks of code are used. The VM, taken as an eBPF interpreter, can
/DragonOS/kernel/crates/rbpf/src/
H A Djit.rs341 fn emit_direct_jcc(&self, mem: &mut JitMemory, code: u8, offset: u32) { in emit_direct_jcc()
343 self.emit1(mem, code); in emit_direct_jcc()
364 fn emit_jcc(&mut self, mem: &mut JitMemory, code: u8, target_pc: isize) { in emit_jcc()
366 self.emit1(mem, code); in emit_jcc()
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.1.md139 * modified code
H A DV0.1.5.md199 * reformat code
H A DV0.1.9.md720 把opengrok.ringotek.cn替换为code.dragonos.org.cn (#484)
1458 * refactor code
1474 * format code
2218 * Modify the ahci module and delete the useless c code
/DragonOS/user/apps/user-manage/src/check/
H A Dcheck.rs169 if exit_status.code() != Some(0) { in check_group_gid()
/DragonOS/kernel/src/include/bindings/
H A Dlinux_bpf.rs191 pub code: __u8, field