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

Comparing SheepShaver/src/include/main.h (file contents):
Revision 1.2 by gbeauche, 2003-09-29T15:46:08Z vs.
Revision 1.7 by gbeauche, 2005-01-30T21:19:07Z

# Line 1 | Line 1
1   /*
2   *  main.h - Emulation core
3   *
4 < *  SheepShaver (C) 1997-2002 Christian Bauer and Marc Hellwig
4 > *  SheepShaver (C) 1997-2004 Christian Bauer and Marc Hellwig
5   *
6   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by
# Line 28 | Line 28 | extern uint32 BootGlobsAddr;   // Address
28   extern uint32 PVR;                              // Theoretical PVR
29   extern int64 CPUClockSpeed;             // Processor clock speed (Hz)
30   extern int64 BusClockSpeed;             // Bus clock speed (Hz)
31 + extern int64 TimebaseSpeed;             // Timebase clock speed (Hz)
32  
33   #ifdef __BEOS__
34   extern system_info SysInfo;             // System information
# Line 41 | Line 42 | struct M68kRegisters {
42  
43  
44   // Functions
45 + extern bool InitAll(void);
46 + extern void ExitAll(void);
47   extern void Dump68kRegs(M68kRegisters *r);                                      // Dump 68k registers
48 < extern void MakeExecutable(int dummy, void *start, uint32 length);      // Make code executable
48 > extern void MakeExecutable(int dummy, uint32 start, uint32 length);     // Make code executable
49   extern void PatchAfterStartup(void);                                            // Patches after system startup
50   extern void QuitEmulator(void);                                                         // Quit emulator (must only be called from main thread)
51   extern void ErrorAlert(const char *text);                                       // Display error alert
# Line 69 | Line 72 | enum {
72   extern volatile uint32 InterruptFlags;                                          // Currently pending interrupts
73   extern void SetInterruptFlag(uint32);
74   extern void ClearInterruptFlag(uint32);
72 #if EMULATED_PPC
73 extern void HandleInterrupt(void);                                                      // Handle SIGUSR1 interrupt in emulator thread
74 #endif
75   extern void TriggerInterrupt(void);                                                     // Trigger SIGUSR1 interrupt in emulator thread
76   extern void DisableInterrupt(void);                                                     // Disable SIGUSR1 interrupt (can be nested)
77   extern void EnableInterrupt(void);                                                      // Enable SIGUSR1 interrupt (can be nested)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines