foo
This commit is contained in:
@@ -71,9 +71,18 @@ void config(uint8_t slot, Core::Interrupt::Vector vector,
|
||||
}
|
||||
|
||||
void allow(uint8_t slot) {
|
||||
assert(slot < slot_max);
|
||||
RedirectionTableEntry entry = readEntry(slot);
|
||||
entry.interrupt_mask = UNMASKED;
|
||||
writeEntry(slot, entry);
|
||||
}
|
||||
|
||||
void forbid(uint8_t slot) { (void)slot; }
|
||||
void forbid(uint8_t slot) {
|
||||
assert(slot < slot_max);
|
||||
RedirectionTableEntry entry = readEntry(slot);
|
||||
entry.interrupt_mask = MASKED;
|
||||
writeEntry(slot, entry);
|
||||
}
|
||||
|
||||
bool status(uint8_t slot) {
|
||||
(void)slot;
|
||||
|
||||
Reference in New Issue
Block a user