aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-03 19:51:57 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-03 19:51:57 +0000
commit1235fc066ac7146bb3ed8ae97efeb710bb57644a (patch)
tree6c9b3759440f9030b7ee796b69af5467a8c26c6a
parentc8a706fe6242a553960ccc3071a4e75ceba6f3d2 (diff)
Spelling fixes, by Stefan Weil.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4655 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--exec-all.h2
-rw-r--r--hw/alpha_palcode.c2
-rw-r--r--hw/integratorcp.c2
-rw-r--r--hw/realview.c2
-rw-r--r--hw/scsi-disk.c2
-rw-r--r--hw/versatilepb.c2
-rw-r--r--linux-user/path.c2
-rw-r--r--linux-user/qemu.h2
-rw-r--r--qemu-tech.texi4
-rw-r--r--target-i386/cpu.h2
-rw-r--r--target-i386/op_helper.c8
-rw-r--r--target-ppc/translate.c2
-rw-r--r--tcg/tcg.c2
13 files changed, 17 insertions, 17 deletions
diff --git a/exec-all.h b/exec-all.h
index 6cc3f70f44..8c52b796a5 100644
--- a/exec-all.h
+++ b/exec-all.h
@@ -216,7 +216,7 @@ static inline void tb_set_jmp_target1(unsigned long jmp_addr, unsigned long addr
{
/* patch the branch destination */
*(uint32_t *)jmp_addr = addr - (jmp_addr + 4);
- /* no need to flush icache explicitely */
+ /* no need to flush icache explicitly */
}
#elif defined(__arm__)
static inline void tb_set_jmp_target1(unsigned long jmp_addr, unsigned long addr)
diff --git a/hw/alpha_palcode.c b/hw/alpha_palcode.c
index 50ce92cb83..3dfb1a74f9 100644
--- a/hw/alpha_palcode.c
+++ b/hw/alpha_palcode.c
@@ -55,7 +55,7 @@ pal_handler_t pal_handlers[] = {
};
#if 0
-/* One must explicitely check that the TB is valid and the FOE bit is reset */
+/* One must explicitly check that the TB is valid and the FOE bit is reset */
static void update_itb (void)
{
/* This writes into a temp register, not the actual one */
diff --git a/hw/integratorcp.c b/hw/integratorcp.c
index 104796c52b..4ac7c0c961 100644
--- a/hw/integratorcp.c
+++ b/hw/integratorcp.c
@@ -494,7 +494,7 @@ static void integratorcp_init(ram_addr_t ram_size, int vga_ram_size,
}
ram_offset = qemu_ram_alloc(ram_size);
/* ??? On a real system the first 1Mb is mapped as SSRAM or boot flash. */
- /* ??? RAM shoud repeat to fill physical memory space. */
+ /* ??? RAM should repeat to fill physical memory space. */
/* SDRAM at address zero*/
cpu_register_physical_memory(0, ram_size, ram_offset | IO_MEM_RAM);
/* And again at address 0x80000000 */
diff --git a/hw/realview.c b/hw/realview.c
index 16aa62bee3..595e7ec8dc 100644
--- a/hw/realview.c
+++ b/hw/realview.c
@@ -64,7 +64,7 @@ static void realview_init(ram_addr_t ram_size, int vga_ram_size,
}
}
- /* ??? RAM shoud repeat to fill physical memory space. */
+ /* ??? RAM should repeat to fill physical memory space. */
/* SDRAM at address zero. */
cpu_register_physical_memory(0, ram_size, IO_MEM_RAM);
diff --git a/hw/scsi-disk.c b/hw/scsi-disk.c
index 44462d4351..dcf03291dc 100644
--- a/hw/scsi-disk.c
+++ b/hw/scsi-disk.c
@@ -662,7 +662,7 @@ static int32_t scsi_send_command(SCSIDevice *d, uint32_t tag,
case 0x46:
DPRINTF("Get Configuration (rt %d, maxlen %d)\n", buf[1] & 3, len);
memset(outbuf, 0, 8);
- /* ??? This shoud probably return much more information. For now
+ /* ??? This should probably return much more information. For now
just return the basic header indicating the CD-ROM profile. */
outbuf[7] = 8; // CD-ROM
r->buf_len = 8;
diff --git a/hw/versatilepb.c b/hw/versatilepb.c
index 1825f91b75..bfbc0312a0 100644
--- a/hw/versatilepb.c
+++ b/hw/versatilepb.c
@@ -182,7 +182,7 @@ static void versatile_init(ram_addr_t ram_size, int vga_ram_size,
fprintf(stderr, "Unable to find CPU definition\n");
exit(1);
}
- /* ??? RAM shoud repeat to fill physical memory space. */
+ /* ??? RAM should repeat to fill physical memory space. */
/* SDRAM at address zero. */
cpu_register_physical_memory(0, ram_size, IO_MEM_RAM);
diff --git a/linux-user/path.c b/linux-user/path.c
index 7da0a8b27a..27c7d50518 100644
--- a/linux-user/path.c
+++ b/linux-user/path.c
@@ -82,7 +82,7 @@ static struct pathelem *add_entry(struct pathelem *root, const char *name)
return root;
}
-/* This needs to be done after tree is stabalized (ie. no more reallocs!). */
+/* This needs to be done after tree is stabilized (ie. no more reallocs!). */
static void set_parents(struct pathelem *child, struct pathelem *parent)
{
unsigned int i;
diff --git a/linux-user/qemu.h b/linux-user/qemu.h
index 7a38bfe074..81f7fb290e 100644
--- a/linux-user/qemu.h
+++ b/linux-user/qemu.h
@@ -388,7 +388,7 @@ static inline void *lock_user(int type, abi_ulong guest_addr, long len, int copy
}
/* Unlock an area of guest memory. The first LEN bytes must be
- flushed back to guest memory. host_ptr = NULL is explicitely
+ flushed back to guest memory. host_ptr = NULL is explicitly
allowed and does nothing. */
static inline void unlock_user(void *host_ptr, abi_ulong guest_addr,
long len)
diff --git a/qemu-tech.texi b/qemu-tech.texi
index cc027cf6a5..5159fbb114 100644
--- a/qemu-tech.texi
+++ b/qemu-tech.texi
@@ -277,7 +277,7 @@ The new Plex86 [8] PC virtualizer is done in the same spirit as the
qemu-fast system emulator. It requires a patched Linux kernel to work
(you cannot launch the same kernel on your PC), but the patches are
really small. As it is a PC virtualizer (no emulation is done except
-for some priveledged instructions), it has the potential of being
+for some privileged instructions), it has the potential of being
faster than QEMU. The downside is that a complicated (and potentially
unsafe) host kernel patch is needed.
@@ -334,7 +334,7 @@ instruction, it just stores one operand (called @code{CC_SRC}), the
result (called @code{CC_DST}) and the type of operation (called
@code{CC_OP}).
-@code{CC_OP} is almost never explicitely set in the generated code
+@code{CC_OP} is almost never explicitly set in the generated code
because it is known at translation time.
In order to increase performances, a backward pass is performed on the
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index 56cdd97506..d9253a14ed 100644
--- a/target-i386/cpu.h
+++ b/target-i386/cpu.h
@@ -351,7 +351,7 @@
enum {
CC_OP_DYNAMIC, /* must use dynamic code to get cc_op */
- CC_OP_EFLAGS, /* all cc are explicitely computed, CC_SRC = flags */
+ CC_OP_EFLAGS, /* all cc are explicitly computed, CC_SRC = flags */
CC_OP_MULB, /* modify all flags, C, O = (CC_SRC != 0) */
CC_OP_MULW,
diff --git a/target-i386/op_helper.c b/target-i386/op_helper.c
index 5e78494917..83fa69a136 100644
--- a/target-i386/op_helper.c
+++ b/target-i386/op_helper.c
@@ -689,7 +689,7 @@ static void do_interrupt_protected(int intno, int is_int, int error_code,
}
dpl = (e2 >> DESC_DPL_SHIFT) & 3;
cpl = env->hflags & HF_CPL_MASK;
- /* check privledge if software int */
+ /* check privilege if software int */
if (is_int && dpl < cpl)
raise_exception_err(EXCP0D_GPF, intno * 8 + 2);
/* check valid bit */
@@ -900,7 +900,7 @@ static void do_interrupt64(int intno, int is_int, int error_code,
}
dpl = (e2 >> DESC_DPL_SHIFT) & 3;
cpl = env->hflags & HF_CPL_MASK;
- /* check privledge if software int */
+ /* check privilege if software int */
if (is_int && dpl < cpl)
raise_exception_err(EXCP0D_GPF, intno * 16 + 2);
/* check valid bit */
@@ -1166,7 +1166,7 @@ void do_interrupt_user(int intno, int is_int, int error_code,
dpl = (e2 >> DESC_DPL_SHIFT) & 3;
cpl = env->hflags & HF_CPL_MASK;
- /* check privledge if software int */
+ /* check privilege if software int */
if (is_int && dpl < cpl)
raise_exception_err(EXCP0D_GPF, (intno << shift) + 2);
@@ -2698,7 +2698,7 @@ static inline void helper_ret_protected(int shift, int is_iret, int addend)
sp += addend;
if (rpl == cpl && (!(env->hflags & HF_CS64_MASK) ||
((env->hflags & HF_CS64_MASK) && !is_iret))) {
- /* return to same priledge level */
+ /* return to same privilege level */
cpu_x86_load_seg_cache(env, R_CS, new_cs,
get_seg_base(e1, e2),
get_seg_limit(e1, e2),
diff --git a/target-ppc/translate.c b/target-ppc/translate.c
index 4e71614f7b..19de8695a3 100644
--- a/target-ppc/translate.c
+++ b/target-ppc/translate.c
@@ -287,7 +287,7 @@ static void gen_##name (DisasContext *ctx)
typedef struct opcode_t {
unsigned char opc1, opc2, opc3;
-#if HOST_LONG_BITS == 64 /* Explicitely align to 64 bits */
+#if HOST_LONG_BITS == 64 /* Explicitly align to 64 bits */
unsigned char pad[5];
#else
unsigned char pad[1];
diff --git a/tcg/tcg.c b/tcg/tcg.c
index fd5d288210..ef4460d257 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -1406,7 +1406,7 @@ static void tcg_reg_alloc_movi(TCGContext *s, const TCGArg *args)
propagation */
tcg_out_movi(s, ots->type, ots->reg, val);
} else {
- /* The movi is not explicitely generated here */
+ /* The movi is not explicitly generated here */
if (ots->val_type == TEMP_VAL_REG)
s->reg_to_temp[ots->reg] = -1;
ots->val_type = TEMP_VAL_CONST;