mirror of
https://github.com/ctm/syn68k.git
synced 2025-04-02 18:29:33 +00:00
moved ROMlib_offset definition into Syn68k (to help with Executor's use of autoconf).
This commit is contained in:
parent
d432d6ea9f
commit
2935fe1503
@ -23,6 +23,12 @@
|
||||
/* Global CPU state struct. */
|
||||
CPUState cpu_state;
|
||||
|
||||
#if SIZEOF_CHAR_P == 4
|
||||
uint32 ROMlib_offset;
|
||||
#else
|
||||
uint64 ROMlib_offset;
|
||||
#endif
|
||||
|
||||
/* This function initializes syn68k. Call it exactly once, before any
|
||||
* other syn68k calls. DOS_INT_FLAG_ADDR is the conventional memory
|
||||
* offset of the 32 bit synchronous interrupt flag. Just pass in zero
|
||||
|
@ -10,12 +10,6 @@
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
#if SIZEOF_CHAR_P == 4
|
||||
uint32 ROMlib_offset = MEMORY_OFFSET;
|
||||
#else
|
||||
uint64 ROMlib_offset = MEMORY_OFFSET;
|
||||
#endif
|
||||
|
||||
/* These are set by command-line switches. */
|
||||
int test_only_non_cc_variants; /* If 0, test only cc setting variants. */
|
||||
int generate_crc;
|
||||
|
@ -28,6 +28,8 @@ main (int argc, char *argv[])
|
||||
malloc_debug (31); /* Just to be safe. */
|
||||
#endif
|
||||
|
||||
ROMlib_offset = MEMORY_OFFSET;
|
||||
|
||||
/* Set up default values for command line switches. */
|
||||
test_only_non_cc_variants = 0;
|
||||
#ifdef mc68000
|
||||
|
Loading…
x
Reference in New Issue
Block a user