ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/uae_cpu/newcpu.h
(Generate patch)

Comparing BasiliskII/src/uae_cpu/newcpu.h (file contents):
Revision 1.9 by gbeauche, 2002-09-13T12:50:56Z vs.
Revision 1.10 by gbeauche, 2002-09-17T16:05:39Z

# Line 9 | Line 9
9   #ifndef NEWCPU_H
10   #define NEWCPU_H
11  
12 + #ifndef FLIGHT_RECORDER
13 + #define FLIGHT_RECORDER 0
14 + #endif
15 +
16   #include "m68k.h"
17   #include "readcpu.h"
18   #include "spcflags.h"
# Line 26 | Line 30 | extern int broken_in;
30   #define CFLOW_NORMAL            0
31   #define CFLOW_BRANCH            1
32   #define CFLOW_JUMP                      2
29 #define CFLOW_TRAP                      CFLOW_JUMP
33   #define CFLOW_RETURN            3
34 + #define CFLOW_TRAP                      4
35   #define CFLOW_SPCFLAGS          32      /* some spcflags are set */
36   #define CFLOW_EXEC_RETURN       64      /* must exit from the execution loop */
37  
# Line 55 | Line 59 | struct cputbl {
59      uae_u16 opcode;
60   };
61  
62 + extern cpuop_func *cpufunctbl[65536] ASM_SYM_FOR_FUNC ("cpufunctbl");
63 +
64 + #if USE_JIT
65 + typedef void compop_func (uae_u32) REGPARAM;
66 +
67 + struct comptbl {
68 +    compop_func *handler;
69 +        uae_u32         specific;
70 +        uae_u32         opcode;
71 + };
72 + #endif
73 +
74   extern cpuop_rettype REGPARAM2 op_illg (uae_u32) REGPARAM;
75  
76   typedef char flagtype;
# Line 277 | Line 293 | extern struct cputbl op_smalltbl_3_ff[];
293   /* 68000 slow but compatible.  */
294   extern struct cputbl op_smalltbl_4_ff[];
295  
296 + #if FLIGHT_RECORDER
297 + extern void m68k_record_step(uaecptr);
298 + #endif
299   extern void m68k_do_execute(void);
300   extern void m68k_execute(void);
301 + #if USE_JIT
302 + extern void m68k_do_compile_execute(void);
303 + extern void m68k_compile_execute(void);
304 + #endif
305  
306   #endif /* NEWCPU_H */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines