iPXE
Data Structures | Defines | Typedefs | Functions | Variables
registers.h File Reference

i386 registers. More...

#include <stdint.h>

Go to the source code of this file.

Data Structures

union  __attribute__
 A 16-bit general register. More...
union  __attribute__
 A 16-bit general register. More...
struct  i386_regs
 A 32-bit general register dump. More...
struct  i386_seg_regs
 A segment register dump. More...
struct  i386_all_regs
 A full register dump. More...
struct  segoff

Defines

#define CF   ( 1 << 0 )
#define PF   ( 1 << 2 )
#define AF   ( 1 << 4 )
#define ZF   ( 1 << 6 )
#define SF   ( 1 << 7 )
#define OF   ( 1 << 11 )

Typedefs

typedef struct segoff segoff_t

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
struct i386_regs __attribute__ ((packed))

Variables

typedef __attribute__
union {
   uint8_t   l
   uint8_t   byte
}; 
uint8_t h
union {
   uint8_t   l
   uint8_t   byte
}; 
uint8_t bl
uint8_t bh
uint8_t dl
uint8_t dh
uint8_t cl
uint8_t ch
uint8_t al
uint8_t ah
union {
   uint16_t   si
   uint32_t   esi
}; 
union {
   uint16_t   bp
   uint32_t   ebp
}; 
union {
   uint16_t   sp
   uint32_t   esp
}; 
union {
   uint16_t   bx
   uint32_t   ebx
}; 
union {
   uint16_t   dx
   uint32_t   edx
}; 
union {
   uint16_t   cx
   uint32_t   ecx
}; 
union {
   uint16_t   ax
   uint32_t   eax
}; 
uint16_t cs
uint16_t ss
uint16_t ds
uint16_t es
uint16_t fs
uint16_t gs
struct i386_seg_regs segs
struct i386_regs regs
uint32_t flags
uint16_t offset
uint16_t segment

Detailed Description

i386 registers.

This file defines data structures that allow easy access to i386 register dumps.

Definition in file registers.h.


Define Documentation

#define CF   ( 1 << 0 )

Definition at line 181 of file registers.h.

Referenced by extmemsize_e801(), int13(), int21(), int22(), and meme820().

#define PF   ( 1 << 2 )

Definition at line 182 of file registers.h.

#define AF   ( 1 << 4 )

Definition at line 183 of file registers.h.

#define ZF   ( 1 << 6 )

Definition at line 184 of file registers.h.

Referenced by bios_iskey().

#define SF   ( 1 << 7 )

Definition at line 185 of file registers.h.

#define OF   ( 1 << 11 )

Definition at line 186 of file registers.h.

Referenced by int13().


Typedef Documentation

typedef struct segoff segoff_t

Definition at line 196 of file registers.h.


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )
struct i386_regs __attribute__ ( (packed)  )

Variable Documentation

union { ... } __attribute__

Definition at line 33 of file registers.h.

Definition at line 34 of file registers.h.

union { ... }
union { ... }

Definition at line 84 of file registers.h.

Definition at line 85 of file registers.h.

Definition at line 92 of file registers.h.

Definition at line 93 of file registers.h.

Definition at line 100 of file registers.h.

Definition at line 108 of file registers.h.

Definition at line 113 of file registers.h.

Definition at line 114 of file registers.h.

Definition at line 117 of file registers.h.

Definition at line 118 of file registers.h.

union { ... }

Definition at line 122 of file registers.h.

union { ... }

Definition at line 125 of file registers.h.

Referenced by interrupt_dump(), and sec80211_detect_ie().

Definition at line 126 of file registers.h.

union { ... }

Definition at line 133 of file registers.h.

Definition at line 134 of file registers.h.

union { ... }

Definition at line 141 of file registers.h.

Referenced by ar9003_hw_power_interpolate().

Definition at line 142 of file registers.h.

union { ... }

Definition at line 149 of file registers.h.

Referenced by bios_handle_cup(), efi_handle_cup(), and fbcon_handle_cup().

Definition at line 150 of file registers.h.

union { ... }

Definition at line 157 of file registers.h.

Definition at line 158 of file registers.h.

union { ... }

Definition at line 146 of file registers.h.

Definition at line 147 of file registers.h.

Definition at line 148 of file registers.h.

Definition at line 149 of file registers.h.

Definition at line 150 of file registers.h.

Definition at line 151 of file registers.h.

Definition at line 179 of file registers.h.

struct i386_regs regs

Definition at line 180 of file registers.h.

Referenced by ath5k_hw_post(), ehci_init(), gdbstub_handler(), realtek_dump(), and xhci_init().

Definition at line 181 of file registers.h.

Definition at line 195 of file registers.h.

Definition at line 196 of file registers.h.