mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:48:10 +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: The modifications in this commit were automatically made using the following command: find . -name '*.cpp' -exec sed -i -E 's/dbg\(\) << ("[^"{]*");/dbgln\(\1\);/' {} \;
This commit is contained in:
parent
40b8e21115
commit
938e5c7719
95 changed files with 331 additions and 331 deletions
|
@ -147,7 +147,7 @@ void IDEChannel::start_request(AsyncBlockDeviceRequest& request, bool use_dma, b
|
|||
{
|
||||
ScopedSpinLock lock(m_request_lock);
|
||||
#ifdef PATA_DEBUG
|
||||
dbg() << "IDEChannel::start_request";
|
||||
dbgln("IDEChannel::start_request");
|
||||
#endif
|
||||
m_current_request = &request;
|
||||
m_current_request_block_index = 0;
|
||||
|
@ -246,7 +246,7 @@ void IDEChannel::handle_irq(const RegisterState&)
|
|||
|
||||
if (!m_current_request) {
|
||||
#ifdef PATA_DEBUG
|
||||
dbg() << "IDEChannel: IRQ but no pending request!";
|
||||
dbgln("IDEChannel: IRQ but no pending request!");
|
||||
#endif
|
||||
return;
|
||||
}
|
||||
|
@ -444,7 +444,7 @@ void IDEChannel::ata_read_sectors(bool slave_request)
|
|||
auto& request = *m_current_request;
|
||||
ASSERT(request.block_count() <= 256);
|
||||
#ifdef PATA_DEBUG
|
||||
dbg() << "IDEChannel::ata_read_sectors";
|
||||
dbgln("IDEChannel::ata_read_sectors");
|
||||
#endif
|
||||
|
||||
while (m_io_group.io_base().offset(ATA_REG_STATUS).in<u8>() & ATA_SR_BSY)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue