summaryrefslogtreecommitdiff
path: root/hw/alpha_palcode.c
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 /hw/alpha_palcode.c
parentbd494f4cbd4187dda8cc8f4739763f24a31a4c8b (diff)
downloadqemu-5fafdf24ef2c090c164d4dc89684b3f379dbdd87.tar.gz
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 'hw/alpha_palcode.c')
-rw-r--r--hw/alpha_palcode.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/alpha_palcode.c b/hw/alpha_palcode.c
index 0fe9d969fb..8df7d89040 100644
--- a/hw/alpha_palcode.c
+++ b/hw/alpha_palcode.c
@@ -1,6 +1,6 @@
/*
* Alpha emulation - PALcode emulation for qemu.
- *
+ *
* Copyright (c) 2007 Jocelyn Mayer
*
* This library is free software; you can redistribute it and/or
@@ -62,7 +62,7 @@ static void update_itb ()
mtpr(TB_TAG);
mtpr(TB_CTL);
/* This commits the TB update */
- mtpr(ITB_PTE);
+ mtpr(ITB_PTE);
}
static void update_dtb ();
@@ -937,7 +937,7 @@ static int paddr_from_pte (uint64_t *paddr, int *zbitsp, int *prot,
}
}
*paddr = (pfn << page_bits) | (vaddr & page_mask);
-
+
return 0;
}
@@ -998,7 +998,7 @@ int cpu_ppc_handle_mmu_fault (CPUState *env, uint32_t address, int rw,
if (env->user_mode_only) {
ret = 2;
- } else {
+ } else {
ret = virtual_to_physical(env, &physical, &zbits, &prot,
address, is_user, rw);
}