aboutsummaryrefslogtreecommitdiff
path: root/i386/i386at
diff options
context:
space:
mode:
authorDamien Zammit <damien@zamaudio.com>2024-02-07 05:02:24 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-02-09 00:45:39 +0100
commitc3a8722c4a131734395a2893f92e092ba441a844 (patch)
treeb7ba2c045a96dd5dd9043f9df20514caf4f9d597 /i386/i386at
parente37594f2bf23d2c02e201452fc2911453e5f21b7 (diff)
downloadgnumach-c3a8722c4a131734395a2893f92e092ba441a844.tar.gz
gnumach-c3a8722c4a131734395a2893f92e092ba441a844.tar.bz2
gnumach-c3a8722c4a131734395a2893f92e092ba441a844.zip
smp: Fix INIT/STARTUP IPI sequence
TESTED: works in qemu TESTED: works hardware with AMD cpu Message-ID: <20240207050158.1640853-5-damien@zamaudio.com>
Diffstat (limited to 'i386/i386at')
-rw-r--r--i386/i386at/cram.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/i386/i386at/cram.h b/i386/i386at/cram.h
index 8a3a6ec9..ac40cf13 100644
--- a/i386/i386at/cram.h
+++ b/i386/i386at/cram.h
@@ -71,6 +71,11 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
/* Addresses, related masks, and potential results */
+#define CMOS_SHUTDOWN 0xf
+#define CM_NORM_RST 0x0
+#define CM_LOAD_SYS 0x4
+#define CM_JMP_467 0xa
+
#define CMOS_EB 0x14 /* read Equipment Byte */
#define CM_SCRMSK 0x30 /* mask for EB query to get screen */
#define CM_EGA_VGA 0x00 /* "not CGA or MONO" */