~ubuntu-branches/ubuntu/hardy/kvm/hardy-backports

« back to all changes in this revision

Viewing changes to qemu/target-i386/cpu.h

  • Committer: Bazaar Package Importer
  • Author(s): Soren Hansen
  • Date: 2008-02-26 13:10:57 UTC
  • mfrom: (1.1.18 upstream)
  • Revision ID: james.westby@ubuntu.com-20080226131057-s67x6l89mtjw1x9b
Tags: 1:62+dfsg-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
499
499
    SegmentCache gdt; /* only base and limit are used */
500
500
    SegmentCache idt; /* only base and limit are used */
501
501
 
502
 
    target_ulong cr[5]; /* NOTE: cr1 is unused */
 
502
    target_ulong cr[9]; /* NOTE: cr1, cr5-7 are unused */
503
503
    uint32_t a20_mask;
504
504
 
505
505
    /* FPU state */
555
555
    target_ulong kernelgsbase;
556
556
#endif
557
557
 
558
 
#ifdef USE_KVM
559
558
    uint64_t tsc; /* time stamp counter */
560
559
    uint8_t ready_for_interrupt_injection;
561
 
#endif
562
560
    uint64_t pat;
563
561
 
564
562
    /* exception/interrupt handling */
594
592
    int last_io_time;
595
593
#endif
596
594
 
597
 
#ifdef USE_KVM
598
595
#define BITS_PER_LONG (8 * sizeof (uint32_t))
599
596
#define NR_IRQ_WORDS (256/ BITS_PER_LONG)
600
597
    uint32_t kvm_interrupt_bitmap[NR_IRQ_WORDS];
601
 
#endif
602
598
 
603
599
    /* in order to simplify APIC support, we leave this pointer to the
604
600
       user */