mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-22 12:33:29 +00:00
The keyboard and interrupts are currently trusted.
This commit is contained in:
parent
189dd176de
commit
c1602cc8fe
@ -134,7 +134,7 @@ struct InputOutputController {
|
|||||||
value = serial_.input(IOCParty);
|
value = serial_.input(IOCParty);
|
||||||
irq_b_.clear(IRQB::KeyboardReceiveFull);
|
irq_b_.clear(IRQB::KeyboardReceiveFull);
|
||||||
observer_.update_interrupts();
|
observer_.update_interrupts();
|
||||||
logger.error().append("IOC keyboard receive: %02x", value);
|
// logger.error().append("IOC keyboard receive: %02x", value);
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
// IRQ A.
|
// IRQ A.
|
||||||
@ -148,7 +148,7 @@ struct InputOutputController {
|
|||||||
return true;
|
return true;
|
||||||
case 0x3200018 & AddressMask:
|
case 0x3200018 & AddressMask:
|
||||||
value = irq_a_.mask;
|
value = irq_a_.mask;
|
||||||
logger.error().append("IRQ A mask is %02x", value);
|
// logger.error().append("IRQ A mask is %02x", value);
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
// IRQ B.
|
// IRQ B.
|
||||||
@ -162,7 +162,7 @@ struct InputOutputController {
|
|||||||
return true;
|
return true;
|
||||||
case 0x3200028 & AddressMask:
|
case 0x3200028 & AddressMask:
|
||||||
value = irq_b_.mask;
|
value = irq_b_.mask;
|
||||||
logger.error().append("IRQ B mask is %02x", value);
|
// logger.error().append("IRQ B mask is %02x", value);
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
// FIQ.
|
// FIQ.
|
||||||
|
Loading…
Reference in New Issue
Block a user