iPXE
Data Fields
i386_all_regs Struct Reference

A full register dump. More...

#include <registers.h>

Data Fields

struct i386_seg_regs segs
 
struct i386_regs regs
 
uint32_t flags
 

Detailed Description

A full register dump.

This data structure is created by the instructions

pushfl
pushal
pushw %gs ; pushw %fs ; pushw %es ; pushw %ds ; pushw %ss ; pushw %cs

and can be read back using the instructions

addw $4, %sp ; popw %ds ; popw %es ; popw %fs ; popw %gs
popal
popfl

virt_call() and kir_call() create this data structure on the stack and pass in a pointer to this structure.

Definition at line 174 of file registers.h.

Field Documentation

◆ segs

struct i386_seg_regs i386_all_regs::segs

◆ regs

struct i386_regs i386_all_regs::regs

◆ flags

uint32_t i386_all_regs::flags

Definition at line 177 of file registers.h.

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


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