From e8f857c2fe50bc76b794bec4367728e94065901b Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Thu, 17 May 2018 13:03:30 +0100 Subject: [PATCH] 8086: while I remember document the early 8086 test in case we need it --- Kernel/lowlevel-8086.S | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Kernel/lowlevel-8086.S b/Kernel/lowlevel-8086.S index 6e08d33b..f408bd07 100644 --- a/Kernel/lowlevel-8086.S +++ b/Kernel/lowlevel-8086.S @@ -288,6 +288,11 @@ set_irqvec: * * We don't bother trying to tell 186/188 and 86/89 bus width as we * don't need to know. + * + * If we need to we can detect an early 8086 by setting a trace trap + * and seeing if we take it on pop of a segment register. If we do it's + * an early one. If it doesn't then its a later one (and if it also + * doesn't take one on push of a segment register its a Harris CMOS one */ test_cputype: -- 2.34.1