]> git.proxmox.com Git - qemu.git/commitdiff
Spelling fixes, by Stefan Weil.
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 8 May 2007 22:51:41 +0000 (22:51 +0000)
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 8 May 2007 22:51:41 +0000 (22:51 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2790 c046a42c-6fe2-441c-8c8c-71466251a162

cpu-all.h
dyngen.c

index 920a0f7e9bc50763262ceb8821a1dad4ac8177b0..5f0a7e989492b77e125a6a036e316823e9c3eb77 100644 (file)
--- a/cpu-all.h
+++ b/cpu-all.h
@@ -1045,8 +1045,8 @@ static inline int64_t cpu_get_real_ticks(void)
 
 #else
 /* The host CPU doesn't have an easily accessible cycle counter.
-   Just return a monotonically increasing vlue.  This will be totally wrong,
-   but hopefully better than nothing.  */
+   Just return a monotonically increasing value.  This will be
+   totally wrong, but hopefully better than nothing.  */
 static inline int64_t cpu_get_real_ticks (void)
 {
     static int64_t ticks = 0;
index b8950b11dd2253e3341bc651b1375f159df13fde..4ed48227e10b5b890e0b6acb651ca4ee4d137f6a 100644 (file)
--- a/dyngen.c
+++ b/dyngen.c
@@ -1750,8 +1750,9 @@ void gen_code(const char *name, host_ulong offset, host_ulong size,
                    }
 #endif
 #if defined(__APPLE__)
-/* set __attribute((unused)) on darwin because we wan't to avoid warning when we don't use the symbol */
-                    fprintf(outfile, "extern char %s __attribute__((unused));\n", sym_name);
+                    /* Set __attribute((unused)) on darwin because we
+                       want to avoid warning when we don't use the symbol.  */
+                    fprintf(outfile, "    extern char %s __attribute__((unused));\n", sym_name);
 #elif defined(HOST_IA64)
                        if (ELF64_R_TYPE(rel->r_info) != R_IA64_PCREL21B)
                                /*
@@ -1836,7 +1837,7 @@ void gen_code(const char *name, host_ulong offset, host_ulong size,
             }
         }
 
-        /* load parameres in variables */
+        /* load parameters in variables */
         for(i = 0; i < nb_args; i++) {
             fprintf(outfile, "    param%d = *opparam_ptr++;\n", i + 1);
         }