/[cebix]/SheepShaver/src/thunks.cpp
ViewVC logotype

Diff of /SheepShaver/src/thunks.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by gbeauche, Wed Jan 7 18:24:44 2004 UTC revision 1.4 by gbeauche, Thu Jan 15 23:28:59 2004 UTC
# Line 128  bool ThunksInit(void) Line 128  bool ThunksInit(void)
128  #else  #else
129  #error "FIXME: define NativeOp for your platform"  #error "FIXME: define NativeOp for your platform"
130  #endif  #endif
131            // FIXME: add GetResource() and friends for completeness
132          DEFINE_NATIVE_OP(NATIVE_PATCH_NAME_REGISTRY, DoPatchNameRegistry);          DEFINE_NATIVE_OP(NATIVE_PATCH_NAME_REGISTRY, DoPatchNameRegistry);
133          DEFINE_NATIVE_OP(NATIVE_VIDEO_INSTALL_ACCEL, VideoInstallAccel);          DEFINE_NATIVE_OP(NATIVE_VIDEO_INSTALL_ACCEL, VideoInstallAccel);
134          DEFINE_NATIVE_OP(NATIVE_VIDEO_VBL, VideoVBL);          DEFINE_NATIVE_OP(NATIVE_VIDEO_VBL, VideoVBL);
# Line 150  bool ThunksInit(void) Line 151  bool ThunksInit(void)
151  #undef DEFINE_NATIVE_OP  #undef DEFINE_NATIVE_OP
152  #endif  #endif
153    
154          // Initialize routine descriptors          // Initialize routine descriptors (if TVECT exists)
155          for (int i = 0; i < NATIVE_OP_MAX; i++)          for (int i = 0; i < NATIVE_OP_MAX; i++) {
156                  native_op[i].desc = new SheepRoutineDescriptor(0, NativeTVECT(i));                  uint32 tvect = native_op[i].tvect;
157                    if (tvect)
158                            native_op[i].desc = new SheepRoutineDescriptor(0, tvect);
159            }
160    
161          return true;          return true;
162  }  }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

Christian Bauer">Christian Bauer
ViewVC Help
Powered by ViewVC 1.1.17