Home
last modified time | relevance | path

Searched refs:kernel (Results 1 – 25 of 45) sorted by relevance

12

/DragonOS/docs/
H A Dindex.rst21 kernel/configuration/index
22 kernel/boot/index
23 kernel/core_api/index
24 kernel/locking/index
25 kernel/process_management/index
26 kernel/sched/index
27 kernel/ipc/index
28 kernel/memory_management/index
29 kernel/filesystem/index
30 kernel/debug/index
[all …]
/DragonOS/
H A Dtriagebot.toml67 trigger_files = ["kernel/src/filesystem"]
70 trigger_files = ["kernel/src/arch/x86_64"]
73 trigger_files = ["kernel/src/arch/riscv64"]
77 "kernel/src/driver",
78 "kernel/src/arch/x86_64/driver",
79 "kernel/src/arch/riscv64/driver",
83 trigger_files = ["kernel/src/virt", "kernel/src/arch/x86_64/kvm"]
87 "/kernel/crates/rbpf",
88 "/kernel/crates/kprobe",
89 "/kernel/src/debug/kprobe",
[all …]
H A DMakefile7 SUBDIRS = kernel user tools build-scripts
39 all: kernel user
42 .PHONY: kernel
43 kernel: target
44 mkdir -p bin/kernel/
46 $(MAKE) -C ./kernel all ARCH=$(ARCH) || (sh -c "echo 内核编译失败" && exit 1)
65 …cppcheck kernel user --platform=unix64 --std=c11 -I user/libs/ -I=kernel/ --force -j $(NPROCS) --x…
68 cppcheck kernel user --platform=unix64 --std=c11 -I user/libs/ -I=kernel/ --force -j $(NPROCS)
153 FMT_CHECK=$(FMT_CHECK) $(MAKE) fmt -C kernel
H A D.gitmodules1 [submodule "kernel/submodules/DragonStub"]
2 path = kernel/submodules/DragonStub
H A D.gitignore7 kernel/kernel
/DragonOS/kernel/src/
H A DMakefile3 GARBAGE_PATTERNS := *.o *.s~ *.s *.S~ *.c~ *.h~ kernel
46 all: kernel
64 kernel: $(kernel_subdirs) kernel_rust target
68 …$(LD) -b elf64-littleriscv -z muldefs $(LDFLAGS_UNWIND) -o kernel $(shell find . -name "*.o") ../t…
69 …$(OBJCOPY) -I elf64-littleriscv -O elf64-littleriscv -R ".eh_frame" kernel ../../bin/kernel/kernel
70 @rm kernel
77 …$(LD) -b elf64-x86-64 -z muldefs $(LDFLAGS_UNWIND) -o kernel $(shell find . -name "*.o") ../target…
90 …$(LD) -b elf64-x86-64 -z muldefs $(LDFLAGS_UNWIND) -o kernel $(shell find . -name "*.o") ../target…
94 $(OBJCOPY) -I elf64-x86-64 -O elf64-x86-64 kernel ../../bin/kernel/kernel.elf
96 $(OBJCOPY) -I elf64-x86-64 -O elf64-x86-64 -R ".eh_frame" kernel ../../bin/kernel/kernel.elf
[all …]
/DragonOS/tools/
H A Ddump_kernel.sh4 objdump -D ../bin/kernel/kernel.elf > ../bin/kernel/kernel.txt
H A D.gdbinit2 file bin/kernel/kernel.elf
H A Dwrite_disk_image.sh19 kernel="${root_folder}/bin/kernel/kernel.elf"
49 bins[0]=${kernel}
62 if ${GRUB_PATH_I386_LEGACY_FILE} --is-x86-multiboot2 ${kernel}; then
110 cp ${kernel} ${root_folder}/bin/disk_mount/boot/
H A Drun-qemu.sh203 sudo ${QEMU} -kernel ${RISCV64_UBOOT_PATH}/u-boot.bin ${QEMU_ARGUMENT}
214 sudo ${QEMU} -kernel ${RISCV64_UBOOT_PATH}/u-boot.bin ${QEMU_ARGUMENT}
/DragonOS/tools/debugging/logmonitor/src/backend/
H A Dloader.rs14 pub fn load(kernel: &PathBuf) -> AppResult<KernelMetadata> { in load()
15 info!("Loading kernel: {:?}", kernel); in load()
16 let kernel_bytes = std::fs::read(kernel)?; in load()
23 let mut result = KernelMetadata::new(kernel.clone()); in load()
31 info!("Loaded kernel: {:?}", kernel); in load()
38 pub kernel: PathBuf, field
43 pub fn new(kernel: PathBuf) -> Self { in new()
45 kernel, in new()
/DragonOS/docs/kernel/debug/
H A Dtraceback.md5 &emsp;&emsp;内核栈traceback的功能位于`kernel/debug/traceback/`文件夹中。为内核态提供traceback的功能,打印调用栈到屏幕上。
15 &emsp;&emsp;该接口定义于`kernel/debug/traceback/traceback.h`中,将会对给定内核栈进行traceback,并打印跟踪结果到屏幕上。
27 &emsp;&emsp;当内核第一次链接之后,将会通过Makefile中的命令,运行`kernel/debug/kallsyms`程序,提取内核文件的符号表,然后生成`kernel/debug/ka…
H A Dindex.rst11 debug-kernel-with-gdb
/DragonOS/.github/workflows/
H A Dmakefile.yml31 printf "\n" >> kernel/src/include/bindings/bindings.rs
34 kernel-static-test:
49 - name: Run kernel static test
96 run: source ~/.bashrc && source ~/.cargo/env && make kernel -j $(nproc)
/DragonOS/docs/kernel/configuration/
H A Dconfig.md5 &emsp;&emsp;在内核目录下,用kernel.config来设置内核编译配置信息,以类似解析toml文件的方式去解析该文件,然后接着去解析各模块下的d.config以获取feature的启用…
9 **kernel.config**
58 - **[[module.include]]:** 当前模块下所包含的模块,与kernel.config下的相同
/DragonOS/docs/kernel/core_api/
H A Dcasting.md8 &emsp;&emsp;上述没有特殊标明的函数,都是在`kernel/src/libs/casting.rs`中实现的。
16 SystemError枚举类型使用了这种方式,您可以在`kernel/src/syscall/mod.rs`中找到它的用法。
44 …dyn U>`转换为`Arc<T>`的具体类型指针时,我们要为`U`这个trait实现`DowncastArc`trait。这个trait定义在`kernel/src/libs/casting.r…
H A Datomic.md5 &emsp;&emsp;DragonOS实现了原子变量,类型为atomic_t. 原子变量是基于具体体系结构的原子操作指令实现的。具体实现在`kernel/common/atomic.h`中。
/DragonOS/docs/kernel/boot/
H A Dbootloader.md10 在DragonOS的note段,有一段PVH header,允许qemu使用`-kernel`参数启动DragonOS内核。
16 opensbi --> uboot --> DragonStub --> kernel
/DragonOS/docs/kernel/libs/
H A Did-allocation.md9 内核提供了一个名为`IdAllocator`的ID分配器,位于`kernel/crates/ida`中。
H A Dunified-init.md11 该库位于`kernel/crates/unified-init`中.
/DragonOS/kernel/
H A D.gitignore2 src/kernel
/DragonOS/docs/community/code_contribution/
H A Dconventional-commit.md10 …于scope: 如无特殊说明,以子模块/系统/目录名作为范围,例如代码变动是发生在`kernel/src/driver/net`中的特性追加,那么应当命名为`feat(driver/net):`,…
/DragonOS/kernel/src/debug/
H A DMakefile20 nm -n -C $(kernel_root_path)/kernel | ./kallsyms > kallsyms.S
/DragonOS/tools/debugging/logmonitor/src/
H A Dcommand.rs9 pub kernel: PathBuf, field
/DragonOS/tools/debugging/logmonitor/
H A DCargo.toml9 klog_types = { path = "../../../kernel/crates/klog_types" }

12