diff options
author | jhb <jhb@FreeBSD.org> | 2005-11-22 22:34:14 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2005-11-22 22:34:14 +0000 |
commit | fb5f967d56f0f81cec1cc786445b3ea906f43659 (patch) | |
tree | 23624df2c0638e9719e282bd0a2c73ec77e64db3 /sys/i386/include/smp.h | |
parent | 8206c3e00bb653b5f2ba855f79e1f03a6a686e4e (diff) | |
download | FreeBSD-src-fb5f967d56f0f81cec1cc786445b3ea906f43659.zip FreeBSD-src-fb5f967d56f0f81cec1cc786445b3ea906f43659.tar.gz |
Garbage collect the code to store diagnostics codes in a CMOS register
during SMP startup. We haven't had any issues with starting up the APs
on i386 in quite a while now which is all this code is really useful for.
If someone ever does really need it they can always dig it up out of the
attic.
Diffstat (limited to 'sys/i386/include/smp.h')
-rw-r--r-- | sys/i386/include/smp.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sys/i386/include/smp.h b/sys/i386/include/smp.h index d2482fe..9cb5673 100644 --- a/sys/i386/include/smp.h +++ b/sys/i386/include/smp.h @@ -19,20 +19,6 @@ #ifndef LOCORE -/* - * For sending values to POST displays. - * XXX FIXME: where does this really belong, isa.h/isa.c perhaps? - */ -extern int current_postcode; /** XXX currently in mp_machdep.c */ -#define POSTCODE(X) current_postcode = (X), \ - outb(0x80, current_postcode) -#define POSTCODE_LO(X) current_postcode &= 0xf0, \ - current_postcode |= ((X) & 0x0f), \ - outb(0x80, current_postcode) -#define POSTCODE_HI(X) current_postcode &= 0x0f, \ - current_postcode |= (((X) << 4) & 0xf0), \ - outb(0x80, current_postcode) - #include <sys/bus.h> #include <machine/frame.h> #include <machine/intr_machdep.h> |