mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 19:15:09 +00:00
Everywhere: Replace a bundle of dbg with dbgln.
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.Everything:
This commit is contained in:
parent
dca6f1f49b
commit
5931758dbc
7 changed files with 20 additions and 20 deletions
|
@ -272,7 +272,7 @@ void IDEChannel::handle_irq(const RegisterState&)
|
|||
// trigger page faults
|
||||
Processor::deferred_call_queue([this]() {
|
||||
if (m_current_request->request_type() == AsyncBlockDeviceRequest::Read) {
|
||||
dbg() << "IDEChannel: Read block " << m_current_request_block_index << "/" << m_current_request->block_count();
|
||||
dbgln("IDEChannel: Read block {}/{}", m_current_request_block_index, m_current_request->block_count());
|
||||
if (ata_do_read_sector()) {
|
||||
if (++m_current_request_block_index >= m_current_request->block_count()) {
|
||||
complete_current_request(AsyncDeviceRequest::Success);
|
||||
|
@ -283,7 +283,7 @@ void IDEChannel::handle_irq(const RegisterState&)
|
|||
}
|
||||
} else {
|
||||
if (!m_current_request_flushing_cache) {
|
||||
dbg() << "IDEChannel: Wrote block " << m_current_request_block_index << "/" << m_current_request->block_count();
|
||||
dbgln("IDEChannel: Wrote block {}/{}", m_current_request_block_index, m_current_request->block_count());
|
||||
if (++m_current_request_block_index >= m_current_request->block_count()) {
|
||||
// We read the last block, flush cache
|
||||
ASSERT(!m_current_request_flushing_cache);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue