RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
PharLap::P3Format::Descriptor Class Reference

An entry in a GDT, LDT or IDT image. More...

#include <pharlap.h>

Public Types

enum  {
  TSS16 = 0x00008100 , LDT = 0x00008200 , TSS32 = 0x00008900 , Code16 = 0x00009A00 ,
  Code32 = 0x00409A00 , Data16 = 0x00009200 , Data32 = 0x00409200 , DESC_X = 0x00000800 ,
  DESC_S = 0x00001000 , DESC_G = 0x00800000
}
 

Public Member Functions

bool IsSegment () const
 
bool IsGate () const
 
void CalculateValues ()
 
void WriteEntry (Linker::Writer &wr) const
 
void FillEntry (Dumper::Entry &entry) const
 

Static Public Member Functions

static Descriptor FromSegment (uint32_t access, std::weak_ptr< AbstractSegment > image=std::weak_ptr< AbstractSegment >())
 
static Descriptor ReadEntry (Linker::Image &image, offset_t offset)
 

Public Attributes

std::weak_ptr< AbstractSegmentimage = std::weak_ptr<AbstractSegment>()
 Reference to a segment in the file.
 
uint32_t access = 0
 
uint32_t limit = 0
 
uint32_t base = 0
 
uint32_t offset = 0
 
uint16_t selector = 0
 

Detailed Description

An entry in a GDT, LDT or IDT image.


The documentation for this class was generated from the following files: