Enable CD IRQ code which caused those problems
This commit is contained in:
parent
fc915a887a
commit
a58d352790
|
@ -34,17 +34,17 @@ namespace JabyEngine {
|
|||
};
|
||||
|
||||
struct Interrupt {
|
||||
/*static void enable_all(IOPort<InterruptEnable>& port) {
|
||||
port.write_combined(InterruptEnable::InterruptTypValue.max(), InterruptEnable::UnknownIRQ, InterruptEnable::CommandStartIRQ);
|
||||
static void enable_all(IOPort<InterruptEnable::UnderlyingType, InterruptEnable>& port) {
|
||||
port.write({InterruptEnable::with(InterruptEnable::InterruptTypValue.max(), InterruptEnable::UnknownIRQ, InterruptEnable::CommandStartIRQ)});
|
||||
}
|
||||
|
||||
static uint8_t get_type(const IOPort<InterruptFlag>& port) {
|
||||
static uint8_t get_type(const IOPort<InterruptFlag::UnderlyingType, InterruptFlag>& port) {
|
||||
return port.read().get_value(InterruptFlag::InterruptTypValue);
|
||||
}
|
||||
|
||||
static void ack(IOPort<InterruptFlag>& port) {
|
||||
port.write_combined(InterruptFlag::InterruptTypValue.max());
|
||||
}*/
|
||||
static void ack(IOPort<InterruptFlag::UnderlyingType, InterruptFlag>& port) {
|
||||
port.write_range_value(InterruptFlag::InterruptTypValue.max());
|
||||
}
|
||||
};
|
||||
|
||||
typedef uint8_t ResponseFifo;
|
||||
|
|
Loading…
Reference in New Issue