iPXE
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
uint16_t fs
Definition registers.h:4
uint16_t ss
Definition registers.h:1
uint16_t ds
Definition registers.h:2
uint16_t cs
Definition registers.h:0
uint16_t gs
Definition registers.h:5
uint16_t es
Definition registers.h:3

and can be read back using the instructions

addw $4, %sp ; popw %ds ; popw %es ; popw %fs ; popw %gs
popal
popfl
uint16_t sp
Definition registers.h:13

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

◆ 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: