MCPcopy Create free account
hub / github.com/LibertyOS-Development/kernel / debug

Method debug

src/fs/ata.rs:162–169  ·  view source on GitHub ↗

DEBUG

(&mut self)

Source from the content-addressed store, hash-verified

160
161 // DEBUG
162 fn debug(&mut self)
163 {
164 unsafe
165 {
166 serprintln!("[INFO] ATA STATUS_REG: 0b{:08b} <BUSY|DRIVEREADY|#|#|DRQ|#|#|ERR>", self.alt_status_reg.read());
167 serprintln!("[INFO] ATA ERR_REG: 0b{:08b} <#|#|#|#|#|ABORT|#|#>", self.err_reg.read());
168 }
169 }
170
171
172 // SELECT DRIVE

Callers 3

pollMethod · 0.80
readMethod · 0.80
writeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected