iPXE
Data Fields
i386_seg_regs Struct Reference

A segment register dump. More...

#include <registers.h>

Data Fields

uint16_t cs
uint16_t ss
uint16_t ds
uint16_t es
uint16_t fs
uint16_t gs

Detailed Description

A segment register dump.

The i386 has no equivalent of the pushal or popal instructions for the segment registers. We adopt the convention of always using the sequences

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

and

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

This is the data structure that is created and read back by these instruction sequences.

Definition at line 138 of file registers.h.


Field Documentation

Definition at line 139 of file registers.h.

Referenced by _dump_regs().

Definition at line 140 of file registers.h.

Referenced by _dump_regs().

Definition at line 143 of file registers.h.

Referenced by _dump_regs().

Definition at line 144 of file registers.h.

Referenced by _dump_regs().


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