]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/alpha_palcode.c
find -type f | xargs sed -i 's/[\t ]$//g' # on most files
[mirror_qemu.git] / hw / alpha_palcode.c
index 0fe9d969fbe0a6cd783af13e8c90b202f07a8e21..8df7d89040971277ffc3e75e20cc17b1f822e96c 100644 (file)
@@ -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);
     }