TRomHeader Class Reference

class TRomHeader

The format of the header for a ROM image.

This is retained as part of the ROM image. It is generated by the rombuild tool, and is used by the Bootstrap and the kernel.

Member Functions Documentation

__ASSERT_COMPILE(KNumTraceMask)

__ASSERT_COMPILE ( KNumTraceMask  = = KNumTraceMaskWords )

Parameters

KNumTraceMask  = = KNumTraceMaskWords

Member Data Documentation

TUint iCheckSum

TUint iCheckSum

A computed constant that causes the 32-bit checksum of the image to equal the value specified by the "romchecksum" keyword.

TUint32 iCompressedSize

TUint32 iCompressedSize

The size of the image after compression.

TUint32 iCompressedUnpagedStart

TUint32 iCompressedUnpagedStart

Offset, in bytes from ROM start, for the start of compressed un-paged ROM area

TUint32 iCompressionType

TUint32 iCompressionType

The type of compression used for the image.

This is a UID, or 0 if there is no compression.

TUint32 iDebugPort

TUint32 iDebugPort

A value that is interpreted by the Bootstrap and kernel as the debug port to be used.

SDemandPagingConfig iDemandPagingConfig

SDemandPagingConfig iDemandPagingConfig

TUint32 iDisabledCapabilities

TUint32 iDisabledCapabilities

TLinAddr iExtensionFile

TLinAddr iExtensionFile

The virtual address of TRomEntry for the first extension file, if it exists.

If there is more than one extension, then the next extension field in the extensions TRomImageHeader points to the TRomEntry for that next extension.

TRomImageHeader::iNextExtension TRomImageHeader TRomEntry

TUint32 iHardware

TUint32 iHardware

A unique number identifying the hardware for which this ROM image has been built.

Note that this is only used for testing purposes.

TUint32 iHcrFileAddress

TUint32 iHcrFileAddress

The virtual address at which the start of the HCR repository file is located in the unpaged part of the Core ROM Image.

TInt iInitialBTraceBuffer

TInt iInitialBTraceBuffer

Initial value for size of fast-trace buffer.

TUint32 iInitialBTraceFilter

TUint32 iInitialBTraceFilter

Initial values for fast-trace filter.

TInt iInitialBTraceMode

TInt iInitialBTraceMode

Initial value for size of fast-trace mode.

TUint8 iJump

TUint8 iJump

Reserved for a small amount of Bootstrap code, if required. The first 4 bytes of the binary image typically contains a branch instruction which jumps to code at offset 0x100.

TLinAddr iKernDataAddress

TLinAddr iKernDataAddress

The virtual address of kernel data, when in RAM.

TUint32 iKernelConfigFlags

TUint32 iKernelConfigFlags

Contains the flags that define the security options in force.

TKernelConfigFlags

TLinAddr iKernelLimit

TLinAddr iKernelLimit

The virtual address of the top of the kernel region, when in RAM.

TInt64 iLanguage

TInt64 iLanguage

A bitmask identifying which of the languages are supported by the ROM image, as specified by the "languages" keyword.

Note that this is only used for testing purposes.

TUint32 iOldTraceMask

TUint32 iOldTraceMask

The old position of the kernel trace mask, see iTraceMask below

TInt iPageableRomSize

TInt iPageableRomSize

Size, in bytes, of the pageable ROM area.

TInt iPageableRomStart

TInt iPageableRomStart

Offset, in bytes from ROM start, for the start of the pageable ROM area.

TLinAddr iPrimaryFile

TLinAddr iPrimaryFile

The virtual address of the primarys ROM file image header.

TRomImageHeader

TLinAddr iRelocInfo

TLinAddr iRelocInfo

The virtual adress of the first area to be relocated into RAM, as defined using the "area" keyword.

TLinAddr iRestartVector

TLinAddr iRestartVector

The restart vector.

TLinAddr iRomBase

TLinAddr iRomBase

The virtual address of the base of the ROM.

TLinAddr iRomExceptionSearchTable

TLinAddr iRomExceptionSearchTable

The virtual address of the TRomExceptionSearchTable structure.

TRomExceptionSearchTable

TUint32 iRomHeaderSize

TUint32 iRomHeaderSize

Current size of ROM header (Previously iUnused3) If value is 0x69966996 then header size = 0x100

TInt iRomPageIndex

TInt iRomPageIndex

Offset, in bytes from ROM start, for the page index. (Array of SRomPageInfo objects.)

TLinAddr iRomRootDirectoryList

TLinAddr iRomRootDirectoryList

The virtual address of the TRomRootDirectoryList structure.

TRomRootDirectoryList

TLinAddr iRomSectionHeader

TLinAddr iRomSectionHeader

The virtual address of the ROM section header, if the ROM is sectioned.

TRomSectionHeader

TUint32 iRomSize

TUint32 iRomSize

The size of the ROM image, in bytes.

This includes the second section for sectioned ROMs.

TLinAddr iSecondaryFile

TLinAddr iSecondaryFile

The virtual address of the secondarys ROM file image header.

TRomImageHeader

TUint32 iSpare

TUint32 iSpare

TInt64 iTime

TInt64 iTime

The date and time that the ROM image was built, in microseconds.

TUint32 iTimeHi

TUint32 iTimeHi

The high order 32 bits of the ROM image build date & time.

TInt iTotalSvDataSize

TInt iTotalSvDataSize

The total supervisor data size, i.e. the amount of memory mapped for the kernel data chunk.

TInt iTotalUserDataSize

TInt iTotalUserDataSize

The total size of the user data.

TUint32 iTraceMask

TUint32 iTraceMask

The initial value for the kernel trace masks.

TUint32 iUncompressedSize

TUint32 iUncompressedSize

The size of the image before compression.

TUint32 iUnpagedCompressedSize

TUint32 iUnpagedCompressedSize

Size, in bytes of the un-paged part of image after compression.

TUint32 iUnpagedUncompressedSize

TUint32 iUnpagedUncompressedSize

Size, in bytes of the un-paged part of image before compression.

TLinAddr iUserDataAddress

TLinAddr iUserDataAddress

The virtual address of the user data area.

TLinAddr iVariantFile

TLinAddr iVariantFile

The virtual address of the TRomEntry for the Variant file.

TRomEntry

TVersion iVersion

TVersion iVersion

The ROM version number.