summaryrefslogtreecommitdiffhomepage
path: root/dev/Kernel/HALKit
diff options
context:
space:
mode:
Diffstat (limited to 'dev/Kernel/HALKit')
-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