--- SheepShaver/src/include/main.h 2003/09/29 15:46:08 1.2 +++ SheepShaver/src/include/main.h 2004/11/13 14:09:16 1.6 @@ -1,7 +1,7 @@ /* * main.h - Emulation core * - * SheepShaver (C) 1997-2002 Christian Bauer and Marc Hellwig + * SheepShaver (C) 1997-2004 Christian Bauer and Marc Hellwig * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -28,6 +28,7 @@ extern uint32 BootGlobsAddr; // Address extern uint32 PVR; // Theoretical PVR extern int64 CPUClockSpeed; // Processor clock speed (Hz) extern int64 BusClockSpeed; // Bus clock speed (Hz) +extern int64 TimebaseSpeed; // Timebase clock speed (Hz) #ifdef __BEOS__ extern system_info SysInfo; // System information @@ -42,7 +43,7 @@ struct M68kRegisters { // Functions extern void Dump68kRegs(M68kRegisters *r); // Dump 68k registers -extern void MakeExecutable(int dummy, void *start, uint32 length); // Make code executable +extern void MakeExecutable(int dummy, uint32 start, uint32 length); // Make code executable extern void PatchAfterStartup(void); // Patches after system startup extern void QuitEmulator(void); // Quit emulator (must only be called from main thread) extern void ErrorAlert(const char *text); // Display error alert @@ -69,9 +70,6 @@ enum { extern volatile uint32 InterruptFlags; // Currently pending interrupts extern void SetInterruptFlag(uint32); extern void ClearInterruptFlag(uint32); -#if EMULATED_PPC -extern void HandleInterrupt(void); // Handle SIGUSR1 interrupt in emulator thread -#endif extern void TriggerInterrupt(void); // Trigger SIGUSR1 interrupt in emulator thread extern void DisableInterrupt(void); // Disable SIGUSR1 interrupt (can be nested) extern void EnableInterrupt(void); // Enable SIGUSR1 interrupt (can be nested)