Previous Next  

Element: MemorySize

Document type

ApplicationDescription

Document XPath

/ApplicationDescription/MemorySize

Schema XPath

/ConfigRecord/Module/Applications/Application/ApplicationDescription/MemorySize

Description

The MemorySize element defines a black box for the application. The attributes of MemorySize correspond to the standard sections of an ELF file:

<ApplicationDescription ...>
 <MemorySize
  MemorySizeBss="0x1000"
  MemorySizeData="0x1000"
  MemorySizePersistentBss="0x1000"
  MemorySizePersistentData="0x1000"
  MemorySizeRoData="0"
  MemorySizeText="0x1000"/>
</ApplicationDescription>
			

If your application requires additional ELF sections (as it may, for instance, if it is written in C++) add an AdditionalSection element for each additional section:

<ApplicationDescription ...>
  <MemorySize
  MemorySizeBss="0x1000"
  MemorySizeData="0x1000"
  MemorySizePersistentBss="0x1000"
  MemorySizePersistentData="0x1000"
  MemorySizeRoData="0"
  MemorySizeText="0x1000">
  <AdditionalSection ...">
 </MemorySize>
</ApplicationDescription>
			

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.

If you increase the size of the application black box, you may also have to adjust the value of /PartitionDescription/Settings/@RequiredMemorySize to accommodate the increased size of the application.

Use

Required

Children

AdditionalSection

Attributes

MemorySizeBss

MemorySizeData

MemorySizePersistentBss

MemorySizePersistentData

MemorySizeRoData

MemorySizeText

Restrictions

None

Attribute: MemorySizeBss

Document XPath
/ApplicationDescription/MemorySize/@MemorySizeBss
Schema XPath
/ConfigRecord/Module/Applications/Application/ApplicationDescription/MemorySize/@MemorySizeBss
Description

The size (in bytes) of the BSS section of the application’s black box. This value is negotiated between the application developer and the system integrator.

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
/ApplicationDescription/MemorySize/@MemorySizeData
Schema XPath
/ConfigRecord/Module/Applications/Application/ApplicationDescription/MemorySize/@MemorySizeData
Description

The maximum size (in bytes) of the application’s data section of the ELF file. This value is negotiated between the application developer and the system integrator.

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: MemorySizePersistentBss

Document XPath
/ApplicationDescription/MemorySize/@MemorySizePersistentBss
Schema XPath
/ConfigRecord/Module/Applications/Application/ApplicationDescription/MemorySize/@MemorySizePersistentBss
Description

The maximum size (in bytes) of the application’s persistent BSS section of the ELF file. This value is negotiated between the application developer and the system integrator.

Use

Optional

Target location

None

XML data type

DecOrHexValueType

Destination data type

N/A

Behavior if not specified

A value of 0 is used.

Values with special meanings

None

Restrictions

Attribute: MemorySizePersistentData

Document XPath
/ApplicationDescription/MemorySize/@MemorySizePersistentData
Schema XPath
/ConfigRecord/Module/Applications/Application/ApplicationDescription/MemorySize/@MemorySizePersistentData
Description

The maximum size (in bytes) of the application’s persistent data section of the ELF file. This value is negotiated between the application developer and the system integrator.

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
/ApplicationDescription/MemorySize/@MemorySizeRoData
Schema XPath
/ConfigRecord/Module/Applications/Application/ApplicationDescription/MemorySize/@MemorySizeRoData
Description

The maximum size (in bytes) of the application’s read-only data section of the ELF file. This value is negotiated between the application developer and the system integrator.

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
/ApplicationDescription/MemorySize/@MemorySizeText
Schema XPath
/ConfigRecord/Module/Applications/Application/ApplicationDescription/MemorySize/@MemorySizeText
Description

The maximum size (in bytes) of the application’s text section of the ELF file. This value is negotiated between the application developer and the system integrator.

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.