]> Zhao Yanbai Git Server - kernel.git/commitdiff
fix bug in innerint
authorAceVest <zhaoyanbai@126.com>
Mon, 28 Jul 2014 15:23:37 +0000 (23:23 +0800)
committeracevest <zhaoyanbai@126.com>
Wed, 3 Nov 2021 02:45:40 +0000 (10:45 +0800)
kernel/entry.S

index 1efa193646257fa3e68177410321de1d78e89ea2..32a5d683a349ac2d354a6fd5156ee25063fa809a 100644 (file)
 
 #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;        \