fix spelling in main directory

Signed-off-by: Dong Xu Wang <wdongxu@linux.vnet.ibm.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
This commit is contained in:
Dong Xu Wang 2011-11-22 18:06:26 +08:00 committed by Stefan Hajnoczi
parent 9b2260cbd5
commit 07f35073c6
15 changed files with 22 additions and 22 deletions

View File

@ -1624,7 +1624,7 @@ arm_decode_shift (long given, fprintf_function func, void *stream,
} }
/* Print one coprocessor instruction on INFO->STREAM. /* Print one coprocessor instruction on INFO->STREAM.
Return true if the instuction matched, false if this is not a Return true if the instruction matched, false if this is not a
recognised coprocessor instruction. */ recognised coprocessor instruction. */
static bfd_boolean static bfd_boolean
@ -2214,7 +2214,7 @@ print_arm_address (bfd_vma pc, struct disassemble_info *info, long given)
} }
/* Print one neon instruction on INFO->STREAM. /* Print one neon instruction on INFO->STREAM.
Return true if the instuction matched, false if this is not a Return true if the instruction matched, false if this is not a
recognised neon instruction. */ recognised neon instruction. */
static bfd_boolean static bfd_boolean
@ -3927,7 +3927,7 @@ print_insn_arm (bfd_vma pc, struct disassemble_info *info)
n = last_mapping_sym - 1; n = last_mapping_sym - 1;
/* No mapping symbol found at this address. Look backwards /* No mapping symbol found at this address. Look backwards
for a preceeding one. */ for a preceding one. */
for (; n >= 0; n--) for (; n >= 0; n--)
{ {
if (get_sym_code_type (info, n, &type)) if (get_sym_code_type (info, n, &type))

View File

@ -368,7 +368,7 @@ DECLARE_TLS(CPUState *,cpu_single_env);
#define CPU_INTERRUPT_TGT_EXT_4 0x1000 #define CPU_INTERRUPT_TGT_EXT_4 0x1000
/* Several target-specific internal interrupts. These differ from the /* Several target-specific internal interrupts. These differ from the
preceeding target-specific interrupts in that they are intended to preceding target-specific interrupts in that they are intended to
originate from within the cpu itself, typically in response to some originate from within the cpu itself, typically in response to some
instruction being executed. These, therefore, are not masked while instruction being executed. These, therefore, are not masked while
single-stepping within the debugger. */ single-stepping within the debugger. */

View File

@ -1,7 +1,7 @@
#ifndef CPU_COMMON_H #ifndef CPU_COMMON_H
#define CPU_COMMON_H 1 #define CPU_COMMON_H 1
/* CPU interfaces that are target indpendent. */ /* CPU interfaces that are target independent. */
#ifdef TARGET_PHYS_ADDR_BITS #ifdef TARGET_PHYS_ADDR_BITS
#include "targphys.h" #include "targphys.h"

2
cpus.c
View File

@ -281,7 +281,7 @@ void qemu_clock_warp(QEMUClock *clock)
* (related to the time left until the next event) has passed. This * (related to the time left until the next event) has passed. This
* rt_clock timer will do this. This avoids that the warps are too * rt_clock timer will do this. This avoids that the warps are too
* visible externally---for example, you will not be sending network * visible externally---for example, you will not be sending network
* packets continously instead of every 100ms. * packets continuously instead of every 100ms.
*/ */
qemu_mod_timer(icount_warp_timer, vm_clock_warp_start + deadline); qemu_mod_timer(icount_warp_timer, vm_clock_warp_start + deadline);
} else { } else {

View File

@ -1,5 +1,5 @@
/* /*
* Internal memory managment interfaces * Internal memory management interfaces
* *
* Copyright 2011 Red Hat, Inc. and/or its affiliates * Copyright 2011 Red Hat, Inc. and/or its affiliates
* *

View File

@ -564,7 +564,7 @@ If not, see <http://www.gnu.org/licenses/>. */
*/ */
/* There are two kinds of delay slot nullification: normal which is /* There are two kinds of delay slot nullification: normal which is
* controled by the nullification bit, and conditional, which depends * controlled by the nullification bit, and conditional, which depends
* on the direction of the branch and its success or failure. * on the direction of the branch and its success or failure.
* *
* NONE is unfortunately #defined in the hiux system include files. * NONE is unfortunately #defined in the hiux system include files.

View File

@ -3518,7 +3518,7 @@ const struct m68k_opcode m68k_opcodes[] =
/* NOTE: The mcf5200 family programmer's reference manual does not /* NOTE: The mcf5200 family programmer's reference manual does not
indicate the byte form of the movea instruction is invalid (as it indicate the byte form of the movea instruction is invalid (as it
is on 68000 family cpus). However, experiments on the 5202 yeild is on 68000 family cpus). However, experiments on the 5202 yield
unexpected results. The value is copied, but it is not sign extended unexpected results. The value is copied, but it is not sign extended
(as is done with movea.w) and the top three bytes in the address (as is done with movea.w) and the top three bytes in the address
register are not disturbed. I don't know if this is the intended register are not disturbed. I don't know if this is the intended

View File

@ -111,7 +111,7 @@ typedef int PollingFunc(void *opaque);
* qemu_add_wait_object. * qemu_add_wait_object.
* *
* Polling callbacks really have nothing Windows specific in them, but * Polling callbacks really have nothing Windows specific in them, but
* as they are a hack and are currenly not necessary under POSIX systems, * as they are a hack and are currently not necessary under POSIX systems,
* they are only available when QEMU is running under Windows. * they are only available when QEMU is running under Windows.
* *
* @func: The function that does the polling, and returns 1 to force * @func: The function that does the polling, and returns 1 to force

4
nbd.c
View File

@ -203,7 +203,7 @@ int nbd_negotiate(int csock, off_t size, uint32_t flags)
return -1; return -1;
} }
TRACE("Negotation succeeded."); TRACE("Negotiation succeeded.");
return 0; return 0;
} }
@ -215,7 +215,7 @@ int nbd_receive_negotiate(int csock, const char *name, uint32_t *flags,
uint64_t magic, s; uint64_t magic, s;
uint16_t tmp; uint16_t tmp;
TRACE("Receiving negotation."); TRACE("Receiving negotiation.");
if (read_sync(csock, buf, 8) != 8) { if (read_sync(csock, buf, 8) != 8) {
LOG("read failed"); LOG("read failed");

View File

@ -445,7 +445,7 @@ static int read_f(int argc, char **argv)
} }
if ((pattern_count < 0) || (pattern_count + pattern_offset > count)) { if ((pattern_count < 0) || (pattern_count + pattern_offset > count)) {
printf("pattern verfication range exceeds end of read data\n"); printf("pattern verification range exceeds end of read data\n");
return 0; return 0;
} }

View File

@ -480,7 +480,7 @@ void print_option_parameters(QEMUOptionParameter *list)
printf("%s=%" PRId64 " ", list->name, list->value.n); printf("%s=%" PRId64 " ", list->name, list->value.n);
break; break;
default: default:
printf("%s=(unkown type) ", list->name); printf("%s=(unknown type) ", list->name);
break; break;
} }
list++; list++;

View File

@ -223,7 +223,7 @@ static const QErrorStringTable qerror_table[] = {
}, },
{ {
.error_fmt = QERR_UNDEFINED_ERROR, .error_fmt = QERR_UNDEFINED_ERROR,
.desc = "An undefined error has ocurred", .desc = "An undefined error has occurred",
}, },
{ {
.error_fmt = QERR_UNSUPPORTED, .error_fmt = QERR_UNSUPPORTED,

View File

@ -1552,7 +1552,7 @@ int qemu_savevm_state_begin(Monitor *mon, QEMUFile *f, int blk_enable,
} }
/* /*
* this funtion has three return values: * this function has three return values:
* negative: there was one error, and we have -errno. * negative: there was one error, and we have -errno.
* 0 : We haven't finished, caller have to go again * 0 : We haven't finished, caller have to go again
* 1 : We have finished, we can go to complete phase * 1 : We have finished, we can go to complete phase

View File

@ -166,7 +166,7 @@ static void test_nested_structs(void)
QString *str; QString *str;
ud1.integer = 42; ud1.integer = 42;
ud1.string = strdup("fourty two"); ud1.string = strdup("forty two");
/* sanity check */ /* sanity check */
mo = qmp_output_visitor_new(); mo = qmp_output_visitor_new();
@ -179,13 +179,13 @@ static void test_nested_structs(void)
g_assert(obj); g_assert(obj);
qobject_decref(obj); qobject_decref(obj);
ud2.string = strdup("fourty three"); ud2.string = strdup("forty three");
ud2.dict.string = strdup("fourty four"); ud2.dict.string = strdup("forty four");
ud2.dict.dict.userdef = ud1_p; ud2.dict.dict.userdef = ud1_p;
ud2.dict.dict.string = strdup("fourty five"); ud2.dict.dict.string = strdup("forty five");
ud2.dict.has_dict2 = true; ud2.dict.has_dict2 = true;
ud2.dict.dict2.userdef = ud1_p; ud2.dict.dict2.userdef = ud1_p;
ud2.dict.dict2.string = strdup("fourty six"); ud2.dict.dict2.string = strdup("forty six");
/* c type -> qobject */ /* c type -> qobject */
mo = qmp_output_visitor_new(); mo = qmp_output_visitor_new();

2
vl.c
View File

@ -820,7 +820,7 @@ static void validate_bootdevices(char *devices)
/* Allowed boot devices are: /* Allowed boot devices are:
* a-b: floppy disk drives * a-b: floppy disk drives
* c-f: IDE disk drives * c-f: IDE disk drives
* g-m: machine implementation dependant drives * g-m: machine implementation dependent drives
* n-p: network devices * n-p: network devices
* It's up to each machine implementation to check if the given boot * It's up to each machine implementation to check if the given boot
* devices match the actual hardware implementation and firmware * devices match the actual hardware implementation and firmware