From 31381f9ea3500e192cff2f2e0de64695a86e4099 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Fri, 28 Feb 2025 20:50:56 +0100 Subject: DBG: Debug port patches and improvements. Signed-off-by: Amlal El Mahrouss --- dev/Kernel/HALKit/AMD64/HalDebugPort.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'dev/Kernel/HALKit') diff --git a/dev/Kernel/HALKit/AMD64/HalDebugPort.cc b/dev/Kernel/HALKit/AMD64/HalDebugPort.cc index f88b1a70..7eada646 100644 --- a/dev/Kernel/HALKit/AMD64/HalDebugPort.cc +++ b/dev/Kernel/HALKit/AMD64/HalDebugPort.cc @@ -33,8 +33,10 @@ namespace NeOS HAL::rt_out16(theHook->fPort[i], kDebugMag3); HAL::rt_wait_400ns(); - if (HAL::rt_in16(theHook->fPort[i] != kDebugUnboundPort)) - ++theHook->fBoundCnt; + if (HAL::rt_in16(theHook->fPort[i]) != kDebugUnboundPort) + ++theHook->fPortCnt; + + HAL::rt_wait_400ns(); } } } // namespace NeOS -- cgit v1.2.3