From 3c4d67fa48c9bfaabd196333998a2e08e048ff78 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 7 Nov 2022 06:13:23 +0200 Subject: [PATCH] Do not trace icr registers --- .../amd64/cpu/AdvancedProgrammableInterruptController.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Architecture/amd64/cpu/AdvancedProgrammableInterruptController.cpp b/Architecture/amd64/cpu/AdvancedProgrammableInterruptController.cpp index f4bd52f..644c39c 100644 --- a/Architecture/amd64/cpu/AdvancedProgrammableInterruptController.cpp +++ b/Architecture/amd64/cpu/AdvancedProgrammableInterruptController.cpp @@ -30,7 +30,8 @@ namespace APIC uint32_t APIC::Read(uint32_t Register) { - debug("APIC::Read(%#lx) [x2=%d]", Register, x2APICSupported ? 1 : 0); + if (Register != APIC_ICRLO && Register != APIC_ICRHI) + debug("APIC::Read(%#lx) [x2=%d]", Register, x2APICSupported ? 1 : 0); if (x2APICSupported) { if (Register != APIC_ICRHI) @@ -52,7 +53,9 @@ namespace APIC if (Register != APIC_EOI && Register != APIC_TDCR && Register != APIC_TIMER && - Register != APIC_TICR) + Register != APIC_TICR && + Register != APIC_ICRLO && + Register != APIC_ICRHI) debug("APIC::Write(%#lx, %#lx) [x2=%d]", Register, Value, x2APICSupported ? 1 : 0); if (x2APICSupported) {