comparison m68k_to_x86.h @ 155:94a65fb4e1c7

Don't use the native call stack for M68K calls by default
author Mike Pavone <pavone@retrodev.com>
date Fri, 04 Jan 2013 23:21:07 -0800
parents dd3c680c618c
children ebcbdd1c4cc8
comparison
equal deleted inserted replaced
154:4791c0204410 155:94a65fb4e1c7
4 #define NUM_MEM_AREAS 4 4 #define NUM_MEM_AREAS 4
5 #define NATIVE_MAP_CHUNKS (64*1024) 5 #define NATIVE_MAP_CHUNKS (64*1024)
6 #define NATIVE_CHUNK_SIZE ((16 * 1024 * 1024 / NATIVE_MAP_CHUNKS)/2) 6 #define NATIVE_CHUNK_SIZE ((16 * 1024 * 1024 / NATIVE_MAP_CHUNKS)/2)
7 #define INVALID_OFFSET 0xFFFFFFFF 7 #define INVALID_OFFSET 0xFFFFFFFF
8 8
9 #define OPT_NATIVE_CALL_STACK 0x1
10
9 typedef struct { 11 typedef struct {
10 uint8_t *base; 12 uint8_t *base;
11 int32_t *offsets; 13 int32_t *offsets;
12 } native_map_slot; 14 } native_map_slot;
13 15