From 4476fee2ec7054a15898bac6acb4b70b0a8e5cb7 Mon Sep 17 00:00:00 2001 From: SarahW Date: Sun, 28 Apr 2019 18:34:33 +0100 Subject: [PATCH] Loading SS in real mode does not change stack size. Fixes Solaris 8 bootup. --- src/x86seg.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/x86seg.c b/src/x86seg.c index 21a3778..8335897 100644 --- a/src/x86seg.c +++ b/src/x86seg.c @@ -455,8 +455,6 @@ int loadseg(uint16_t seg, x86seg *s) s->access = (3 << 5) | 2; s->base = seg << 4; s->seg = seg; - if (s == &cpu_state.seg_ss) - set_stack32(0); s->checked = 1; if (s == &cpu_state.seg_ds) codegen_flat_ds = 0;