Revision a1c7273b

b/block.c
747 747
 * Run consistency checks on an image
748 748
 *
749 749
 * Returns 0 if the check could be completed (it doesn't mean that the image is
750
 * free of errors) or -errno when an internal error occured. The results of the
750
 * free of errors) or -errno when an internal error occurred. The results of the
751 751
 * check are stored in res.
752 752
 */
753 753
int bdrv_check(BlockDriverState *bs, BdrvCheckResult *res)
b/block/qcow2-refcount.c
1063 1063
 * Checks an image for refcount consistency.
1064 1064
 *
1065 1065
 * Returns 0 if no errors are found, the number of errors in case the image is
1066
 * detected as corrupted, and -errno when an internal error occured.
1066
 * detected as corrupted, and -errno when an internal error occurred.
1067 1067
 */
1068 1068
int qcow2_check_refcounts(BlockDriverState *bs, BdrvCheckResult *res)
1069 1069
{
b/cpu-all.h
792 792
#define CPU_INTERRUPT_FIQ    0x10 /* Fast interrupt pending.  */
793 793
#define CPU_INTERRUPT_HALT   0x20 /* CPU halt wanted */
794 794
#define CPU_INTERRUPT_SMI    0x40 /* (x86 only) SMI interrupt pending */
795
#define CPU_INTERRUPT_DEBUG  0x80 /* Debug event occured.  */
795
#define CPU_INTERRUPT_DEBUG  0x80 /* Debug event occurred.  */
796 796
#define CPU_INTERRUPT_VIRQ   0x100 /* virtual interrupt pending.  */
797 797
#define CPU_INTERRUPT_NMI    0x200 /* NMI pending. */
798 798
#define CPU_INTERRUPT_INIT   0x400 /* INIT pending. */
b/cpu-exec.c
509 509
                       jump normally, then does the exception return when the
510 510
                       CPU tries to execute code at the magic address.
511 511
                       This will cause the magic PC value to be pushed to
512
                       the stack if an interrupt occured at the wrong time.
512
                       the stack if an interrupt occurred at the wrong time.
513 513
                       We avoid this by disabling interrupts when
514 514
                       pc contains a magic address.  */
515 515
                    if (interrupt_request & CPU_INTERRUPT_HARD
b/hw/bt.h
1441 1441
#define EVT_FLUSH_OCCURRED		0x11
1442 1442
typedef struct {
1443 1443
    uint16_t	handle;
1444
} __attribute__ ((packed)) evt_flush_occured;
1444
} __attribute__ ((packed)) evt_flush_occurred;
1445 1445
#define EVT_FLUSH_OCCURRED_SIZE 2
1446 1446

  
1447 1447
#define EVT_ROLE_CHANGE			0x12
b/hw/pcie.c
176 176
}
177 177

  
178 178
/*
179
 * A PCI Express Hot-Plug Event has occured, so update slot status register
179
 * A PCI Express Hot-Plug Event has occurred, so update slot status register
180 180
 * and notify OS of the event if necessary.
181 181
 *
182 182
 * 6.7.3 PCI Express Hot-Plug Events
b/hw/pcie.h
40 40
     *
41 41
     * Not all the bits of slot control register match with the ones of
42 42
     * slot status. Not some bits of slot status register is used to
43
     * show status, not to report event occurence.
43
     * show status, not to report event occurrence.
44 44
     * So such bits must be masked out when checking the software
45 45
     * notification condition.
46 46
     */
b/hw/pflash_cfi02.c
367 367
    case 4:
368 368
        switch (pfl->cmd) {
369 369
        case 0xA0:
370
            /* Ignore writes while flash data write is occuring */
370
            /* Ignore writes while flash data write is occurring */
371 371
            /* As we suppose write is immediate, this should never happen */
372 372
            return;
373 373
        case 0x80:
b/target-arm/translate.c
1331 1331
    return 0;
1332 1332
}
1333 1333

  
1334
/* Disassemble an iwMMXt instruction.  Returns nonzero if an error occured
1334
/* Disassemble an iwMMXt instruction.  Returns nonzero if an error occurred
1335 1335
   (ie. an undefined instruction).  */
1336 1336
static int disas_iwmmxt_insn(CPUState *env, DisasContext *s, uint32_t insn)
1337 1337
{
......
2335 2335
    return 0;
2336 2336
}
2337 2337

  
2338
/* Disassemble an XScale DSP instruction.  Returns nonzero if an error occured
2338
/* Disassemble an XScale DSP instruction.  Returns nonzero if an error occurred
2339 2339
   (ie. an undefined instruction).  */
2340 2340
static int disas_dsp_insn(CPUState *env, DisasContext *s, uint32_t insn)
2341 2341
{
......
2681 2681
    return tmp;
2682 2682
}
2683 2683

  
2684
/* Disassemble a VFP instruction.  Returns nonzero if an error occured
2684
/* Disassemble a VFP instruction.  Returns nonzero if an error occurred
2685 2685
   (ie. an undefined instruction).  */
2686 2686
static int disas_vfp_insn(CPUState * env, DisasContext *s, uint32_t insn)
2687 2687
{
b/target-m68k/helper.c
714 714
    if (env->macsr & MACSR_V) {
715 715
        env->macsr |= MACSR_PAV0 << acc;
716 716
        if (env->macsr & MACSR_OMC) {
717
            /* The result is saturated to 32 bits, despite overflow occuring
717
            /* The result is saturated to 32 bits, despite overflow occurring
718 718
               at 48 bits.  Seems weird, but that's what the hardware docs
719 719
               say.  */
720 720
            result = (result >> 63) ^ 0x7fffffff;

Also available in: Unified diff