summaryrefslogtreecommitdiff
path: root/src/dev/x86
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/x86')
-rw-r--r--src/dev/x86/cmos.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dev/x86/cmos.cc b/src/dev/x86/cmos.cc
index e08c56e8c..122b531ca 100644
--- a/src/dev/x86/cmos.cc
+++ b/src/dev/x86/cmos.cc
@@ -87,11 +87,11 @@ X86ISA::Cmos::readRegister(uint8_t reg)
if (reg <= 0xD) {
val = rtc.readData(reg);
DPRINTF(CMOS,
- "Reading CMOS RTC reg %x as %x.\n", reg, val);
+ "Reading CMOS RTC reg %x as %x.\n", reg, val);
} else {
val = regs[reg];
DPRINTF(CMOS,
- "Reading non-volitile CMOS address %x as %x.\n", reg, val);
+ "Reading non-volitile CMOS address %x as %x.\n", reg, val);
}
return val;
}
@@ -102,11 +102,11 @@ X86ISA::Cmos::writeRegister(uint8_t reg, uint8_t val)
assert(reg < numRegs);
if (reg <= 0xD) {
DPRINTF(CMOS, "Writing CMOS RTC reg %x with %x.\n",
- reg, val);
+ reg, val);
rtc.writeData(reg, val);
} else {
DPRINTF(CMOS, "Writing non-volitile CMOS address %x with %x.\n",
- reg, val);
+ reg, val);
regs[reg] = val;
}
}