ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/src/kpx_cpu/sheepshaver_glue.cpp
(Generate patch)

Comparing SheepShaver/src/kpx_cpu/sheepshaver_glue.cpp (file contents):
Revision 1.45 by gbeauche, 2004-06-22T14:18:35Z vs.
Revision 1.46 by gbeauche, 2004-06-22T17:10:08Z

# Line 446 | Line 446 | int sheepshaver_cpu::compile1(codegen_co
446                          status = COMPILE_CODE_OK;
447                          break;
448   #endif
449                case NATIVE_DISABLE_INTERRUPT:
450                        dg.gen_invoke(DisableInterrupt);
451                        status = COMPILE_CODE_OK;
452                        break;
453                case NATIVE_ENABLE_INTERRUPT:
454                        dg.gen_invoke(EnableInterrupt);
455                        status = COMPILE_CODE_OK;
456                        break;
449                  case NATIVE_BITBLT:
450                          dg.gen_load_T0_GPR(3);
451                          dg.gen_invoke_T0((void (*)(uint32))NQD_bitblt);
# Line 1068 | Line 1060 | void TriggerInterrupt(void)
1060   void sheepshaver_cpu::handle_interrupt(void)
1061   {
1062          // Do nothing if interrupts are disabled
1063 <        if (*(int32 *)XLM_IRQ_NEST > 0)
1063 >        if (int32(ReadMacInt32(XLM_IRQ_NEST)) > 0)
1064                  return;
1065  
1066          // Current interrupt nest level
# Line 1266 | Line 1258 | void sheepshaver_cpu::execute_native_op(
1258                  get_resource_callbacks[selector - NATIVE_GET_RESOURCE]();
1259                  break;
1260          }
1269        case NATIVE_DISABLE_INTERRUPT:
1270                DisableInterrupt();
1271                break;
1272        case NATIVE_ENABLE_INTERRUPT:
1273                EnableInterrupt();
1274                break;
1261          case NATIVE_MAKE_EXECUTABLE:
1262                  MakeExecutable(0, (void *)gpr(4), gpr(5));
1263                  break;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines