Home
last modified time | relevance | path

Searched refs:target (Results 1 – 25 of 36) sorted by relevance

12

/DragonOS-0.1.9/user/apps/clear/
DMakefile22 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) run --target $(RUST_TARGET)
25 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) build --target $(RUST_TARGET)
28 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) clean --target $(RUST_TARGET)
31 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) test --target $(RUST_TARGET)
34 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) doc --target $(RUST_TARGET)
43 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) run --target $(RUST_TARGET) --release
46 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) build --target $(RUST_TARGET) --release
49 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) clean --target $(RUST_TARGET) --release
52 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) test --target $(RUST_TARGET) --release
56 …RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) install --target $(RUST_TARGET) --path . --no-track --ro…
D.gitignore1 /target
/DragonOS-0.1.9/kernel/crates/bitmap/src/
Dtraits.rs30 ($target:ty) => {
31 impl BitOps for $target {
70 if *bits == <$target>::MAX {
82 Some(<$target>::BITS as usize - 1 - (bits.leading_zeros() as usize))
88 if *bits == <$target>::MAX {
91 Some(<$target>::BITS as usize - 1 - bits.leading_ones() as usize)
97 if *bits == 0 || index >= <$target>::BITS as usize - 1 {
101 (*bits & (<$target>::MAX.overflowing_shl(1 + index as u32).0));
113 if *bits == <$target>::MAX || index >= <$target>::BITS as usize - 1 {
118 if intermediate == <$target>::MAX {
[all …]
/DragonOS-0.1.9/kernel/src/filesystem/sysfs/
Dsymlink.rs26 target: &Arc<dyn KObject>, in create_link()
29 return self.do_create_link(kobj, target, name, true); in create_link()
48 target: &Arc<dyn KObject>, in do_create_link()
60 return self.do_create_link_sd(&parent, target, name, warn); in do_create_link()
67 target: &Arc<dyn KObject>, in do_create_link_sd()
71 let target_inode = target.inode().ok_or(SystemError::ENOENT)?; in do_create_link_sd()
99 target: &Arc<dyn KObject>, in create_link_sd()
102 return self.do_create_link_sd(inode, target, name, true); in create_link_sd()
/DragonOS-0.1.9/kernel/src/arch/x86_64/interrupt/
Dipi.rs67 fn from(target: IpiTarget) -> Self { in from()
68 match target { in from()
126 pub fn send_ipi(kind: IpiKind, target: IpiTarget) { in send_ipi()
130 let target = ArchIpiTarget::from(target); in send_ipi() localVariable
131 let shorthand: x86::apic::DestinationShorthand = target.into(); in send_ipi()
132 let destination: x86::apic::ApicId = target.into(); in send_ipi()
164 let target = ArchIpiTarget::Other; in ipi_send_smp_init() localVariable
168 target.into(), in ipi_send_smp_init()
179 target.into(), in ipi_send_smp_init()
201 let target: ArchIpiTarget = IpiTarget::Specified(target_cpu).into(); in ipi_send_smp_startup() localVariable
[all …]
/DragonOS-0.1.9/user/port/gcc/11.3.0/
Dbuild-hosted.sh43 ${gcc_path}/configure --prefix=${PREFIX} --target=x86_64-dragonos --with-sysroot=${sys_root} --disa…
44 make all-gcc all-target-libgcc -j $(nproc) || exit 1
45 make install-gcc install-target-libgcc -j $(nproc) || exit 1
/DragonOS-0.1.9/kernel/src/driver/firmware/efi/
Dfdt.rs160 target: &mut EFIFdtParams, in do_get_fdt_prop()
171 target.systable = Some(val); in do_get_fdt_prop()
174 target.mmap_base = Some(val); in do_get_fdt_prop()
177 target.mmap_size = Some(val); in do_get_fdt_prop()
180 target.mmap_desc_size = Some(val); in do_get_fdt_prop()
183 target.mmap_desc_version = Some(val); in do_get_fdt_prop()
/DragonOS-0.1.9/docs/kernel/configuration/
Darch.md12 "rust-analyzer.cargo.target": "riscv64imac-unknown-none-elf",
13 // "rust-analyzer.cargo.target": "x86_64-unknown-none",
/DragonOS-0.1.9/tools/
Dwrite_disk_image.sh137 …${GRUB_PATH_RISCV64_EFI_INSTALL} --target=riscv64-efi --efi-directory=${mount_folder} --boot-dire…
147 …${GRUB_PATH_I386_EFI_INSTALL} --target=i386-efi --efi-directory=${mount_folder} --boot-directory…
149 …${GRUB_PATH_X86_64_EFI_INSTALL} --target=x86_64-efi --efi-directory=${mount_folder} --boot-direct…
158 …${GRUB_PATH_I386_LEGACY_INSTALL} --target=i386-pc --boot-directory=${boot_folder} /dev/$LOOP_DEVICE
169 …${GRUB_PATH_I386_LEGACY_INSTALL} --target=i386-pc --boot-directory=${boot_folder} /dev/$LOOP_DEVICE
Dbootstrap.sh183 rustup target add x86_64-unknown-none --toolchain nightly-2023-01-21-x86_64-unknown-linux-gnu
184 rustup target add x86_64-unknown-none --toolchain nightly-2023-08-15-x86_64-unknown-linux-gnu
185 …rustup target add x86_64-unknown-linux-musl --toolchain nightly-2023-08-15-x86_64-unknown-linux-gnu
189 …rustup target add riscv64gc-unknown-none-elf --toolchain nightly-2023-01-21-riscv64gc-unknown-linu…
190 …rustup target add riscv64imac-unknown-none-elf --toolchain nightly-2023-01-21-riscv64gc-unknown-li…
191 …rustup target add riscv64gc-unknown-none-elf --toolchain nightly-2023-08-15-riscv64gc-unknown-linu…
192 …rustup target add riscv64imac-unknown-none-elf --toolchain nightly-2023-08-15-riscv64gc-unknown-li…
220 rustup target add --toolchain ${fork_toolchain_from} x86_64-unknown-linux-musl
Dbuild_gcc_toolchain.sh151 …../${BIN_UTILS}/configure --target=$TARGET --prefix="$PREFIX" --with-sysroot --disable-nls --disab…
182 …../${GCC_FILE}/configure --target=$TARGET --prefix="$PREFIX" --disable-nls --enable-languages=c,c+…
184 make MAKEINFO=true all-target-libgcc -j $(nproc) || exit 1
186 make MAKEINFO=true install-target-libgcc -j $(nproc) || exit 1
Dgrub_auto_install.sh85 ./configure --target=i386 --prefix=${grub_dir_i386_legacy} --disable-werror || exit 1
95 …./configure --target=i386 --with-platform=efi --prefix=${grub_dir_i386_efi} --disable-werror || ex…
105 …./configure --target=x86_64 --with-platform=efi --prefix=${grub_dir_x86_64_efi} --disable-werror |…
D.gdbinit1 target remote localhost:1234
Dinit_rust_toolchain.sh45 }" > ${DRAGONOS_UNKNOWN_ELF_PATH}/target.json || exit 1
D.gitignore9 target/
/DragonOS-0.1.9/.github/workflows/
Dcache-toolchain.yml58 … rustup target add x86_64-unknown-none --toolchain nightly-2023-01-21-x86_64-unknown-linux-gnu
59 … rustup target add x86_64-unknown-none --toolchain nightly-2023-08-15-x86_64-unknown-linux-gnu
63 …rustup target add riscv64gc-unknown-none-elf --toolchain nightly-2023-01-21-riscv64gc-unknown-linu…
64 …rustup target add riscv64imac-unknown-none-elf --toolchain nightly-2023-01-21-riscv64gc-unknown-li…
65 …rustup target add riscv64gc-unknown-none-elf --toolchain nightly-2023-08-15-riscv64gc-unknown-linu…
66 …rustup target add riscv64imac-unknown-none-elf --toolchain nightly-2023-08-15-riscv64gc-unknown-li…
90 rustup target add --toolchain ${fork_toolchain_from} x86_64-unknown-linux-musl
/DragonOS-0.1.9/kernel/
DMakefile35 …@cargo +nightly-2023-08-15 check --workspace $(CARGO_ZBUILD) --message-format=json --target ./src/…
37 …@cargo +nightly-2023-08-15 check --workspace $(CARGO_ZBUILD) --message-format=json --target ./src/…
DCargo.toml55 # target为x86_64时,使用下面的依赖
56 [target.'cfg(target_arch = "x86_64")'.dependencies]
62 # target为riscv64时,使用下面的依赖
63 [target.'cfg(target_arch = "riscv64")'.dependencies]
D.gitignore1 target/
/DragonOS-0.1.9/kernel/src/
DMakefile43 …RUSTFLAGS="$(RUSTFLAGS)" cargo +nightly-2023-08-15 $(CARGO_ZBUILD) build --release --target $(TARG…
68 …cv -z muldefs $(LDFLAGS_UNWIND) -o kernel $(shell find . -name "*.o") ../target/riscv64imac-unknow…
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
/DragonOS-0.1.9/kernel/src/arch/riscv64/interrupt/
Dipi.rs4 pub fn send_ipi(kind: IpiKind, target: IpiTarget) { in send_ipi()
/DragonOS-0.1.9/kernel/.cargo/
Dconfig.toml5 [target.'cfg(target_os = "none")']
/DragonOS-0.1.9/kernel/src/libs/intertrait/
D.gitignore5 **/target/
DREADME.md17 for another trait implemented by the underlying type if the target traits are registered beforehand
65 The trait implemented is designated as a target trait.
82 …e traits specified as arguments to the `#[cast_to(...)]` attribute are designated as target traits.
101 For the type, the traits following `:` are designated as target traits.
138 for [`std::any::Any`] back to its concrete type and then creating a trait object for the target tra…
143 backing a trait object for a sub-trait of [`CastFrom`] and the target trait (the actual implementat…
/DragonOS-0.1.9/
D.gitignore18 /target/

12