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

Comparing SheepShaver/src/thunks.cpp (file contents):
Revision 1.12 by gbeauche, 2005-02-20T18:08:50Z vs.
Revision 1.13 by gbeauche, 2005-06-23T16:23:31Z

# Line 219 | Line 219 | bool ThunksInit(void)
219   #define DEFINE_NATIVE_OP(ID, FUNC) do {                         \
220                  uintptr base = SheepMem::Reserve(8);            \
221                  WriteMacInt32(base + 0, (uint32)FUNC);          \
222 <                WriteMacInt32(base + 4, 0); /*Fake TVECT*/      \
222 >                WriteMacInt32(base + 4, (uint32)TOC);           \
223                  native_op[ID].tvect = base;                                     \
224                  native_op[ID].func  = (uint32)FUNC;                     \
225          } while (0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines