Previous Next  

Element: MemorySize

Document type

CoreOSDescription

Document XPath

/CoreOSDescription/MemorySize

Schema XPath

/ConfigRecord/Module/CoreOS/CoreOSDescription/MemorySize

Description

The MemorySize element defines the size of the various sections of kernel memory. These values constitute the black box for the core OS. You must ensure that the memory provided will be sufficient for your core OS. If the final core OS requires more memory than is provided for it in the black box, the build will fail. The core OS template file from the BSP provides a correct black box for a standard core OS. If you make changes to the core OS, you may need to change these values.

To minimize the impact of change on the configuration and certification on the application and the module as a whole, you should size each section to accommodate the largest reasonably foreseeable size of the section, rather than setting it to the minimum size required to accommodate the current section.

<CoreOSDescription ...>
 <MemorySize
  MemorySizeBss="0x00028000"
  MemorySizeData="0x00018000"
  MemorySizeRoData="0x00030000"
  MemorySizeText="0x00200000"/>
</CoreOSDescription>
			
Use

Required

Children

None

Attributes

MemorySizeBss

MemorySizeData

MemorySizeRoData

MemorySizeText

Restrictions

Attribute: MemorySizeBss

Document XPath
/CoreOSDescription/MemorySize/@MemorySizeBss
Schema XPath
/ConfigRecord/Module/CoreOS/CoreOSDescription/MemorySize/@MemorySizeBss
Description

The maximum size (in bytes) of the ELF file BSS section for core OS memory.

Use

Optional

Target location

ConfigRecord

XML data type

DecOrHexValueType

Destination data type

Unsigned 32 bit integer

Behavior if not specified

A value of 0 is used.

Values with special meanings

None

Restrictions

Attribute: MemorySizeData

Document XPath
/CoreOSDescription/MemorySize/@MemorySizeData
Schema XPath
/ConfigRecord/Module/CoreOS/CoreOSDescription/MemorySize/@MemorySizeData
Description

The maximum size (in bytes) of the ELF file data section for core OS memory.

Use

Optional

Target location

ConfigRecord

XML data type

DecOrHexValueType

Destination data type

Unsigned 32 bit integer

Behavior if not specified

A value of 0 is used.

Values with special meanings

None

Restrictions

Attribute: MemorySizeRoData

Document XPath
/CoreOSDescription/MemorySize/@MemorySizeRoData
Schema XPath
/ConfigRecord/Module/CoreOS/CoreOSDescription/MemorySize/@MemorySizeRoData
Description

The maximum size (in bytes) of the ELF file read-only data section for core OS memory.

Use

Optional

Target location

ConfigRecord

XML data type

DecOrHexValueType

Destination data type

Unsigned 32 bit integer

Behavior if not specified

A value of 0 is used.

Values with special meanings

None

Restrictions

Attribute: MemorySizeText

Document XPath
/CoreOSDescription/MemorySize/@MemorySizeText
Schema XPath
/ConfigRecord/Module/CoreOS/CoreOSDescription/MemorySize/@MemorySizeText
Description

The maximum size (in bytes) of the ELF file text section for core OS memory.

Use

Optional

Target location

ConfigRecord

XML data type

DecOrHexValueType

Destination data type

Unsigned 32 bit integer

Behavior if not specified

A value of 0 is used.

Values with special meanings

None

Restrictions



Generated on 2007-10-15 17:17:22.