From 31e26040daa5c31d03bd9b734bceaea5361a9d56 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 25 Oct 2022 02:25:56 +0300 Subject: [PATCH] Added InterruptCommandRegisterHigh for future use --- Architecture/amd64/cpu/apic.hpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Architecture/amd64/cpu/apic.hpp b/Architecture/amd64/cpu/apic.hpp index 9e64626..18ff8e6 100644 --- a/Architecture/amd64/cpu/apic.hpp +++ b/Architecture/amd64/cpu/apic.hpp @@ -166,6 +166,18 @@ namespace APIC uint64_t raw; } __attribute__((packed)) InterruptCommandRegisterLow; + typedef union + { + struct + { + /** @brief Reserved */ + uint64_t Reserved0 : 24; + /** @brief Destination */ + uint64_t Destination : 8; + }; + uint64_t raw; + } __attribute__((packed)) InterruptCommandRegisterHigh; + typedef union { struct