Home
last modified time | relevance | path

Searched refs:j (Results 1 – 14 of 14) sorted by relevance

/DragonOS-0.1.9/kernel/src/libs/
Dcpu.c56 for (int j = 0; j <= 3; ++j) in cpu_init() local
58 *(uint *)&Cpu_BrandName[4 * count] = tmp_info[j]; in cpu_init()
Drbtree.rs1500 for j in 1..i + 1 { in test_lots_of_insertions()
1501 let r = m.get(&j); in test_lots_of_insertions()
1502 assert_eq!(r, Some(&j)); in test_lots_of_insertions()
1505 for j in i + 1..101 { in test_lots_of_insertions()
1506 let r = m.get(&j); in test_lots_of_insertions()
1519 for j in 1..i + 1 { in test_lots_of_insertions()
1520 assert!(!m.contains_key(&j)); in test_lots_of_insertions()
1523 for j in i + 1..101 { in test_lots_of_insertions()
1524 assert!(m.contains_key(&j)); in test_lots_of_insertions()
1540 for j in i..101 { in test_lots_of_insertions()
[all …]
/DragonOS-0.1.9/kernel/src/driver/disk/ahci/
Dmod.rs93 for j in 0..32 { in ahci_init()
94 if (pi >> j) & 1 > 0 { in ahci_init()
96 let hba_mem_port = &mut hba_mem.ports[j]; in ahci_init()
109 let fb = virt_2_phys(ahci_port_base_vaddr + (32 << 10) + (j << 8)); in ahci_init()
110 let clb = virt_2_phys(ahci_port_base_vaddr + (j << 10)); in ahci_init()
114 ahci_port_base_vaddr + (40 << 10) + (j << 13) + (x << 8), in ahci_init()
128 j as u8, in ahci_init()
144 j, in ahci_init()
/DragonOS-0.1.9/user/dadk/config/
Ddmesg-0.1.0.dadk14 "build_command": "make install -j $(nproc)"
Dmusl_1_2_4.dadk15 "build_command": "touch config.mak && DESTDIR=$DADK_CURRENT_BUILD_DIR make install -j $(nproc)"
/DragonOS-0.1.9/user/port/binutils/2.38/
DREADME.md5 这里是移植到用户态的binutils-2.38,用于DragonOS的用户态编译器。在编译这里之前,请先在项目根目录下运行`make -j $(nproc)`, 以确保编译binutils所依赖的依…
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/base/
Dmod.rs166 let mut j = 0; in fast_imageblit() localVariable
174 j = k; in fast_imageblit()
175 while j >= 2 { in fast_imageblit()
180 j -= 2; in fast_imageblit()
186 j = k; in fast_imageblit()
187 while j >= 4 { in fast_imageblit()
197 j -= 4; in fast_imageblit()
202 j = k; in fast_imageblit()
203 while j >= 8 { in fast_imageblit()
221 j -= 8; in fast_imageblit()
[all …]
/DragonOS-0.1.9/kernel/src/driver/tty/virtual_terminal/
Dvirtual_console.rs1513 let mut j = 0; in do_control() localVariable
1514 self.palette[i].red = self.par[j] as u16; in do_control()
1515 j += 1; in do_control()
1516 self.palette[i].green = self.par[j] as u16; in do_control()
1517 j += 1; in do_control()
1518 self.palette[i].blue = self.par[j] as u16; in do_control()
1519 j += 1; in do_control()
1521 self.palette[i].red = self.par[j] as u16; in do_control()
1522 j += 1; in do_control()
1523 self.palette[i].green = self.par[j] as u16; in do_control()
[all …]
/DragonOS-0.1.9/kernel/src/mm/
Dearly_ioremap.rs97 for j in 0..slot_count { in map()
98 let slot_idx = i + j; in map()
/DragonOS-0.1.9/kernel/src/filesystem/sysfs/
Dgroup.rs45 for j in (0..=i).rev() { in do_create_groups()
46 self.remove_group(kobj, groups[j]).ok(); in do_create_groups()
/DragonOS-0.1.9/kernel/src/mm/allocator/
Dbuddy.rs186 pub fn entry_virt_addr(base_addr: PhysAddr, j: usize) -> VirtAddr { in entry_virt_addr()
187 let entry_virt_addr = unsafe { A::phys_2_virt(Self::entry_addr(base_addr, j)) }; in entry_virt_addr()
190 pub fn entry_addr(base_addr: PhysAddr, j: usize) -> PhysAddr { in entry_addr()
191 let entry_addr = base_addr + mem::size_of::<PageList<A>>() + j * mem::size_of::<PhysAddr>(); in entry_addr()
/DragonOS-0.1.9/docs/introduction/
Dbuild_system.md114 make -j 8
238 - 本地编译,不运行: `make all -j 您的CPU核心数`
/DragonOS-0.1.9/kernel/src/arch/riscv64/asm/
Dhead.S325 j __initial_Lsecondary_park
/DragonOS-0.1.9/kernel/src/libs/lib_ui/
Dtextui.rs407 for j in 0..TEXTUI_CHAR_WIDTH { in textui_refresh_character()
408 if font.is_frcolor(i as usize, j as usize) { in textui_refresh_character()