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

Comparing SheepShaver/src/include/macos_util.h (file contents):
Revision 1.4 by cebix, 2004-01-12T15:37:23Z vs.
Revision 1.5 by gbeauche, 2004-02-16T15:33:22Z

# Line 339 | Line 339 | struct SheepRoutineDescriptor
339                  Mac_memset(desc, 0, sizeof(RoutineDescriptor));
340                  WriteMacInt16(desc + offsetof(RoutineDescriptor, goMixedModeTrap), 0xAAFE);
341                  WriteMacInt8 (desc + offsetof(RoutineDescriptor, version), 7);
342 <                WriteMacInt32(desc + offsetof(RoutineDescriptor, routineRecords[0].procInfo), procInfo);
343 <                WriteMacInt8 (desc + offsetof(RoutineDescriptor, routineRecords[0].ISA), 1);
344 <                WriteMacInt16(desc + offsetof(RoutineDescriptor, routineRecords[0].routineFlags), 0 | 0 | 4);
345 <                WriteMacInt32(desc + offsetof(RoutineDescriptor, routineRecords[0].procDescriptor), procedure);
342 >                WriteMacInt32(desc + offsetof(RoutineDescriptor, routineRecords) + offsetof(RoutineRecord, procInfo), procInfo);
343 >                WriteMacInt8 (desc + offsetof(RoutineDescriptor, routineRecords) + offsetof(RoutineRecord, ISA), 1);
344 >                WriteMacInt16(desc + offsetof(RoutineDescriptor, routineRecords) + offsetof(RoutineRecord, routineFlags), 0 | 0 | 4);
345 >                WriteMacInt32(desc + offsetof(RoutineDescriptor, routineRecords) + offsetof(RoutineRecord, procDescriptor), procedure);
346          }
347   };
348  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines