The Pedigree Project 0.1
Static Public Member Functions | List of all members
TargetInfo Class Referencefinal

#include <TargetInfo.h>

+ Collaboration diagram for TargetInfo:

Static Public Member Functions

static constexpr size_t getPageSize () noexcept
 
static constexpr size_t getPageShift () noexcept
 
static constexpr size_t getPageOffsetMask () noexcept
 
static constexpr size_t getPointerBits () noexcept
 
static constexpr bool isLittleEndian () noexcept
 

Detailed Description

Immutable compile-time properties of the selected Pedigree build target.

Definition at line 31 of file TargetInfo.h.

Member Function Documentation

◆ getPageOffsetMask()

static constexpr size_t TargetInfo::getPageOffsetMask ( )
inlinestaticconstexprnoexcept

Definition at line 54 of file TargetInfo.h.

◆ getPageShift()

static constexpr size_t TargetInfo::getPageShift ( )
inlinestaticconstexprnoexcept

Definition at line 44 of file TargetInfo.h.

◆ getPageSize()

static constexpr size_t TargetInfo::getPageSize ( )
inlinestaticconstexprnoexcept

The Pedigree base page size: the smallest unit which this build independently allocates, maps, protects, and unmaps. A hosted platform's VM granule is a separate runtime property.

Definition at line 40 of file TargetInfo.h.

Referenced by AhciDisk::getBlockSize(), NvmeDisk::getBlockSize(), Iso9660File::getBlockSize(), ScsiDisk::getCacheFillSize(), PhysicalMemoryManager::getPageSize(), Ext2Filesystem::initialise(), AtaDisk::initialise(), ProcessorBase::initialise1(), FileDisk::pin(), MemoryMapManager::prepareFileResize(), Rtc::processElapsedTime(), HostedTimer::processTimerBatch(), CdiDisk::read(), FileDisk::read(), Iso9660File::readPage(), FileDisk::unpin(), and CdiDisk::write().

+ Here is the caller graph for this function:

◆ getPointerBits()

static constexpr size_t TargetInfo::getPointerBits ( )
inlinestaticconstexprnoexcept

Definition at line 58 of file TargetInfo.h.

◆ isLittleEndian()

static constexpr bool TargetInfo::isLittleEndian ( )
inlinestaticconstexprnoexcept

Definition at line 62 of file TargetInfo.h.


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