mirror of
https://github.com/ctm/syn68k.git
synced 2024-06-07 00: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. */
|
/* Global CPU state struct. */
|
||||||
CPUState cpu_state;
|
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
|
/* This function initializes syn68k. Call it exactly once, before any
|
||||||
* other syn68k calls. DOS_INT_FLAG_ADDR is the conventional memory
|
* other syn68k calls. DOS_INT_FLAG_ADDR is the conventional memory
|
||||||
* offset of the 32 bit synchronous interrupt flag. Just pass in zero
|
* offset of the 32 bit synchronous interrupt flag. Just pass in zero
|
||||||
|
|
|
@ -10,12 +10,6 @@
|
||||||
|
|
||||||
#include <unistd.h>
|
#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. */
|
/* These are set by command-line switches. */
|
||||||
int test_only_non_cc_variants; /* If 0, test only cc setting variants. */
|
int test_only_non_cc_variants; /* If 0, test only cc setting variants. */
|
||||||
int generate_crc;
|
int generate_crc;
|
||||||
|
|
|
@ -28,6 +28,8 @@ main (int argc, char *argv[])
|
||||||
malloc_debug (31); /* Just to be safe. */
|
malloc_debug (31); /* Just to be safe. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
ROMlib_offset = MEMORY_OFFSET;
|
||||||
|
|
||||||
/* Set up default values for command line switches. */
|
/* Set up default values for command line switches. */
|
||||||
test_only_non_cc_variants = 0;
|
test_only_non_cc_variants = 0;
|
||||||
#ifdef mc68000
|
#ifdef mc68000
|
||||||
|
|
Loading…
Reference in New Issue
Block a user