Home
last modified time | relevance | path

Searched refs:dpte (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.9/kernel/src/filesystem/
Dmbr.rs38 pub dpte: [MbrDiskPartitionTableEntry; 4], // 磁盘分区表项 field
61 dpte: [Default::default(); 4], in default()
/DragonOS-0.1.9/kernel/src/driver/disk/ahci/
Dahcidisk.rs382 if table.dpte[i].part_type != 0 { in new()
385 table.dpte[i].starting_sector() as u64, in new()
386 table.dpte[i].starting_lba as u64, in new()
387 table.dpte[i].total_sectors as u64, in new()
415 table.dpte[i].flags = cursor.read_u8()?; in read_mbr_table()
416 table.dpte[i].starting_head = cursor.read_u8()?; in read_mbr_table()
417 table.dpte[i].starting_sector_cylinder = cursor.read_u16()?; in read_mbr_table()
418 table.dpte[i].part_type = cursor.read_u8()?; in read_mbr_table()
419 table.dpte[i].ending_head = cursor.read_u8()?; in read_mbr_table()
420 table.dpte[i].ending_sector_cylingder = cursor.read_u16()?; in read_mbr_table()
[all …]