"Reading Local APIC register %d at offset %#x as %#x.\n",
reg, offset, val);
pkt->setData(((uint8_t *)&val) + (offset & mask(3)));
+ pkt->makeAtomicResponse();
return latency;
}
"Writing Local APIC register %d at offset %#x as %#x.\n",
reg, offset, gtoh(val));
setReg(reg, gtoh(val));
+ pkt->makeAtomicResponse();
return latency;
}
void
default:
panic("Read from undefined CMOS port.\n");
}
+ pkt->makeAtomicResponse();
return latency;
}
default:
panic("Write to undefined CMOS port.\n");
}
+ pkt->makeAtomicResponse();
return latency;
}
} else {
panic("Read from unrecognized port %#x.\n", addr);
}
+ pkt->makeAtomicResponse();
return latency;
}
} else {
panic("Write to unrecognized port %#x.\n", addr);
}
+ pkt->makeAtomicResponse();
return latency;
}
default:
panic("Illegal read from I/O APIC.\n");
}
+ pkt->makeAtomicResponse();
return latency;
}
default:
panic("Illegal write to I/O APIC.\n");
}
+ pkt->makeAtomicResponse();
return latency;
}
default:
panic("Read from undefined i8237 register %d.\n", offset);
}
+ pkt->makeAtomicResponse();
return latency;
}
default:
panic("Write to undefined i8254 register.\n");
}
+ pkt->makeAtomicResponse();
return latency;
}
} else {
panic("Read from undefined i8254 register.\n");
}
+ pkt->makeAtomicResponse();
return latency;
}
} else {
panic("Write to undefined i8254 register.\n");
}
+ pkt->makeAtomicResponse();
return latency;
}
pkt->set(IMR);
break;
}
+ pkt->makeAtomicResponse();
return latency;
}
}
break;
}
+ pkt->makeAtomicResponse();
return latency;
}
controlVal.speaker ? "on" : "off",
controlVal.timer ? "on" : "off");
pkt->set((uint8_t)controlVal);
+ pkt->makeAtomicResponse();
return latency;
}
controlVal.speaker = val.speaker;
DPRINTF(PcSpeaker, "Writing to speaker device: gate %s, speaker %s.\n",
controlVal.gate ? "on" : "off", controlVal.speaker ? "on" : "off");
+ pkt->makeAtomicResponse();
return latency;
}