/DragonOS/kernel/src/ |
H A D | lib.rs | 2 #![feature(alloc_error_handler)] 3 #![feature(allocator_api)] 4 #![feature(arbitrary_self_types)] 5 #![feature(asm_const)] 6 #![feature(concat_idents)] 7 #![feature(const_for)] 8 #![feature(const_mut_refs)] 9 #![feature(const_option)] 10 #![feature(const_trait_impl)] 11 #![feature(const_refs_to_cell)] [all …]
|
/DragonOS/kernel/crates/rbpf/examples/ |
H A D | rbpf_plugin.rs | 41 #[cfg(any(windows, not(feature = "std")))] in main() 46 #[cfg(all(not(windows), feature = "std"))] in main() 54 #[cfg(not(feature = "cranelift"))] in main() 99 #[cfg(any(windows, not(feature = "std")))] in main() 104 #[cfg(all(not(windows), feature = "std"))] in main() 112 #[cfg(not(feature = "cranelift"))] in main() 117 #[cfg(feature = "cranelift")] in main()
|
H A D | uptime.rs | 56 #[cfg(all(not(windows), feature = "std"))] in main() 63 #[cfg(any(windows, not(feature = "std")))] in main()
|
/DragonOS/kernel/crates/crc/src/ |
H A D | lib.rs | 2 #![feature(const_for)] 3 #![feature(const_mut_refs)] 4 #![feature(const_trait_impl)]
|
/DragonOS/kernel/crates/rbpf/src/ |
H A D | lib.rs | 28 #![cfg_attr(not(feature = "std"), no_std)] 35 #[cfg(feature = "cranelift")] 39 #[cfg(feature = "cranelift")] 46 #[cfg(all(not(windows), feature = "std"))] 48 #[cfg(not(feature = "std"))] 53 #[cfg(feature = "std")] 58 #[cfg(not(feature = "std"))] 119 #[cfg(all(not(windows), feature = "std"))] 121 #[cfg(feature = "cranelift")] 150 #[cfg(all(not(windows), feature = "std"))] in new() [all …]
|
H A D | helpers.rs | 46 #[cfg(feature = "std")] 94 #[cfg(feature = "std")] 190 #[cfg(feature = "std")] // sqrt is only available when using `std` 258 #[cfg(feature = "std")] 267 #[cfg(feature = "std")]
|
H A D | asm_parser.rs | 14 #[cfg(feature = "std")] 110 #[cfg(feature = "std")] in parse() 117 #[cfg(not(feature = "std"))] in parse() 594 #[cfg(feature = "std")] in test_error_eof() 601 #[cfg(not(feature = "std"))] in test_error_eof() 615 #[cfg(feature = "std")] in test_error_unexpected_character() 621 #[cfg(not(feature = "std"))] in test_error_unexpected_character()
|
/DragonOS/kernel/crates/rust-slabmalloc/src/ |
H A D | lib.rs | 21 #![cfg_attr(feature = "unstable", feature(const_mut_refs))] 25 #![feature(new_uninit)] 26 #![feature(maybe_uninit_as_bytes)]
|
H A D | sc.rs | 17 #[cfg(feature = "unstable")] 23 #[cfg(not(feature = "unstable"))] 91 #[cfg(feature = "unstable")] 96 #[cfg(not(feature = "unstable"))]
|
H A D | zone.rs | 65 #[cfg(feature = "unstable")] 70 #[cfg(not(feature = "unstable"))]
|
/DragonOS/docs/kernel/configuration/ |
H A D | config.md | 5   在内核目录下,用kernel.config来设置内核编译配置信息,以类似解析toml文件的方式去解析该文件,然后接着去解析各模块下的d.config以获取feature的启用… 59 - **[[module.features]]:** 当前模块下的feature 60 - **name:** feature名 64 - **description:** feature的描述信息 96 上面所有已开启模块的d.config中的feature,会最终生成到内核目录下的D.config文件,即D.config是最终内核编译的配置,如下:
|
/DragonOS/kernel/crates/rbpf/tests/ |
H A D | misc.rs | 22 #[cfg(feature = "std")] 93 #[cfg(feature = "std")] 159 #[cfg(all(not(windows), feature = "std"))] 286 #[cfg(all(not(windows), feature = "std"))] 311 #[cfg(all(not(windows), feature = "std"))] 331 #[cfg(all(not(windows), feature = "std"))] 351 #[cfg(all(not(windows), feature = "std"))] 371 #[cfg(all(not(windows), feature = "std"))] 421 #[cfg(all(not(windows), feature = "std"))] 441 #[cfg(all(not(windows), feature = "std"))] [all …]
|
/DragonOS/kernel/crates/bitmap/src/ |
H A D | lib.rs | 2 #![feature(core_intrinsics)] 4 #![feature(generic_const_exprs)]
|
/DragonOS/docs/community/ChangeLog/V0.1.x/ |
H A D | V0.1.8.md | 49 - feature: 添加AlignBox和int_like宏 (#272) 51 - feature: 实现gettimeofday()系统调用和clocksource+timekeeping子模块 (#278) 53 - feature: 注册串口设备,创建字符设备框架(#290) 55 - feature: 新的二进制加载器、elf解析器 (#303) 56 - feature: 增加 ListenTable 来检测端口占用 (#291) 57 - feature: 替换 local_irq_save 为 IrqFlagsGuard 实现 (#317) 58 - feature: 实现系统调用Fstat (#295) 59 - feature: 实现内核通知链 notifier chain (#316) 60 - feature: 增加fcntl系统调用 (#323) 61 - feature: 添加per cpu变量支持 (#327) [all …]
|
H A D | V0.1.9.md | 69 - feature: 完善设备驱动模型 ([#401](https://github.com/DragonOS-Community/DragonOS/pull/401)) 70 - feature: 实现e1000e网卡驱动 ([#393](https://github.com/DragonOS-Community/DragonOS/pull/393)) 71 - feature: DragonOS虚拟化框架([#389](https://github.com/DragonOS-Community/DragonOS/pull/389)) 72 - feature: 支持syscall快速系统调用指令([#417](https://github.com/DragonOS-Community/DragonOS/pull/417)) 74 - feature: 线程机制与futex ([#411](https://github.com/DragonOS-Community/DragonOS/pull/411)) 75 - feature: DragonStub引导DragonOS内核 ([#460](https://github.com/DragonOS-Community/DragonOS/pull/460)) 76 - feature: 实现Epoll IO多路复用机制 ([#455](https://github.com/DragonOS-Community/DragonOS/pull/455)) 77 - feature: 帧缓冲抽象以及vesafb驱动 ([#483](https://github.com/DragonOS-Community/DragonOS/pull/483)) 78 - feature: 增加early io remap的fixmap功能 ([#495](https://github.com/DragonOS-Community/DragonOS/pull/49… 79 - feature: 实现内核日志系统 ([#489](https://github.com/DragonOS-Community/DragonOS/pull/489)) [all …]
|
/DragonOS/kernel/src/driver/input/ |
H A D | mod.rs | 2 #[cfg(all(target_arch = "x86_64", feature = "driver_ps2_mouse"))]
|
/DragonOS/kernel/crates/kprobe/src/ |
H A D | lib.rs | 1 #![cfg_attr(target_arch = "riscv64", feature(riscv_ext_intrinsics))]
|
/DragonOS/tools/debugging/logmonitor/src/ |
H A D | lib.rs | 2 #![feature(generic_const_exprs)]
|
/DragonOS/docs/userland/appdev/ |
H A D | rust-quick-start.md | 41 由于DragonOS目前不支持动态链接,因此目前需要在RUSTFLAGS里面指定`-C target-feature=+crt-static -C link-arg=-no-pie`
|
/DragonOS/kernel/src/debug/kprobe/ |
H A D | mod.rs | 11 #[cfg(feature = "kprobe_test")] 137 #[cfg(feature = "kprobe_test")]
|
/DragonOS/kernel/crates/klog_types/src/ |
H A D | lib.rs | 2 #![feature(const_refs_to_cell)] 3 #![feature(const_size_of_val)]
|
/DragonOS/kernel/src/driver/input/serio/i8042/ |
H A D | mod.rs | 72 #[cfg(all(target_arch = "x86_64", feature = "driver_ps2_mouse"))] in i8042_setup_aux()
|
/DragonOS/kernel/src/init/ |
H A D | init.rs | 93 #[cfg(all(target_arch = "x86_64", feature = "kvm"))] in do_start_kernel()
|
/DragonOS/kernel/src/arch/x86_64/mm/ |
H A D | fault.rs | 191 let feature = x86::cpuid::CpuId::new() in do_user_addr_fault() localVariable 195 feature.has_smap() in do_user_addr_fault()
|
/DragonOS/.github/ |
H A D | issue-checker.yml | 18 # `feature`
|