![]() |
![]() |
![]() |
Module
The Module element is the root element of the Module document type.
When you create a Module document, you should start with the XML declaration:
<?xml version="1.0" encoding="UTF-8"?>
Following the XML declaration, create the root Module element:
<Module xmlns="http://www.windriver.com/vxWorks653/ConfigRecord" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.windriver.com/vxWorks653/ConfigRecord ..\cleanschemas\Module.xsd" Name="my-module" Id="0"> ... </Module>
The Module element must include the required XML attributes that identify the schema and namespace for the document. The first three attributes are standard and should be entered exactly as shown. The xsi:schemaLocation attribute associates the namespace (http://www.windriver.com/vxWorks653/ConfigRecord) with the schema file (Module.xsd). You should provide the correct path to your copy of the schema. The location of the schema files in the installation is installDir/vxworks653-2.2/target/config/xml/cleanschema.
If you use a schema-aware XML editor to create your files, it will probably create these attributes for you.
Required
This element must contain exactly one CoreOS element.
This element must contain exactly one Applications element.
This element must contain exactly one SharedDataRegions element.
This element must contain exactly one SharedLibraryRegions element.
This element must contain exactly one Partitions element.
This element must contain exactly one Schedules element.
This element must contain exactly one Connections element.
This element must contain exactly one HealthMonitor element.
The must be no more than 10240 ports defined in the module. Ports are defined in:
The numeric identifier for the module. This value becomes the value of the configRecord field CORE_OS_CFG_RECORD.moduleId. The identifier can be retrieved at runtime by calling configRecordFieldGet (pCfg, CORE_MODULE, 0, &value).
Optional
ConfigRecord
Unsigned 32 bit integer
An ID of 0 is assigned.
None
None
Generated on 2007-10-15 17:17:22.