summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--backend.c (renamed from x86_backend.c)4
-rw-r--r--backend.h (renamed from x86_backend.h)6
-rw-r--r--m68k_to_x86.c2
-rw-r--r--m68k_to_x86.h2
-rw-r--r--z80_to_x86.h4
6 files changed, 10 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 1cc0a30..a20ae8f 100644
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,7 @@ endif
-TRANSOBJS=gen_x86.o x86_backend.o mem.o
+TRANSOBJS=gen_x86.o backend.o mem.o
M68KOBJS=68kinst.o m68k_to_x86.o
ifeq ($(CPU),x86_64)
M68KOBJS+= runtime.o
diff --git a/x86_backend.c b/backend.c
index c5c441a..8062145 100644
--- a/x86_backend.c
+++ b/backend.c
@@ -1,9 +1,9 @@
/*
Copyright 2013 Michael Pavone
- This file is part of BlastEm.
+ This file is part of BlastEm.
BlastEm is free software distributed under the terms of the GNU General Public License version 3 or greater. See COPYING for full license text.
*/
-#include "x86_backend.h"
+#include "backend.h"
#include <stdlib.h>
deferred_addr * defer_address(deferred_addr * old_head, uint32_t address, uint8_t *dest)
diff --git a/x86_backend.h b/backend.h
index ea52c2d..d16a80b 100644
--- a/x86_backend.h
+++ b/backend.h
@@ -3,8 +3,8 @@
This file is part of BlastEm.
BlastEm is free software distributed under the terms of the GNU General Public License version 3 or greater. See COPYING for full license text.
*/
-#ifndef X86_BACKEND_H_
-#define X86_BACKEND_H_
+#ifndef BACKEND_H_
+#define BACKEND_H_
#include <stdint.h>
#include <stdio.h>
@@ -88,5 +88,5 @@ deferred_addr * defer_address(deferred_addr * old_head, uint32_t address, uint8_
void remove_deferred_until(deferred_addr **head_ptr, deferred_addr * remove_to);
void process_deferred(deferred_addr ** head_ptr, void * context, native_addr_func get_native);
-#endif //X86_BACKEND_H_
+#endif //BACKEND_H_
diff --git a/m68k_to_x86.c b/m68k_to_x86.c
index c0a0034..d926031 100644
--- a/m68k_to_x86.c
+++ b/m68k_to_x86.c
@@ -7,7 +7,7 @@
#include "m68k_to_x86.h"
#include "68kinst.h"
#include "mem.h"
-#include "x86_backend.h"
+#include "backend.h"
#include <stdio.h>
#include <stddef.h>
#include <stdlib.h>
diff --git a/m68k_to_x86.h b/m68k_to_x86.h
index 7fba62c..7752465 100644
--- a/m68k_to_x86.h
+++ b/m68k_to_x86.h
@@ -7,7 +7,7 @@
#define M68K_TO_X86_H_
#include <stdint.h>
#include <stdio.h>
-#include "x86_backend.h"
+#include "backend.h"
//#include "68kinst.h"
struct m68kinst;
diff --git a/z80_to_x86.h b/z80_to_x86.h
index dd5864b..ab2c846 100644
--- a/z80_to_x86.h
+++ b/z80_to_x86.h
@@ -1,12 +1,12 @@
/*
Copyright 2013 Michael Pavone
- This file is part of BlastEm.
+ This file is part of BlastEm.
BlastEm is free software distributed under the terms of the GNU General Public License version 3 or greater. See COPYING for full license text.
*/
#ifndef Z80_TO_X86_H_
#define Z80_TO_X86_H_
#include "z80inst.h"
-#include "x86_backend.h"
+#include "backend.h"
#define ZNUM_MEM_AREAS 4
#define ZMAX_NATIVE_SIZE 128