From: AceVest Date: Mon, 28 Jul 2014 15:23:37 +0000 (+0800) Subject: fix bug in innerint X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=9834253d360a3880262451c7240912ba8e8698f4;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; \