Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/driver/disk/ahci/
Dhba.rs219 let mut cmdheaders = phys_2_virt(clb as usize) as *mut u64 as *mut HbaCmdHeader; in init() localVariable
221 volatile_write!((*cmdheaders).prdtl, 0); // 一开始没有询问,prdtl = 0 in init()
222 volatile_write!((*cmdheaders).ctba, ctbas[i]); in init()
228 cmdheaders = (cmdheaders as usize + size_of::<HbaCmdHeader>()) as *mut HbaCmdHeader; in init()