add ctrl alt del

This commit is contained in:
Eggert Jung
2025-05-10 16:53:17 +02:00
parent e9500c1b40
commit 383561a4f6
3 changed files with 23 additions and 6 deletions

View File

@@ -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; }