From: AceVest Date: Mon, 28 Jul 2014 15:23:37 +0000 (+0800) Subject: fix bug in innerint X-Git-Tag: 0.3.0~11 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/expt.png?a=commitdiff_plain;h=b0f6ea9c3708c21335a8fafa0357de945e988596;p=kernel.git fix bug in innerint --- diff --git a/kernel/entry.S b/kernel/entry.S index 1efa193..32a5d68 100644 --- a/kernel/entry.S +++ b/kernel/entry.S @@ -28,6 +28,11 @@ #define EC_CALLDO(name) \ SAVE_REGS \ + movw %ss, %ax; \ + movw %ax, %ds; \ + movw %ax, %es; \ + movw %ax, %fs; \ + movw %ax, %gs; \ call do##name; \ RESTORE_REGS; \ addl $4,%esp; \