summaryrefslogtreecommitdiff
path: root/Kernel/Time/TimeManagement.cpp
diff options
context:
space:
mode:
authorasynts <asynts@gmail.com>2021-01-09 18:51:44 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-09 21:11:09 +0100
commit938e5c7719ee546538bdfc44339b6c561b45edc9 (patch)
tree098bcb7d707e3a5e747eb5d5bc7381bb2146d67a /Kernel/Time/TimeManagement.cpp
parent40b8e2111595affb0a6ad8eb643c8f730f7a3c77 (diff)
downloadserenity-938e5c7719ee546538bdfc44339b6c561b45edc9.zip
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\);/' {} \;
Diffstat (limited to 'Kernel/Time/TimeManagement.cpp')
-rw-r--r--Kernel/Time/TimeManagement.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/Kernel/Time/TimeManagement.cpp b/Kernel/Time/TimeManagement.cpp
index 0b0b3afb5e..85068d5660 100644
--- a/Kernel/Time/TimeManagement.cpp
+++ b/Kernel/Time/TimeManagement.cpp
@@ -224,7 +224,7 @@ timeval TimeManagement::now_as_timeval()
Vector<HardwareTimerBase*> TimeManagement::scan_and_initialize_periodic_timers()
{
bool should_enable = is_hpet_periodic_mode_allowed();
- dbg() << "Time: Scanning for periodic timers";
+ dbgln("Time: Scanning for periodic timers");
Vector<HardwareTimerBase*> timers;
for (auto& hardware_timer : m_hardware_timers) {
if (hardware_timer.is_periodic_capable()) {
@@ -238,7 +238,7 @@ Vector<HardwareTimerBase*> TimeManagement::scan_and_initialize_periodic_timers()
Vector<HardwareTimerBase*> TimeManagement::scan_for_non_periodic_timers()
{
- dbg() << "Time: Scanning for non-periodic timers";
+ dbgln("Time: Scanning for non-periodic timers");
Vector<HardwareTimerBase*> timers;
for (auto& hardware_timer : m_hardware_timers) {
if (!hardware_timer.is_periodic_capable())
@@ -264,10 +264,10 @@ bool TimeManagement::probe_and_set_non_legacy_hardware_timers()
if (!HPET::test_and_initialize())
return false;
if (!HPET::the().comparators().size()) {
- dbg() << "HPET initialization aborted.";
+ dbgln("HPET initialization aborted.");
return false;
}
- dbg() << "HPET: Setting appropriate functions to timers.";
+ dbgln("HPET: Setting appropriate functions to timers.");
for (auto& hpet_comparator : HPET::the().comparators())
m_hardware_timers.append(hpet_comparator);
@@ -315,10 +315,10 @@ bool TimeManagement::probe_and_set_legacy_hardware_timers()
{
if (ACPI::is_enabled()) {
if (ACPI::Parser::the()->x86_specific_flags().cmos_rtc_not_present) {
- dbg() << "ACPI: CMOS RTC Not Present";
+ dbgln("ACPI: CMOS RTC Not Present");
return false;
} else {
- dbg() << "ACPI: CMOS RTC Present";
+ dbgln("ACPI: CMOS RTC Present");
}
}