~ubuntu-branches/ubuntu/trusty/grub2/trusty-updates

« back to all changes in this revision

Viewing changes to include/grub/i386/pc/int.h

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2012-09-13 18:02:04 UTC
  • mfrom: (1.17.15 upstream)
  • mto: (17.6.27 experimental)
  • mto: This revision was merged to the branch mainline in revision 145.
  • Revision ID: package-import@ubuntu.com-20120913180204-mojnmocbimlom4im
Tags: upstream-2.00
ImportĀ upstreamĀ versionĀ 2.00

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
#define  GRUB_CPU_INT_FLAGS_INTERRUPT 0x200
46
46
#define  GRUB_CPU_INT_FLAGS_DIRECTION 0x400
47
47
#define  GRUB_CPU_INT_FLAGS_OVERFLOW  0x800
 
48
#ifdef GRUB_MACHINE_PCBIOS
48
49
#define  GRUB_CPU_INT_FLAGS_DEFAULT   GRUB_CPU_INT_FLAGS_INTERRUPT
 
50
#else
 
51
#define  GRUB_CPU_INT_FLAGS_DEFAULT   0
 
52
#endif
49
53
 
50
54
void EXPORT_FUNC (grub_bios_interrupt) (grub_uint8_t intno,
51
55
                                        struct grub_bios_int_registers *regs);
 
56
struct grub_i386_idt
 
57
{
 
58
  grub_uint16_t limit;
 
59
  grub_uint32_t base;
 
60
} __attribute__ ((packed));
 
61
 
 
62
#ifdef GRUB_MACHINE_PCBIOS
 
63
extern struct grub_i386_idt *EXPORT_VAR(grub_realidt);
 
64
#endif
52
65
 
53
66
#endif