Commit 1235fc066ac7146bb3ed8ae97efeb710bb57644a
1 parent
c8a706fe
Spelling fixes, by Stefan Weil.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4655 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
13 changed files
with
17 additions
and
17 deletions
exec-all.h
| @@ -216,7 +216,7 @@ static inline void tb_set_jmp_target1(unsigned long jmp_addr, unsigned long addr | @@ -216,7 +216,7 @@ static inline void tb_set_jmp_target1(unsigned long jmp_addr, unsigned long addr | ||
| 216 | { | 216 | { |
| 217 | /* patch the branch destination */ | 217 | /* patch the branch destination */ |
| 218 | *(uint32_t *)jmp_addr = addr - (jmp_addr + 4); | 218 | *(uint32_t *)jmp_addr = addr - (jmp_addr + 4); |
| 219 | - /* no need to flush icache explicitely */ | 219 | + /* no need to flush icache explicitly */ |
| 220 | } | 220 | } |
| 221 | #elif defined(__arm__) | 221 | #elif defined(__arm__) |
| 222 | static inline void tb_set_jmp_target1(unsigned long jmp_addr, unsigned long addr) | 222 | static inline void tb_set_jmp_target1(unsigned long jmp_addr, unsigned long addr) |
hw/alpha_palcode.c
| @@ -55,7 +55,7 @@ pal_handler_t pal_handlers[] = { | @@ -55,7 +55,7 @@ pal_handler_t pal_handlers[] = { | ||
| 55 | }; | 55 | }; |
| 56 | 56 | ||
| 57 | #if 0 | 57 | #if 0 |
| 58 | -/* One must explicitely check that the TB is valid and the FOE bit is reset */ | 58 | +/* One must explicitly check that the TB is valid and the FOE bit is reset */ |
| 59 | static void update_itb (void) | 59 | static void update_itb (void) |
| 60 | { | 60 | { |
| 61 | /* This writes into a temp register, not the actual one */ | 61 | /* This writes into a temp register, not the actual one */ |
hw/integratorcp.c
| @@ -494,7 +494,7 @@ static void integratorcp_init(ram_addr_t ram_size, int vga_ram_size, | @@ -494,7 +494,7 @@ static void integratorcp_init(ram_addr_t ram_size, int vga_ram_size, | ||
| 494 | } | 494 | } |
| 495 | ram_offset = qemu_ram_alloc(ram_size); | 495 | ram_offset = qemu_ram_alloc(ram_size); |
| 496 | /* ??? On a real system the first 1Mb is mapped as SSRAM or boot flash. */ | 496 | /* ??? On a real system the first 1Mb is mapped as SSRAM or boot flash. */ |
| 497 | - /* ??? RAM shoud repeat to fill physical memory space. */ | 497 | + /* ??? RAM should repeat to fill physical memory space. */ |
| 498 | /* SDRAM at address zero*/ | 498 | /* SDRAM at address zero*/ |
| 499 | cpu_register_physical_memory(0, ram_size, ram_offset | IO_MEM_RAM); | 499 | cpu_register_physical_memory(0, ram_size, ram_offset | IO_MEM_RAM); |
| 500 | /* And again at address 0x80000000 */ | 500 | /* And again at address 0x80000000 */ |
hw/realview.c
| @@ -64,7 +64,7 @@ static void realview_init(ram_addr_t ram_size, int vga_ram_size, | @@ -64,7 +64,7 @@ static void realview_init(ram_addr_t ram_size, int vga_ram_size, | ||
| 64 | } | 64 | } |
| 65 | } | 65 | } |
| 66 | 66 | ||
| 67 | - /* ??? RAM shoud repeat to fill physical memory space. */ | 67 | + /* ??? RAM should repeat to fill physical memory space. */ |
| 68 | /* SDRAM at address zero. */ | 68 | /* SDRAM at address zero. */ |
| 69 | cpu_register_physical_memory(0, ram_size, IO_MEM_RAM); | 69 | cpu_register_physical_memory(0, ram_size, IO_MEM_RAM); |
| 70 | 70 |
hw/scsi-disk.c
| @@ -662,7 +662,7 @@ static int32_t scsi_send_command(SCSIDevice *d, uint32_t tag, | @@ -662,7 +662,7 @@ static int32_t scsi_send_command(SCSIDevice *d, uint32_t tag, | ||
| 662 | case 0x46: | 662 | case 0x46: |
| 663 | DPRINTF("Get Configuration (rt %d, maxlen %d)\n", buf[1] & 3, len); | 663 | DPRINTF("Get Configuration (rt %d, maxlen %d)\n", buf[1] & 3, len); |
| 664 | memset(outbuf, 0, 8); | 664 | memset(outbuf, 0, 8); |
| 665 | - /* ??? This shoud probably return much more information. For now | 665 | + /* ??? This should probably return much more information. For now |
| 666 | just return the basic header indicating the CD-ROM profile. */ | 666 | just return the basic header indicating the CD-ROM profile. */ |
| 667 | outbuf[7] = 8; // CD-ROM | 667 | outbuf[7] = 8; // CD-ROM |
| 668 | r->buf_len = 8; | 668 | r->buf_len = 8; |
hw/versatilepb.c
| @@ -182,7 +182,7 @@ static void versatile_init(ram_addr_t ram_size, int vga_ram_size, | @@ -182,7 +182,7 @@ static void versatile_init(ram_addr_t ram_size, int vga_ram_size, | ||
| 182 | fprintf(stderr, "Unable to find CPU definition\n"); | 182 | fprintf(stderr, "Unable to find CPU definition\n"); |
| 183 | exit(1); | 183 | exit(1); |
| 184 | } | 184 | } |
| 185 | - /* ??? RAM shoud repeat to fill physical memory space. */ | 185 | + /* ??? RAM should repeat to fill physical memory space. */ |
| 186 | /* SDRAM at address zero. */ | 186 | /* SDRAM at address zero. */ |
| 187 | cpu_register_physical_memory(0, ram_size, IO_MEM_RAM); | 187 | cpu_register_physical_memory(0, ram_size, IO_MEM_RAM); |
| 188 | 188 |
linux-user/path.c
| @@ -82,7 +82,7 @@ static struct pathelem *add_entry(struct pathelem *root, const char *name) | @@ -82,7 +82,7 @@ static struct pathelem *add_entry(struct pathelem *root, const char *name) | ||
| 82 | return root; | 82 | return root; |
| 83 | } | 83 | } |
| 84 | 84 | ||
| 85 | -/* This needs to be done after tree is stabalized (ie. no more reallocs!). */ | 85 | +/* This needs to be done after tree is stabilized (ie. no more reallocs!). */ |
| 86 | static void set_parents(struct pathelem *child, struct pathelem *parent) | 86 | static void set_parents(struct pathelem *child, struct pathelem *parent) |
| 87 | { | 87 | { |
| 88 | unsigned int i; | 88 | unsigned int i; |
linux-user/qemu.h
| @@ -388,7 +388,7 @@ static inline void *lock_user(int type, abi_ulong guest_addr, long len, int copy | @@ -388,7 +388,7 @@ static inline void *lock_user(int type, abi_ulong guest_addr, long len, int copy | ||
| 388 | } | 388 | } |
| 389 | 389 | ||
| 390 | /* Unlock an area of guest memory. The first LEN bytes must be | 390 | /* Unlock an area of guest memory. The first LEN bytes must be |
| 391 | - flushed back to guest memory. host_ptr = NULL is explicitely | 391 | + flushed back to guest memory. host_ptr = NULL is explicitly |
| 392 | allowed and does nothing. */ | 392 | allowed and does nothing. */ |
| 393 | static inline void unlock_user(void *host_ptr, abi_ulong guest_addr, | 393 | static inline void unlock_user(void *host_ptr, abi_ulong guest_addr, |
| 394 | long len) | 394 | long len) |
qemu-tech.texi
| @@ -277,7 +277,7 @@ The new Plex86 [8] PC virtualizer is done in the same spirit as the | @@ -277,7 +277,7 @@ The new Plex86 [8] PC virtualizer is done in the same spirit as the | ||
| 277 | qemu-fast system emulator. It requires a patched Linux kernel to work | 277 | qemu-fast system emulator. It requires a patched Linux kernel to work |
| 278 | (you cannot launch the same kernel on your PC), but the patches are | 278 | (you cannot launch the same kernel on your PC), but the patches are |
| 279 | really small. As it is a PC virtualizer (no emulation is done except | 279 | really small. As it is a PC virtualizer (no emulation is done except |
| 280 | -for some priveledged instructions), it has the potential of being | 280 | +for some privileged instructions), it has the potential of being |
| 281 | faster than QEMU. The downside is that a complicated (and potentially | 281 | faster than QEMU. The downside is that a complicated (and potentially |
| 282 | unsafe) host kernel patch is needed. | 282 | unsafe) host kernel patch is needed. |
| 283 | 283 | ||
| @@ -334,7 +334,7 @@ instruction, it just stores one operand (called @code{CC_SRC}), the | @@ -334,7 +334,7 @@ instruction, it just stores one operand (called @code{CC_SRC}), the | ||
| 334 | result (called @code{CC_DST}) and the type of operation (called | 334 | result (called @code{CC_DST}) and the type of operation (called |
| 335 | @code{CC_OP}). | 335 | @code{CC_OP}). |
| 336 | 336 | ||
| 337 | -@code{CC_OP} is almost never explicitely set in the generated code | 337 | +@code{CC_OP} is almost never explicitly set in the generated code |
| 338 | because it is known at translation time. | 338 | because it is known at translation time. |
| 339 | 339 | ||
| 340 | In order to increase performances, a backward pass is performed on the | 340 | In order to increase performances, a backward pass is performed on the |
target-i386/cpu.h
| @@ -351,7 +351,7 @@ | @@ -351,7 +351,7 @@ | ||
| 351 | 351 | ||
| 352 | enum { | 352 | enum { |
| 353 | CC_OP_DYNAMIC, /* must use dynamic code to get cc_op */ | 353 | CC_OP_DYNAMIC, /* must use dynamic code to get cc_op */ |
| 354 | - CC_OP_EFLAGS, /* all cc are explicitely computed, CC_SRC = flags */ | 354 | + CC_OP_EFLAGS, /* all cc are explicitly computed, CC_SRC = flags */ |
| 355 | 355 | ||
| 356 | CC_OP_MULB, /* modify all flags, C, O = (CC_SRC != 0) */ | 356 | CC_OP_MULB, /* modify all flags, C, O = (CC_SRC != 0) */ |
| 357 | CC_OP_MULW, | 357 | CC_OP_MULW, |
target-i386/op_helper.c
| @@ -689,7 +689,7 @@ static void do_interrupt_protected(int intno, int is_int, int error_code, | @@ -689,7 +689,7 @@ static void do_interrupt_protected(int intno, int is_int, int error_code, | ||
| 689 | } | 689 | } |
| 690 | dpl = (e2 >> DESC_DPL_SHIFT) & 3; | 690 | dpl = (e2 >> DESC_DPL_SHIFT) & 3; |
| 691 | cpl = env->hflags & HF_CPL_MASK; | 691 | cpl = env->hflags & HF_CPL_MASK; |
| 692 | - /* check privledge if software int */ | 692 | + /* check privilege if software int */ |
| 693 | if (is_int && dpl < cpl) | 693 | if (is_int && dpl < cpl) |
| 694 | raise_exception_err(EXCP0D_GPF, intno * 8 + 2); | 694 | raise_exception_err(EXCP0D_GPF, intno * 8 + 2); |
| 695 | /* check valid bit */ | 695 | /* check valid bit */ |
| @@ -900,7 +900,7 @@ static void do_interrupt64(int intno, int is_int, int error_code, | @@ -900,7 +900,7 @@ static void do_interrupt64(int intno, int is_int, int error_code, | ||
| 900 | } | 900 | } |
| 901 | dpl = (e2 >> DESC_DPL_SHIFT) & 3; | 901 | dpl = (e2 >> DESC_DPL_SHIFT) & 3; |
| 902 | cpl = env->hflags & HF_CPL_MASK; | 902 | cpl = env->hflags & HF_CPL_MASK; |
| 903 | - /* check privledge if software int */ | 903 | + /* check privilege if software int */ |
| 904 | if (is_int && dpl < cpl) | 904 | if (is_int && dpl < cpl) |
| 905 | raise_exception_err(EXCP0D_GPF, intno * 16 + 2); | 905 | raise_exception_err(EXCP0D_GPF, intno * 16 + 2); |
| 906 | /* check valid bit */ | 906 | /* check valid bit */ |
| @@ -1166,7 +1166,7 @@ void do_interrupt_user(int intno, int is_int, int error_code, | @@ -1166,7 +1166,7 @@ void do_interrupt_user(int intno, int is_int, int error_code, | ||
| 1166 | 1166 | ||
| 1167 | dpl = (e2 >> DESC_DPL_SHIFT) & 3; | 1167 | dpl = (e2 >> DESC_DPL_SHIFT) & 3; |
| 1168 | cpl = env->hflags & HF_CPL_MASK; | 1168 | cpl = env->hflags & HF_CPL_MASK; |
| 1169 | - /* check privledge if software int */ | 1169 | + /* check privilege if software int */ |
| 1170 | if (is_int && dpl < cpl) | 1170 | if (is_int && dpl < cpl) |
| 1171 | raise_exception_err(EXCP0D_GPF, (intno << shift) + 2); | 1171 | raise_exception_err(EXCP0D_GPF, (intno << shift) + 2); |
| 1172 | 1172 | ||
| @@ -2698,7 +2698,7 @@ static inline void helper_ret_protected(int shift, int is_iret, int addend) | @@ -2698,7 +2698,7 @@ static inline void helper_ret_protected(int shift, int is_iret, int addend) | ||
| 2698 | sp += addend; | 2698 | sp += addend; |
| 2699 | if (rpl == cpl && (!(env->hflags & HF_CS64_MASK) || | 2699 | if (rpl == cpl && (!(env->hflags & HF_CS64_MASK) || |
| 2700 | ((env->hflags & HF_CS64_MASK) && !is_iret))) { | 2700 | ((env->hflags & HF_CS64_MASK) && !is_iret))) { |
| 2701 | - /* return to same priledge level */ | 2701 | + /* return to same privilege level */ |
| 2702 | cpu_x86_load_seg_cache(env, R_CS, new_cs, | 2702 | cpu_x86_load_seg_cache(env, R_CS, new_cs, |
| 2703 | get_seg_base(e1, e2), | 2703 | get_seg_base(e1, e2), |
| 2704 | get_seg_limit(e1, e2), | 2704 | get_seg_limit(e1, e2), |
target-ppc/translate.c
| @@ -287,7 +287,7 @@ static void gen_##name (DisasContext *ctx) | @@ -287,7 +287,7 @@ static void gen_##name (DisasContext *ctx) | ||
| 287 | 287 | ||
| 288 | typedef struct opcode_t { | 288 | typedef struct opcode_t { |
| 289 | unsigned char opc1, opc2, opc3; | 289 | unsigned char opc1, opc2, opc3; |
| 290 | -#if HOST_LONG_BITS == 64 /* Explicitely align to 64 bits */ | 290 | +#if HOST_LONG_BITS == 64 /* Explicitly align to 64 bits */ |
| 291 | unsigned char pad[5]; | 291 | unsigned char pad[5]; |
| 292 | #else | 292 | #else |
| 293 | unsigned char pad[1]; | 293 | unsigned char pad[1]; |
tcg/tcg.c
| @@ -1406,7 +1406,7 @@ static void tcg_reg_alloc_movi(TCGContext *s, const TCGArg *args) | @@ -1406,7 +1406,7 @@ static void tcg_reg_alloc_movi(TCGContext *s, const TCGArg *args) | ||
| 1406 | propagation */ | 1406 | propagation */ |
| 1407 | tcg_out_movi(s, ots->type, ots->reg, val); | 1407 | tcg_out_movi(s, ots->type, ots->reg, val); |
| 1408 | } else { | 1408 | } else { |
| 1409 | - /* The movi is not explicitely generated here */ | 1409 | + /* The movi is not explicitly generated here */ |
| 1410 | if (ots->val_type == TEMP_VAL_REG) | 1410 | if (ots->val_type == TEMP_VAL_REG) |
| 1411 | s->reg_to_temp[ots->reg] = -1; | 1411 | s->reg_to_temp[ots->reg] = -1; |
| 1412 | ots->val_type = TEMP_VAL_CONST; | 1412 | ots->val_type = TEMP_VAL_CONST; |