aboutsummaryrefslogtreecommitdiff
path: root/target-m68k
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-09-16 21:08:06 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-09-16 21:08:06 +0000
commit5fafdf24ef2c090c164d4dc89684b3f379dbdd87 (patch)
treec0654ee63b6dac76d98b427e92ef16850a90c652 /target-m68k
parentbd494f4cbd4187dda8cc8f4739763f24a31a4c8b (diff)
downloadqemu-5fafdf24ef2c090c164d4dc89684b3f379dbdd87.zip
qemu-5fafdf24ef2c090c164d4dc89684b3f379dbdd87.tar.gz
qemu-5fafdf24ef2c090c164d4dc89684b3f379dbdd87.tar.bz2
find -type f | xargs sed -i 's/[\t ]$//g' # on most files
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3173 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-m68k')
-rw-r--r--target-m68k/cpu.h8
-rw-r--r--target-m68k/exec.h2
-rw-r--r--target-m68k/helper.c10
-rw-r--r--target-m68k/op.c6
-rw-r--r--target-m68k/op_helper.c2
-rw-r--r--target-m68k/translate.c14
6 files changed, 21 insertions, 21 deletions
diff --git a/target-m68k/cpu.h b/target-m68k/cpu.h
index b0e725d..5a0222d 100644
--- a/target-m68k/cpu.h
+++ b/target-m68k/cpu.h
@@ -1,6 +1,6 @@
/*
* m68k virtual CPU header
- *
+ *
* Copyright (c) 2005-2007 CodeSourcery
* Written by Paul Brook
*
@@ -86,7 +86,7 @@ typedef struct CPUM68KState {
/* Temporary storage for DIV helpers. */
uint32_t div1;
uint32_t div2;
-
+
/* MMU status. */
struct {
uint32_t ar;
@@ -125,7 +125,7 @@ void do_interrupt(int is_hw);
/* you can call this signal handler from your SIGBUS and SIGSEGV
signal handlers to inform the virtual CPU of exceptions. non zero
is returned if the signal was handled by the virtual CPU. */
-int cpu_m68k_signal_handler(int host_signum, void *pinfo,
+int cpu_m68k_signal_handler(int host_signum, void *pinfo,
void *puc);
void cpu_m68k_flush_flags(CPUM68KState *, int);
@@ -213,7 +213,7 @@ void register_m68k_insns (CPUM68KState *env);
/* Linux uses 8k pages. */
#define TARGET_PAGE_BITS 13
#else
-/* Smallest TLB entry size is 1k. */
+/* Smallest TLB entry size is 1k. */
#define TARGET_PAGE_BITS 10
#endif
diff --git a/target-m68k/exec.h b/target-m68k/exec.h
index 331844b..dc5bf5e 100644
--- a/target-m68k/exec.h
+++ b/target-m68k/exec.h
@@ -1,6 +1,6 @@
/*
* m68k execution defines
- *
+ *
* Copyright (c) 2005-2006 CodeSourcery
* Written by Paul Brook
*
diff --git a/target-m68k/helper.c b/target-m68k/helper.c
index 1330522..423a0e0 100644
--- a/target-m68k/helper.c
+++ b/target-m68k/helper.c
@@ -1,6 +1,6 @@
/*
* m68k op helpers
- *
+ *
* Copyright (c) 2006-2007 CodeSourcery
* Written by Paul Brook
*
@@ -39,11 +39,11 @@ struct m68k_def_t {
};
static m68k_def_t m68k_cpu_defs[] = {
- {"m5206", M68K_CPUID_M5206},
- {"m5208", M68K_CPUID_M5208},
+ {"m5206", M68K_CPUID_M5206},
+ {"m5208", M68K_CPUID_M5208},
{"cfv4e", M68K_CPUID_CFV4E},
{"any", M68K_CPUID_ANY},
- {NULL, 0},
+ {NULL, 0},
};
static void m68k_set_feature(CPUM68KState *env, int feature)
@@ -298,7 +298,7 @@ target_phys_addr_t cpu_get_phys_page_debug(CPUState *env, target_ulong addr)
return addr;
}
-#if defined(CONFIG_USER_ONLY)
+#if defined(CONFIG_USER_ONLY)
int cpu_m68k_handle_mmu_fault (CPUState *env, target_ulong address, int rw,
int is_user, int is_softmmu)
diff --git a/target-m68k/op.c b/target-m68k/op.c
index e5e39c2..b52a957 100644
--- a/target-m68k/op.c
+++ b/target-m68k/op.c
@@ -1,6 +1,6 @@
/*
* m68k micro operations
- *
+ *
* Copyright (c) 2006-2007 CodeSourcery
* Written by Paul Brook
*
@@ -349,7 +349,7 @@ OP(divu)
uint32_t quot;
uint32_t rem;
uint32_t flags;
-
+
num = env->div1;
den = env->div2;
/* ??? This needs to make sure the throwing location is accurate. */
@@ -380,7 +380,7 @@ OP(divs)
int32_t quot;
int32_t rem;
int32_t flags;
-
+
num = env->div1;
den = env->div2;
if (den == 0)
diff --git a/target-m68k/op_helper.c b/target-m68k/op_helper.c
index 39cd5d7..70b7aec 100644
--- a/target-m68k/op_helper.c
+++ b/target-m68k/op_helper.c
@@ -1,6 +1,6 @@
/*
* M68K helper routines
- *
+ *
* Copyright (c) 2007 CodeSourcery
*
* This library is free software; you can redistribute it and/or
diff --git a/target-m68k/translate.c b/target-m68k/translate.c
index 8adc9c3..978fb2c 100644
--- a/target-m68k/translate.c
+++ b/target-m68k/translate.c
@@ -1,6 +1,6 @@
/*
* m68k translation
- *
+ *
* Copyright (c) 2005-2007 CodeSourcery
* Written by Paul Brook
*
@@ -1639,7 +1639,7 @@ DISAS_INSN(branch)
uint32_t base;
int op;
int l1;
-
+
base = s->pc;
op = (insn >> 8) & 0xf;
offset = (int8_t)insn;
@@ -2190,7 +2190,7 @@ DISAS_INSN(fpu)
}
DEST_EA(insn, OS_LONG, res, NULL);
break;
- case 6: /* fmovem */
+ case 6: /* fmovem */
case 7:
{
int addr;
@@ -2323,7 +2323,7 @@ DISAS_INSN(fpu)
tmp = gen_new_qreg(QMODE_F32);
gen_op_f64_to_f32(tmp, res);
gen_op_f32_to_f64(res, tmp);
- }
+ }
gen_op_fp_result(res);
if (dest) {
gen_op_movf64(dest, res);
@@ -3065,7 +3065,7 @@ static void expand_op_addx_cc(qOP *qop)
int arg0 = qop->args[0];
int arg1 = qop->args[1];
int l1, l2;
-
+
gen_op_add32 (arg0, arg0, arg1);
l1 = gen_new_label();
l2 = gen_new_label();
@@ -3159,7 +3159,7 @@ gen_intermediate_code_internal(CPUState *env, TranslationBlock *tb,
/* generate intermediate code */
pc_start = tb->pc;
-
+
dc->tb = tb;
gen_opc_ptr = gen_opc_buf;
@@ -3311,7 +3311,7 @@ void cpu_m68k_close(CPUM68KState *env)
free(env);
}
-void cpu_dump_state(CPUState *env, FILE *f,
+void cpu_dump_state(CPUState *env, FILE *f,
int (*cpu_fprintf)(FILE *f, const char *fmt, ...),
int flags)
{