Xen Test Framework
Loading...
Searching...
No Matches
Data Fields
far_ptr64 Struct Reference

Long mode lcall/ljmp memory operand. More...

#include <desc.h>

Data Fields

union { 
 
   uint64_t   offset_intel 
 
   struct { 
 
      uint32_t   :32 
 
      uint32_t   offset_amd 
 
   }  
 
};  
 
uint16_t selector
 

Detailed Description

Long mode lcall/ljmp memory operand.

WARNING: Intel and AMD disagree on how large a far_ptr64 is. Intel uses 8 bytes offset, while AMD use 4.

Initialisation of offset and encoding for an lcall/ljmp instruction needs per-vendor configuration.

Definition at line 126 of file desc.h.

Field Documentation

◆ offset_intel

uint64_t offset_intel

Definition at line 128 of file desc.h.

◆ __pad0__

uint32_t __pad0__

Definition at line 130 of file desc.h.

◆ offset_amd

uint32_t offset_amd

Definition at line 131 of file desc.h.

◆ [union]

union { ... }

◆ selector

uint16_t selector

Definition at line 134 of file desc.h.


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