···613613 names of the instruction format that you can find in the principals
614614 of operation.
615615 2) the last part of the definition (y in INSTR_x_y) gives you an idea
616616- which operands the binary represenation of the instruction has.
616616+ which operands the binary representation of the instruction has.
617617 The meanings of the letters in y are:
618618 a - access register
619619 c - control register
···627627 m - mode field, 4 bit
628628 0 - operand skipped.
629629 The order of the letters reflects the layout of the format in
630630- storage and not the order of the paramaters of the instructions.
630630+ storage and not the order of the parameters of the instructions.
631631 The use of the letters is not a 100% match with the PoP but it is
632632 quite close.
633633
+2-2
docs/specs/ppc-spapr-hcalls.txt
···4141with MMU disabled, ie guest effective == guest physical), it only
4242has access to a subset of memory and no IOs.
43434444-PAPR provides a set of hypervisor calls to perform cachable or
4545-non-cachable accesses to any guest physical addresses that the
4444+PAPR provides a set of hypervisor calls to perform cacheable or
4545+non-cacheable accesses to any guest physical addresses that the
4646guest can use in order to access IO devices while in real mode.
47474848This is typically used by the firmware running in the guest.
+1-1
docs/writing-qmp-commands.txt
···122122Now a little hack is needed. As we're still using the old QMP server we need
123123to add the new command to its internal dispatch table. This step won't be
124124required in the near future. Open the qmp-commands.hx file and add the
125125-following in the botton:
125125+following at the bottom:
126126127127 {
128128 .name = "hello-world",
···159159/*
160160 * use ssd.lock to protect render_update_cookie_num.
161161 * qxl_render_update is called by io thread or vcpu thread, and the completion
162162- * callbacks are called by spice_server thread, defering to bh called from the
162162+ * callbacks are called by spice_server thread, deferring to bh called from the
163163 * io thread.
164164 */
165165void qxl_render_update(PCIQXLDevice *qxl)
+1-1
hw/dma/xilinx_axidma.c
···133133};
134134135135/*
136136- * Helper calls to extract info from desriptors and other trivial
136136+ * Helper calls to extract info from descriptors and other trivial
137137 * state from regs.
138138 */
139139static inline int stream_desc_sof(struct SDesc *d)
+1-1
hw/input/stellaris_input.c
···6969 }
7070};
71717272-/* Returns an array 5 ouput slots. */
7272+/* Returns an array of 5 output slots. */
7373void stellaris_gamepad_init(int n, qemu_irq *irq, const int *keycode)
7474{
7575 gamepad_state *s;
+1-1
hw/intc/xics.c
···739739}
740740741741/*
742742- * Allocate block of consequtive IRQs, returns a number of the first.
742742+ * Allocate block of consecutive IRQs, and return the number of the first IRQ in the block.
743743 * If align==true, aligns the first IRQ number to num.
744744 */
745745int xics_alloc_block(XICSState *icp, int src, int num, bool lsi, bool align)
+1-1
hw/net/fsl_etsec/etsec.c
···353353 etsec->need_flush = false;
354354 ret = etsec_rx_ring_write(etsec, buf, size);
355355 if (ret == 0) {
356356- /* The packet will be queued, let's flush it when buffer is avilable
356356+ /* The packet will be queued, let's flush it when buffer is available
357357 * again. */
358358 etsec->need_flush = true;
359359 }
+1-1
hw/sd/pl181.c
···4646 int32_t fifo_pos;
4747 int32_t fifo_len;
4848 /* The linux 2.6.21 driver is buggy, and misbehaves if new data arrives
4949- while it is reading the FIFO. We hack around this be defering
4949+ while it is reading the FIFO. We hack around this by deferring
5050 subsequent transfers until after the driver polls the status word.
5151 http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=4446/1
5252 */
+1-1
hw/vfio/pci.c
···33773377 uint32_t clk, pc_c;
3378337833793379 /*
33803380- * Registers 200h and 204h are index and data registers for acessing
33803380+ * Registers 200h and 204h are index and data registers for accessing
33813381 * indirect configuration registers within the device.
33823382 */
33833383 vfio_region_write(&vdev->bars[5].region, 0x200, 0x80000004, 4);
+1-1
hw/xen/xen-host-pci-device.c
···4040 d->domain, d->bus, d->dev, d->func, name);
41414242 if (rc >= size || rc < 0) {
4343- /* The ouput is truncated or an other error is encountered */
4343+ /* The output is truncated, or some other error was encountered */
4444 return -ENODEV;
4545 }
4646 return 0;
+1-1
include/block/scsi.h
···229229#define MODE_PAGE_TO_PROTECT 0x1d
230230#define MODE_PAGE_CAPABILITIES 0x2a
231231#define MODE_PAGE_ALLS 0x3f
232232-/* Not in Mt. Fuji, but in ATAPI 2.6 -- depricated now in favor
232232+/* Not in Mt. Fuji, but in ATAPI 2.6 -- deprecated now in favor
233233 * of MODE_PAGE_SENSE_POWER */
234234#define MODE_PAGE_CDROM 0x0d
235235
+1-1
include/exec/memory.h
···11461146 * address_space_init: initializes an address space
11471147 *
11481148 * @as: an uninitialized #AddressSpace
11491149- * @root: a #MemoryRegion that routes addesses for the address space
11491149+ * @root: a #MemoryRegion that routes addresses for the address space
11501150 * @name: an address space name. The name is only used for debugging
11511151 * output.
11521152 */
···186186/* newstatus is the source for the bits to be restored */
187187/* mask indicates the bits to be restored (the status bit that */
188188/* corresponds to each 1 bit in the mask is set to the value of */
189189-/* the correspnding bit in newstatus) */
189189+/* the corresponding bit in newstatus) */
190190/* returns context */
191191/* */
192192/* No error is possible. */
+4-4
libdecnumber/decNumber.c
···22382238 /* if a negative power the constant 1 is needed, and if not subset */
22392239 /* invert the lhs now rather than inverting the result later */
22402240 if (decNumberIsNegative(rhs)) { /* was a **-n [hence digits>0] */
22412241- decNumber *inv=invbuff; /* asssume use fixed buffer */
22412241+ decNumber *inv=invbuff; /* assume use fixed buffer */
22422242 decNumberCopy(&dnOne, dac); /* dnOne=1; [needed now or later] */
22432243 #if DECSUBSET
22442244 if (set->extended) { /* need to calculate 1/lhs */
···38493849/* */
38503850/* Addition, especially x=x+1, is speed-critical. */
38513851/* The static buffer is larger than might be expected to allow for */
38523852-/* calls from higher-level funtions (notable exp). */
38523852+/* calls from higher-level functions (notably exp). */
38533853/* ------------------------------------------------------------------ */
38543854static decNumber * decAddOp(decNumber *res, const decNumber *lhs,
38553855 const decNumber *rhs, decContext *set,
···42634263/* long subtractions. These are acc and var1 respectively. */
42644264/* var1 is a copy of the lhs coefficient, var2 is the rhs coefficient.*/
42654265/* The static buffers may be larger than might be expected to allow */
42664266-/* for calls from higher-level funtions (notable exp). */
42664266+/* for calls from higher-level functions (notably exp). */
42674267/* ------------------------------------------------------------------ */
42684268static decNumber * decDivideOp(decNumber *res,
42694269 const decNumber *lhs, const decNumber *rhs,
···52545254/* exp(-x) where x can be the tiniest number (Ntiny). */
52555255/* */
52565256/* 2. Normalizing x to be <=0.1 (instead of <=1) reduces loop */
52575257-/* iterations by appoximately a third with additional (although */
52575257+/* iterations by approximately a third with additional (although */
52585258/* diminishing) returns as the range is reduced to even smaller */
52595259/* fractions. However, h (the power of 10 used to correct the */
52605260/* result at the end, see below) must be kept <=8 as otherwise */
···969969 (struct cdrom_multisession) */
970970#define TARGET_CDROM_GET_MCN 0x5311 /* Obtain the "Universal Product Code"
971971 if available (struct cdrom_mcn) */
972972-#define TARGET_CDROM_GET_UPC TARGET_CDROM_GET_MCN /* This one is depricated,
972972+#define TARGET_CDROM_GET_UPC TARGET_CDROM_GET_MCN /* This one is deprecated,
973973 but here anyway for compatibility */
974974#define TARGET_CDROMRESET 0x5312 /* hard-reset the drive */
975975#define TARGET_CDROMVOLREAD 0x5313 /* Get the drive's volume setting
···22892289};
2290229022912291/* soundcard defines */
22922292-/* XXX: convert them all to arch indepedent entries */
22922292+/* XXX: convert them all to arch independent entries */
22932293#define TARGET_SNDCTL_COPR_HALT TARGET_IOWR('C', 7, int);
22942294#define TARGET_SNDCTL_COPR_LOAD 0xcfb04301
22952295#define TARGET_SNDCTL_COPR_RCODE 0xc0144303
+1-1
qga/commands-posix.c
···2158215821592159 ga_read_sysfs_file(dirfd, "removable", &removable, 1, &local_err);
21602160 if (local_err) {
21612161- /* if no 'removable' file, it does't support offline mem blk */
21612161+ /* if no 'removable' file, it doesn't support offline mem blk */
21622162 if (errno == ENOENT) {
21632163 error_free(local_err);
21642164 mem_blk->can_offline = false;
+1-1
target-alpha/mem_helper.c
···132132 env->error_code = 0;
133133134134 /* ??? We should cpu_restore_state to the faulting insn, but this hook
135135- does not have access to the retaddr value from the orignal helper.
135135+ does not have access to the retaddr value from the original helper.
136136 It's all moot until the QEMU PALcode grows an MCHK handler. */
137137138138 cpu_loop_exit(cs);
···151151 uint32_t sregs[4][16];
152152153153 /* Linear feedback shift reg in the mmu. Used to provide pseudo
154154- randomness for the 'hint' the mmu gives to sw for chosing valid
154154+ randomness for the 'hint' the mmu gives to sw for choosing valid
155155 sets on TLB refills. */
156156 uint32_t mmu_rand_lfsr;
157157
+3-3
target-cris/translate.c
···102102103103 int cc_size_uptodate; /* -1 invalid or last written value. */
104104105105- int cc_x_uptodate; /* 1 - ccs, 2 - known | X_FLAG. 0 not uptodate. */
106106- int flags_uptodate; /* Wether or not $ccs is uptodate. */
107107- int flagx_known; /* Wether or not flags_x has the x flag known at
105105+ int cc_x_uptodate; /* 1 - ccs, 2 - known | X_FLAG. 0 not up-to-date. */
106106+ int flags_uptodate; /* Whether or not $ccs is up-to-date. */
107107+ int flagx_known; /* Whether or not flags_x has the x flag known at
108108 translation time. */
109109 int flags_x;
110110
+1-1
target-mips/helper.c
···692692 goto set_EPC;
693693 case EXCP_DWATCH:
694694 cause = 23;
695695- /* XXX: TODO: manage defered watch exceptions */
695695+ /* XXX: TODO: manage deferred watch exceptions */
696696 goto set_EPC;
697697 case EXCP_MCHECK:
698698 cause = 24;
+2-2
target-s390x/kvm.c
···588588 * @addr: the logical start address in guest memory
589589 * @ar: the access register number
590590 * @hostbuf: buffer in host memory. NULL = do only checks w/o copying
591591- * @len: length that should be transfered
591591+ * @len: length that should be transferred
592592 * @is_write: true = write, false = read
593593- * Returns: 0 on success, non-zero if an exception or error occured
593593+ * Returns: 0 on success, non-zero if an exception or error occurred
594594 *
595595 * Use KVM ioctl to read/write from/to guest memory. An access exception
596596 * is injected into the vCPU in case of translation errors.
+3-3
target-sh4/helper.c
···59596060int cpu_sh4_is_cached(CPUSH4State * env, target_ulong addr)
6161{
6262- /* For user mode, only U0 area is cachable. */
6262+ /* For user mode, only U0 area is cacheable. */
6363 return !(addr & 0x80000000);
6464}
6565···825825826826 /* check area */
827827 if (env->sr & (1u << SR_MD)) {
828828- /* For previledged mode, P2 and P4 area is not cachable. */
828828+ /* For privileged mode, P2 and P4 area is not cacheable. */
829829 if ((0xA0000000 <= addr && addr < 0xC0000000) || 0xE0000000 <= addr)
830830 return 0;
831831 } else {
832832- /* For user mode, only U0 area is cachable. */
832832+ /* For user mode, only U0 area is cacheable. */
833833 if (0x80000000 <= addr)
834834 return 0;
835835 }
+1-1
tcg/ia64/tcg-target.c
···15941594 /* The out-of-line thunks are all the same; load the return address
15951595 from B0, load the GP, and branch to the code. Note that we are
15961596 always post-call, so the register window has rolled, so we're
15971597- using incomming parameter register numbers, not outgoing. */
15971597+ using incoming parameter register numbers, not outgoing. */
15981598 if (dest == NULL) {
15991599 uintptr_t *desc = (uintptr_t *)helpers[x];
16001600 uintptr_t func = desc[0], gp = desc[1], disp;
+2-2
tcg/tcg.c
···13961396 }
13971397 }
13981398 }
13991399- /* input arguments are live for preceeding opcodes */
13991399+ /* input arguments are live for preceding opcodes */
14001400 for (i = nb_oargs; i < nb_oargs + nb_iargs; i++) {
14011401 arg = args[i];
14021402 dead_temps[arg] = 0;
···15421542 dead_args |= (1 << i);
15431543 }
15441544 }
15451545- /* input arguments are live for preceeding opcodes */
15451545+ /* input arguments are live for preceding opcodes */
15461546 for (i = nb_oargs; i < nb_oargs + nb_iargs; i++) {
15471547 arg = args[i];
15481548 dead_temps[arg] = 0;
+1-1
tests/image-fuzzer/runner.py
···301301 JSON:
302302303303 '--command' accepts a JSON array of commands. Each command presents
304304- an application under test with all its paramaters as a list of strings,
304304+ an application under test with all its parameters as a list of strings,
305305 e.g. ["qemu-io", "$test_img", "-c", "write $off $len"].
306306307307 Supported application aliases: 'qemu-img' and 'qemu-io'.
+1-1
tests/qemu-iotests/041
···889889 target=quorum_repair_img, format=iotests.imgfmt)
890890 self.assert_qmp(result, 'error/class', 'GenericError')
891891892892- def test_unexistant_replaces(self):
892892+ def test_nonexistent_replaces(self):
893893 if not self.has_quorum():
894894 return
895895
+1-1
util/qemu-thread-posix.c
···389389 /*
390390 * Leave the event reset and tell qemu_event_set that there
391391 * are waiters. No need to retry, because there cannot be
392392- * a concurent busy->free transition. After the CAS, the
392392+ * a concurrent busy->free transition. After the CAS, the
393393 * event will be either set or busy.
394394 */
395395 if (atomic_cmpxchg(&ev->value, EV_FREE, EV_BUSY) == EV_SET) {