/DragonOS/kernel/src/arch/riscv64/asm/ |
H A D | head.S | 40 add a0, a0, a1 74 add sp, sp, t0 107 add ra, ra, t1 112 add a2, a2, t1 127 add a0, a0, t1 164 add t4, t4, t5 // t4 = t4 + t5, t4指向L0页表项 181 add t3, t3, t5 201 add t0, t0, t3 // t0 = t0 + t3 220 add t6, t6, t2 271 add t4, t4, t3 // t4 = t4 + t3 [all …]
|
/DragonOS/tools/ |
H A D | bootstrap.sh | 238 rustup component add rust-src --toolchain $RUST_VERSION-x86_64-unknown-linux-gnu 239 rustup component add rust-src --toolchain nightly-2024-11-05-x86_64-unknown-linux-gnu 240 rustup target add x86_64-unknown-none --toolchain $RUST_VERSION-x86_64-unknown-linux-gnu 241 rustup target add x86_64-unknown-none --toolchain nightly-2024-11-05-x86_64-unknown-linux-gnu 242 …rustup target add x86_64-unknown-linux-musl --toolchain nightly-2024-11-05-x86_64-unknown-linux-gnu 243 rustup target add x86_64-unknown-linux-musl --toolchain $RUST_VERSION-x86_64-unknown-linux-gnu 247 rustup target add riscv64gc-unknown-none-elf --toolchain $RUST_VERSION-riscv64gc-unknown-linux-gnu 248 …rustup target add riscv64imac-unknown-none-elf --toolchain $RUST_VERSION-riscv64gc-unknown-linux-g… 249 …rustup target add riscv64gc-unknown-none-elf --toolchain nightly-2024-11-05-riscv64gc-unknown-linu… 250 …rustup target add riscv64imac-unknown-none-elf --toolchain nightly-2024-11-05-riscv64gc-unknown-li… [all …]
|
H A D | build_in_docker.sh | 3 docker run --rm --privileged=true --cap-add SYS_ADMIN --cap-add MKNOD -v $(pwd):/data -v /dev:/dev …
|
H A D | configure_network.sh | 11 sudo ip tuntap add name tap0 mode tap user $USER
|
H A D | Dockerfile | 23 git config --global --add safe.directory '*' && \
|
/DragonOS/kernel/src/driver/video/fbdev/ |
H A D | vesafb.rs | 409 unsafe { *base.add((y * line_offset + x) as usize) = fg }; in fb_fillrect() 418 unsafe { *base.add((y * line_offset + x) as usize) = 0x0000 }; in fb_fillrect() 427 unsafe { *base.add((y * line_offset + x) as usize) = [0, 0, 0] }; in fb_fillrect() 552 src = src.add(line_offset); in fb_copyarea() 553 dst = dst.add(visiable_w as usize); in fb_copyarea() 564 src = src.add(line_offset); in fb_copyarea() 565 tmp_ptr = tmp_ptr.add(visiable_w as usize); in fb_copyarea() 571 dst = dst.add(line_offset); in fb_copyarea() 572 tmp_ptr = tmp_ptr.add(visiable_w as usize); in fb_copyarea() 587 src = src.add(line_offset); in fb_copyarea() [all …]
|
/DragonOS/docs/community/ChangeLog/V0.1.x/ |
H A D | V0.1.10.md | 62 - chore(tools): add bootstrap support for Centos/RHEL8/fedora (#713) 74 - feat(tty): add dummy console (#735) 84 - doc(community): add description of conventional commit standard (#754) 86 - feat(fs): add sys_dup3 (#755) 88 - feat(sched): add sched_yield (#766) 95 - feat(mm): add slab usage calculation (#768) 102 - feat(driver/pci): add pci bus into sysfs (#792) 178 feat(driver/pci): add pci bus into sysfs (#792) 240 feat(mm): add slab usage calculation (#768) 242 * Add slab free space calculation and add it to freeram of sysinfo [all …]
|
H A D | V0.1.9.md | 1264 patch add mini backtrace (#416) 1396 * add sys ioctl 1414 * add vmcs fields 1450 * add mmu related struct 1452 * add usermemory region workflow 1454 * add mem-virt workflow 1456 * add mem-virt 1460 * add vcpu ioctl set_regs 2142 modify grub_auto_install.sh to add arch linux support 2158 add function declaration to avoid compiling warning [all …]
|
/DragonOS/kernel/src/exception/ |
H A D | mod.rs | 127 fn add(self, rhs: u32) -> HardwareIrqNumber { in add() method 135 fn add(self, rhs: u32) -> IrqNumber { in add() method
|
/DragonOS/kernel/src/arch/x86_64/asm/ |
H A D | head.S | 243 add $0x1000, %ebx 244 add $8, %eax 338 add $2048, %eax 354 add $0x1000, %ebx 355 add $8, %eax 365 add $0x1000, %ebx 366 add $8, %eax 373 add $8, %eax
|
/DragonOS/kernel/src/mm/ |
H A D | mod.rs | 179 pub fn add(self, offset: usize) -> Self { in add() method 205 fn add(self, rhs: usize) -> Self::Output { in add() method 221 fn add(self, rhs: PhysAddr) -> Self::Output { in add() method 333 fn add(self, rhs: VirtAddr) -> Self::Output { in add() method 342 fn add(self, rhs: usize) -> Self::Output { in add() method 726 return self.start().add(self.size); in end() 853 let end = addr.add(size); in verify_area()
|
/DragonOS/kernel/src/mm/allocator/ |
H A D | page_frame.rs | 132 pub fn add(&self, n: PageFrameCount) -> Self { in add() method 210 fn add(self, rhs: Self) -> Self::Output { in add() method 246 fn add(self, rhs: usize) -> Self::Output { in add() method
|
/DragonOS/docs/ |
H A D | make.bat | 21 echo.may add the Sphinx directory to PATH.
|
/DragonOS/docs/introduction/ |
H A D | build_system.md | 161 rustup component add rust-src 162 rustup component add llvm-tools-preview 163 rustup target add x86_64-unknown-none
|
/DragonOS/kernel/src/driver/pci/ |
H A D | root.rs | 171 .add((address >> 2) as usize)) in read_config() 201 .add((address >> 2) as usize)) in write_config()
|
H A D | pci.rs | 53 pub fn add(self, offset: usize) -> Self { in add() method 98 pub fn add(&self, device: Arc<dyn PciDeviceStructure>) { in add() method 721 PCI_DEVICE_LINKEDLIST.add(box_general_device.clone()); in pci_read_header() 736 PCI_DEVICE_LINKEDLIST.add(box_pci_to_pci_bridge); in pci_read_header() 746 PCI_DEVICE_LINKEDLIST.add(box_pci_cardbus_bridge); in pci_read_header()
|
/DragonOS/docs/community/code_contribution/ |
H A D | conventional-commit.md | 42 feat(lang): add polish language
|
/DragonOS/kernel/src/arch/x86_64/driver/ |
H A D | hpet.rs | 190 .add(index as usize) in timer() 209 .add(index as usize) in timer_mut()
|
/DragonOS/.github/ |
H A D | issue-checker.yml | 2 add:
|
/DragonOS/kernel/src/arch/x86_64/init/pvh/ |
H A D | mod.rs | 111 ep = unsafe { ep.add(1) }; in early_init_memory_blocks()
|
/DragonOS/kernel/src/syscall/ |
H A D | user_access.rs | 90 let addr = unsafe { user.add(i) }; in check_and_clone_cstr() 127 let addr = unsafe { user.add(i) }; in check_and_clone_cstr_array()
|
/DragonOS/kernel/src/net/socket/ |
H A D | inet.rs | 70 let handle = GlobalSocketHandle::new_smoltcp_handle(SOCKET_SET.lock_irqsave().add(socket)); in new() 276 GlobalSocketHandle::new_smoltcp_handle(SOCKET_SET.lock_irqsave().add(socket)); in new() 518 SOCKET_SET.lock_irqsave().add(Self::create_new_socket()), in new() 827 let handle = GlobalSocketHandle::new_smoltcp_handle(sockets.add(socket)); in listen() 910 let new_handle = GlobalSocketHandle::new_smoltcp_handle(sockset.add(tcp_socket)); in accept()
|
/DragonOS/kernel/src/time/ |
H A D | mod.rs | 284 fn add(self, rhs: Duration) -> Instant { in add() method 379 fn add(self, rhs: Duration) -> Duration { in add() method
|
/DragonOS/kernel/crates/rbpf/src/ |
H A D | insn_builder.rs | 113 pub fn add(&mut self, source: Source, arch: Arch) -> Move { in add() method 1422 .add(Source::Imm, Arch::X64) in move_and_add_const_to_register() 1607 .add(Source::Reg, Arch::X64) in move_and_add_from_register() 1791 .add(Source::Imm, Arch::X32) in move_and_add_const_to_register() 1976 .add(Source::Reg, Arch::X32) in move_and_add_from_register() 2163 .add(Source::Imm, Arch::X64) in example_from_assembler()
|
/DragonOS/kernel/src/ipc/ |
H A D | syscall.rs | 271 IPC_PRIVATE => shm_manager_guard.add(key, size, shmflg), in shmget() 290 return shm_manager_guard.add(key, size, shmflg); in shmget()
|