Previous Next  

Element: SharedLibrary

Document type

Module

Document XPath

/Module/SharedLibraryRegions/SharedLibrary

Schema XPath

/ConfigRecord/Module/SharedLibraryRegions/SharedLibrary

Description

The SharedLibrary element defines the name of a shared library region and identifies the SharedLibraryDescription file for the shared library.

You identify the SharedLibraryDescription file using an xi:include element.

<Module Name="my-module" Id="0">
 ...
 <SharedLibraryRegions>
  <SharedLibrary Name="my-pos">
   <xi:include href="my-pos-SharedLibraryDescription.xml"/>
  </SharedLibrary>
  <SharedLibrary Name="my-sl-A">
   <xi:include href="my-sl-A-SharedLibraryDescription.xml"/>
  </SharedLibrary>
 </SharedLibraryRegions>
 ...
</Module>
			

Alternately, you can include the SharedLibraryDescription document inline:

<Module Name="my-module" Id="0">
 ...
 <SharedLibraryRegions>
  <SharedLibrary Name="my-pos">
   <SharedLibraryDescription 
	  SystemSharedLibrary="true" 
		VirtualAddress="0x40000000">
		...
   </SharedLibraryDescription>
  </SharedLibrary>
 </SharedLibraryRegions>
 ...
</Module>
			

Notice that while the description of the shared library can be included from an external file, the name of the shared library must be supplied in the attribute of the SharedLibrary element itself. This allows you to include the same shared library description in different systems, giving the shared library a different name in each.

Use

Optional, unbounded

Children

SharedLibraryDescription

xi:include

Attributes

Name

Restrictions

None

Attribute: Name

Document XPath
/Module/SharedLibraryRegions/SharedLibrary/@Name
Schema XPath
/ConfigRecord/Module/SharedLibraryRegions/SharedLibrary/@Name
Description

The name of the shared library. The value becomes the name attribute for the shared library domain and is used in the /ConfigRecord/WR_DD_Extensions/domainInformation/@LinkagePath element for a partition or shared library to identify the shared library to link against.

It is also used to name the shared library memory pool defined by /ConfigRecord/WR_MMU_Extensions/MmuInformation/@Name, which is the shared library name + "Pool".

Use

Required

Target location

ConfigRecord

XML data type

xs:string

Destination data type

String

Behavior if not specified

N/A

Values with special meanings

None

Restrictions



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