]> rtime.felk.cvut.cz Git - frescor/fosa.git/commitdiff
Small change to make the long_jump work with MaRTE x86 arch
authortelleriam <telleriam@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Wed, 28 Nov 2007 08:56:29 +0000 (08:56 +0000)
committertelleriam <telleriam@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Wed, 28 Nov 2007 08:56:29 +0000 (08:56 +0000)
git-svn-id: http://www.frescor.org/private/svn/frescor/fosa/trunk@906 35b4ef3e-fd22-0410-ab77-dab3279adceb

marte_non_local_jump/non_local_jump.adb

index 8741992f352eca8228f768c9d3f48b860f8bde36..402a4b357d2524cf9032b3b5e83ca199d0f688ed 100644 (file)
@@ -23,6 +23,7 @@
 --  {MAR>} -------------------------------------------------------------------
 with System.Machine_Code; use System.Machine_Code;
 with Ada.Unchecked_Conversion;
+with Hardware_Interface;
 
 package body Non_Local_Jump is
    use Basic_Integer_Types;
@@ -98,6 +99,7 @@ package body Non_Local_Jump is
       Asm ("1: popl %%ebp;",
            No_Output_Operands,
            No_Input_Operands, "", True);
+      Hardware_Interface.Interrupts_Enabled;
    end Save_Context;
 
    ------------------