Exemple #1
0
        public static bool DisableInterrupts()
        {
#if CHECK_DISABLE_INTERRUPTS
            bool wasDisabled = InterruptsDisabled();
#endif
            bool result = Isa.DisableInterrupts();

#if CHECK_DISABLE_INTERRUPTS
            if (result && wasDisabled)
            {
                DebugStub.Break();
            }
#endif

            return(result);
        }
 public bool DisableInterrupts()
 {
     return(Isa.DisableInterrupts());
 }