![]() |
![]() |
![]() |
> Module > SharedLibraryRegions |
Module
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.
Optional, unbounded
None
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".
Required
ConfigRecord
String
N/A
None
The maximum length is 27 characters.
The name must be unique within the module.
Generated on 2007-10-15 17:17:22.