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

A segment that appears in the Segment Information Table. More...

#include <pharlap.h>

Inheritance diagram for PharLap::P3Format::Segment:
PharLap::P3Format::SITEntry PharLap::P3Format::AbstractSegment

Public Member Functions

 Segment (std::shared_ptr< Linker::Segment > segment, uint32_t access, uint16_t selector)
 
uint32_t GetStoredSize () const override
 
uint32_t GetZeroSize () const override
 
void WriteFile (Linker::Writer &wr) const override
 
- Public Member Functions inherited from PharLap::P3Format::SITEntry
 SITEntry (uint16_t selector=0)
 
uint32_t GetStoredSize () const override
 
uint32_t GetLoadedSize () const override
 
void WriteSITEntry (Linker::Writer &wr) const
 
void WriteFile (Linker::Writer &wr) const override
 

Public Attributes

std::shared_ptr< Linker::Segmentsegment
 
uint32_t access
 
- Public Attributes inherited from PharLap::P3Format::SITEntry
uint16_t selector = 0
 
uint16_t flags = 0
 
uint32_t base_offset = 0
 
uint32_t zero_fill = 0
 
- Public Attributes inherited from PharLap::P3Format::AbstractSegment
uint32_t address = 0
 

Additional Inherited Members

- Static Public Member Functions inherited from PharLap::P3Format::SITEntry
static std::shared_ptr< SITEntryReadSITEntry (Linker::Reader &rd)
 

Detailed Description

A segment that appears in the Segment Information Table.

Used for generating multisegmented binaries

Member Function Documentation

◆ GetStoredSize()

uint32_t P3Format::Segment::GetStoredSize ( ) const
overridevirtual

◆ GetZeroSize()

uint32_t P3Format::Segment::GetZeroSize ( ) const
overridevirtual

Reimplemented from PharLap::P3Format::SITEntry.

◆ WriteFile()

void P3Format::Segment::WriteFile ( Linker::Writer & wr) const
overridevirtual

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