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

Comparing SheepShaver/src/BeOS/main_beos.cpp (file contents):
Revision 1.12 by gbeauche, 2004-05-31T09:04:43Z vs.
Revision 1.13 by gbeauche, 2004-07-03T10:39:05Z

# Line 219 | Line 219 | uint32 DREmulatorAddr; // Address of DR
219   uint32 PVR;                             // Theoretical PVR
220   int64 CPUClockSpeed;    // Processor clock speed (Hz)
221   int64 BusClockSpeed;    // Bus clock speed (Hz)
222 + int64 TimebaseSpeed;    // Timebase clock speed (Hz)
223   system_info SysInfo;    // System information
224  
225   static void *sig_stack = NULL;          // Stack for signal handlers
# Line 299 | Line 300 | void SheepShaver::ReadyToRun(void)
300          }
301          CPUClockSpeed = SysInfo.cpu_clock_speed;
302          BusClockSpeed = SysInfo.bus_clock_speed;
303 +        TimebaseSpeed = BusClockSpeed / 4;
304  
305          // Delete old areas
306          area_id old_kernel_area = find_area(KERNEL_AREA_NAME);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines