Skip to content

Commit 669dcb6

Browse files
Michael Tokarevphilmd
authored andcommitted
accel/tcg: spelling fixes
Signed-off-by: Michael Tokarev <[email protected]> Message-ID: <[email protected]> Reviewed-by: Alex Bennée <[email protected]> Message-ID: <[email protected]> Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
1 parent b91b0fc commit 669dcb6

File tree

13 files changed

+16
-16
lines changed

13 files changed

+16
-16
lines changed

accel/tcg/tb-maint.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Translation Block Maintaince
2+
* Translation Block Maintenance
33
*
44
* Copyright (c) 2003 Fabrice Bellard
55
*

contrib/plugins/cache.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ static int in_cache(Cache *cache, uint64_t addr)
350350
* @cache: The cache under simulation
351351
* @addr: The address of the requested memory location
352352
*
353-
* Returns true if the requsted data is hit in the cache and false when missed.
353+
* Returns true if the requested data is hit in the cache and false when missed.
354354
* The cache is updated on miss for the next access.
355355
*/
356356
static bool access_cache(Cache *cache, uint64_t addr)

contrib/plugins/lockstep.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ static void report_divergance(ExecState *us, ExecState *them)
108108

109109
/*
110110
* If we have diverged before did we get back on track or are we
111-
* totally loosing it?
111+
* totally losing it?
112112
*/
113113
if (divergence_log) {
114114
DivergeState *last = (DivergeState *) divergence_log->data;

include/hw/core/tcg-cpu-ops.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
struct TCGCPUOps {
1616
/**
17-
* @initialize: Initalize TCG state
17+
* @initialize: Initialize TCG state
1818
*
1919
* Called when the first CPU is realized.
2020
*/

include/tcg/helper-info.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* TCG Helper Infomation Structure
2+
* TCG Helper Information Structure
33
*
44
* Copyright (c) 2023 Linaro Ltd
55
*

include/tcg/tcg.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ enum {
879879
/* Instruction operands are 64-bits (otherwise 32-bits). */
880880
TCG_OPF_64BIT = 0x10,
881881
/* Instruction is optional and not implemented by the host, or insn
882-
is generic and should not be implemened by the host. */
882+
is generic and should not be implemented by the host. */
883883
TCG_OPF_NOT_PRESENT = 0x20,
884884
/* Instruction operands are vectors. */
885885
TCG_OPF_VECTOR = 0x40,
@@ -1123,7 +1123,7 @@ static inline int tcg_can_emit_vec_op(TCGOpcode o, TCGType t, unsigned ve)
11231123
/* Expand the tuple (opc, type, vece) on the given arguments. */
11241124
void tcg_expand_vec_op(TCGOpcode, TCGType, unsigned, TCGArg, ...);
11251125

1126-
/* Replicate a constant C accoring to the log2 of the element size. */
1126+
/* Replicate a constant C according to the log2 of the element size. */
11271127
uint64_t dup_const(unsigned vece, uint64_t c);
11281128

11291129
#define dup_const(VECE, C) \

include/user/safe-syscall.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
*
9292
* The basic setup is that we make the host syscall via a known
9393
* section of host native assembly. If a signal occurs, our signal
94-
* handler checks the interrupted host PC against the addresse of that
94+
* handler checks the interrupted host PC against the address of that
9595
* known section. If the PC is before or at the address of the syscall
9696
* instruction then we change the PC to point at a "return
9797
* -QEMU_ERESTARTSYS" code path instead, and then exit the signal handler

linux-user/flatload.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ int load_flt_binary(struct linux_binprm *bprm, struct image_info *info)
780780
/* Enforce final stack alignment of 16 bytes. This is sufficient
781781
for all current targets, and excess alignment is harmless. */
782782
stack_len = bprm->envc + bprm->argc + 2;
783-
stack_len += flat_argvp_envp_on_stack() ? 2 : 0; /* arvg, argp */
783+
stack_len += flat_argvp_envp_on_stack() ? 2 : 0; /* argv, argp */
784784
stack_len += 1; /* argc */
785785
stack_len *= sizeof(abi_ulong);
786786
sp -= (sp - stack_len) & 15;

linux-user/syscall.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1809,7 +1809,7 @@ static inline abi_long target_to_host_cmsg(struct msghdr *msgh,
18091809
uint32_t *dst = (uint32_t *)data;
18101810

18111811
memcpy(dst, target_data, len);
1812-
/* fix endianess of first 32-bit word */
1812+
/* fix endianness of first 32-bit word */
18131813
if (len >= sizeof(uint32_t)) {
18141814
*dst = tswap32(*dst);
18151815
}
@@ -2920,7 +2920,7 @@ static abi_long do_getsockopt(int sockfd, int level, int optname,
29202920
unlock_user(results, optval_addr, 0);
29212921
return ret;
29222922
}
2923-
/* swap host endianess to target endianess. */
2923+
/* swap host endianness to target endianness. */
29242924
for (i = 0; i < (len / sizeof(uint32_t)); i++) {
29252925
results[i] = tswap32(results[i]);
29262926
}

semihosting/config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* targets that support it. Architecture specific handling is handled
99
* in target/HW/HW-semi.c
1010
*
11-
* Semihosting is sightly strange in that it is also supported by some
11+
* Semihosting is slightly strange in that it is also supported by some
1212
* linux-user targets. However in that use case no configuration of
1313
* the outputs and command lines is supported.
1414
*

0 commit comments

Comments
 (0)