iPXE
Data Fields
interrupt_vector Struct Reference

An interrupt vector. More...

#include <librm.h>

Data Fields

uint8_t push
 "push" instruction
uint8_t movb
 "movb" instruction
uint8_t intr
 Interrupt number.
uint8_t jmp
 "jmp" instruction
uint32_t offset
 Interrupt wrapper address offset.
uint8_t next [0]
 Next instruction after jump.

Detailed Description

An interrupt vector.

Each interrupt vector comprises an eight-byte fragment of code:

50 pushl eax (or pushq rax in long mode) b0 xx movb $INT, al e9 xx xx xx xx jmp interrupt_wrapper

Definition at line 360 of file librm.h.


Field Documentation

"push" instruction

Definition at line 362 of file librm.h.

Referenced by init_idt().

"movb" instruction

Definition at line 364 of file librm.h.

Referenced by init_idt().

Interrupt number.

Definition at line 366 of file librm.h.

Referenced by init_idt().

"jmp" instruction

Definition at line 368 of file librm.h.

Referenced by init_idt().

Interrupt wrapper address offset.

Definition at line 370 of file librm.h.

Referenced by init_idt().

Next instruction after jump.

Definition at line 372 of file librm.h.

Referenced by init_idt().


The documentation for this struct was generated from the following file: