Compartilhar via


ROMHDR (Compact 2013)

3/28/2014

This structure defines the ROM header.

Syntax

typedef struct ROMHDR {
  ULONG dllfirst;
  ULONG dlllast;
  ULONG physfirst;
  ULONG physlast;
  ULONG nummods;
  ULONG ulRAMStart;
  ULONG ulRAMFree;
  ULONG ulRAMEnd;
  ULONG ulCopyEntries;
  ULONG ulCopyOffset;
  ULONG ulProfileLen;
  ULONG ulProfileOffset;
  ULONG numfiles;
  ULONG ulKernelFlags;
  ULONG ulFSRamPercent;
  ULONG ulDrivglobStart;
  ULONG ulDrivglobLen;
  USHORT usCPUType;
  USHORT usMiscFlags;
  PVOID pExtensions;
  ULONG ulTrackingStart;
  ULONG ulTrackingLen;
} ROMHDR;

Members

  • dllfirst
    First DLL address.
  • dlllast
    Last DLL address.
  • physfirst
    First physical address.
  • physlast
    Highest physical address.
  • nummods
    Number of TOC entries.
  • ulRAMStart
    Start of RAM.
  • ulRAMFree
    Start of RAM free space.
  • ulRAMEnd
    End of RAM.
  • ulCopyEntries
    Number of copy section entries.
  • ulCopyOffset
    Offset to the copy section.
  • ulProfileLen
    Length of profile entries in RAM.
  • ulProfileOffset
    Offset to the profile entries.
  • numfiles
    Number of files.
  • ulKernelFlags
    Optional kernel flags from the ROMFLAGS configuration option.

    For more information, see ROMFLAGS.

  • ulFSRamPercent
    Percentage of RAM used for the file system from the FSRAMPERCENT configuration option.

    For more information, see FSRAMPERCENT.

  • ulDrivglobStart
    Device driver global starting address.
  • ulDrivglobLen
    Device driver global length.
  • usCPUType
    CPU type.
  • usMiscFlags
    Miscellaneous flags.
  • pExtensions
    Pointer to ROM header extensions.
  • ulTrackingStart
    Tracking memory starting address.
  • ulTrackingLen
    Tracking memory ending address.

Requirements

Header

romldr.h

See Also

Reference

Kernel Structures
XIPCHAIN_ENTRY

Other Resources

Binary Image Builder (.bib) File
MEMORY Section