summaryrefslogtreecommitdiffhomepage
path: root/dev/Kernel/HALKit/AMD64
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-02-28 20:50:56 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-02-28 20:50:56 +0100
commit31381f9ea3500e192cff2f2e0de64695a86e4099 (patch)
treef37157f7e501751cfe01dab493202ce1af0dc12b /dev/Kernel/HALKit/AMD64
parent4f64b15eeace525e630d6e88f4d1a90d92d68006 (diff)
DBG: Debug port patches and improvements.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Kernel/HALKit/AMD64')
-rw-r--r--dev/Kernel/HALKit/AMD64/HalDebugPort.cc6
1 files changed, 4 insertions, 2 deletions
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