Commit 85028e4db6b92b9b2f0282971efdb0a0144bfcd3

Authored by ths
1 parent 3bdd58a4

Spelling fixes, by Stefan Weil.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2790 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 2 changed files with 6 additions and 5 deletions
cpu-all.h
@@ -1045,8 +1045,8 @@ static inline int64_t cpu_get_real_ticks(void) @@ -1045,8 +1045,8 @@ static inline int64_t cpu_get_real_ticks(void)
1045 1045
1046 #else 1046 #else
1047 /* The host CPU doesn't have an easily accessible cycle counter. 1047 /* The host CPU doesn't have an easily accessible cycle counter.
1048 - Just return a monotonically increasing vlue. This will be totally wrong,  
1049 - but hopefully better than nothing. */ 1048 + Just return a monotonically increasing value. This will be
  1049 + totally wrong, but hopefully better than nothing. */
1050 static inline int64_t cpu_get_real_ticks (void) 1050 static inline int64_t cpu_get_real_ticks (void)
1051 { 1051 {
1052 static int64_t ticks = 0; 1052 static int64_t ticks = 0;
dyngen.c
@@ -1750,8 +1750,9 @@ void gen_code(const char *name, host_ulong offset, host_ulong size, @@ -1750,8 +1750,9 @@ void gen_code(const char *name, host_ulong offset, host_ulong size,
1750 } 1750 }
1751 #endif 1751 #endif
1752 #if defined(__APPLE__) 1752 #if defined(__APPLE__)
1753 -/* set __attribute((unused)) on darwin because we wan't to avoid warning when we don't use the symbol */  
1754 - fprintf(outfile, "extern char %s __attribute__((unused));\n", sym_name); 1753 + /* Set __attribute((unused)) on darwin because we
  1754 + want to avoid warning when we don't use the symbol. */
  1755 + fprintf(outfile, " extern char %s __attribute__((unused));\n", sym_name);
1755 #elif defined(HOST_IA64) 1756 #elif defined(HOST_IA64)
1756 if (ELF64_R_TYPE(rel->r_info) != R_IA64_PCREL21B) 1757 if (ELF64_R_TYPE(rel->r_info) != R_IA64_PCREL21B)
1757 /* 1758 /*
@@ -1836,7 +1837,7 @@ void gen_code(const char *name, host_ulong offset, host_ulong size, @@ -1836,7 +1837,7 @@ void gen_code(const char *name, host_ulong offset, host_ulong size,
1836 } 1837 }
1837 } 1838 }
1838 1839
1839 - /* load parameres in variables */ 1840 + /* load parameters in variables */
1840 for(i = 0; i < nb_args; i++) { 1841 for(i = 0; i < nb_args; i++) {
1841 fprintf(outfile, " param%d = *opparam_ptr++;\n", i + 1); 1842 fprintf(outfile, " param%d = *opparam_ptr++;\n", i + 1);
1842 } 1843 }