add ctrl alt del
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#include "ioapic.h"
|
||||
#include "apic.h"
|
||||
#include "core.h"
|
||||
#include "../debug/assert.h"
|
||||
|
||||
namespace IOAPIC {
|
||||
/*! \brief IOAPIC registers memory mapped into the CPU's address space.
|
||||
@@ -60,14 +61,17 @@ void init() {
|
||||
}
|
||||
|
||||
void config(uint8_t slot, Core::Interrupt::Vector vector,
|
||||
TriggerMode trigger_mode, Polarity polarity) {
|
||||
(void)slot;
|
||||
(void)vector;
|
||||
(void)trigger_mode;
|
||||
(void)polarity;
|
||||
TriggerMode trigger_mode, Polarity polarity) {
|
||||
assert(slot < slot_max);
|
||||
RedirectionTableEntry entry = readEntry(slot);
|
||||
entry.vector = vector;
|
||||
entry.trigger_mode = trigger_mode;
|
||||
entry.polarity = polarity;
|
||||
writeEntry(slot, entry);
|
||||
}
|
||||
|
||||
void allow(uint8_t slot) { (void)slot; }
|
||||
void allow(uint8_t slot) {
|
||||
}
|
||||
|
||||
void forbid(uint8_t slot) { (void)slot; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user