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.cc20
1 files changed, 1 insertions, 19 deletions
diff --git a/dev/kernel/HALKit/AMD64/HalDebugPort.cc b/dev/kernel/HALKit/AMD64/HalDebugPort.cc
index 6289ff1f..e7448aa3 100644
--- a/dev/kernel/HALKit/AMD64/HalDebugPort.cc
+++ b/dev/kernel/HALKit/AMD64/HalDebugPort.cc
@@ -14,24 +14,6 @@
namespace Kernel {
void rt_debug_listen(DebuggerPortHeader* theHook) noexcept {
- if (theHook == nullptr) return;
-
- for (UInt32 i = 0U; i < kDebugMaxPorts; ++i) {
- HAL::rt_out16(theHook->fPort[i], kDebugMag0);
- HAL::rt_wait_400ns();
-
- HAL::rt_out16(theHook->fPort[i], kDebugMag1);
- HAL::rt_wait_400ns();
-
- HAL::rt_out16(theHook->fPort[i], kDebugMag2);
- HAL::rt_wait_400ns();
-
- HAL::rt_out16(theHook->fPort[i], kDebugMag3);
- HAL::rt_wait_400ns();
-
- if (HAL::rt_in16(theHook->fPort[i]) != kDebugUnboundPort) ++theHook->fPortCnt;
-
- HAL::rt_wait_400ns();
- }
+ NE_UNUSED(theHook);
}
} // namespace Kernel