Previous Next  

Element: CoreOSDescription

Document type

CoreOSDescription

Document XPath

/CoreOSDescription

Schema XPath

/ConfigRecord/Module/CoreOS/CoreOSDescription

Description

The CoreOSDescription element is the root element of a CoreOSDescription document that contains settings used to configure the core OS.

Your CoreOSDescription file will be based on the template CoreOSDescription file provided with your BSP. The template file is located in the appropriate BSP directory located in installDir/vxworks653-2.2/target/config/. For example, the template core OS configuration document for the wrSbc750gx is named wrSbc750gx.xml. Make a copy of this file and name it appropriately for your platform. If the settings in the template CoreOSDescription document in the BSP are sufficient, you can link to the template CoreOSDescription document directly.

You include the CoreOSDescription file in the Module configuration document with an xi:include element in the /Module/CoreOS element.

If you choose to write the CoreOSDescription by hand rather than editing the template version, you should start with the XML declaration:

<?xml version="1.0" encoding="UTF-8"?>
			

Following the XML declaration, create the root CoreOSDescription element:

<CoreOSDescription 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\ConfigRecord.xsd"
 KernelName="my-coreOS" >
 ...
</CoreOSDescription>
			

The CoreOSDescription 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 (CoreOS.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.

Use

Required

Children

Extensions

HardwareConfiguration

KernelConfiguration

MemorySize

Attributes

KernelName

Restrictions

None

Attribute: KernelName

Document XPath
/CoreOSDescription/@KernelName
Schema XPath
/ConfigRecord/Module/CoreOS/CoreOSDescription/@KernelName
Description

The name of the core OS. This value is used to identify the core OS partition. This value will also be used as the directory name of the core OS project and as the core OS name displayed in the target or host shell.

This value must match the name assigned to the core OS project in the build.

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.