symbian4/os/usb/package_definition.xml
branchHighFidelityModel
changeset 150 8d58b930d36e
child 174 e7654a759056
equal deleted inserted replaced
149:f5ca2252f87e 150:8d58b930d36e
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <!DOCTYPE SystemDefinition [
       
     3 <!ELEMENT SystemDefinition ( systemModel )>
       
     4 <!ATTLIST SystemDefinition
       
     5   name CDATA #REQUIRED
       
     6   schema CDATA #REQUIRED
       
     7 >
       
     8 <!-- all paths are relative to the environment variable specified by the root attribute, or SOURCEROOT if not.  -->
       
     9 
       
    10 <!-- System Model Section of DTD -->
       
    11 <!ELEMENT systemModel (layer+)>
       
    12 
       
    13 <!ELEMENT layer (block* | collection*)*>
       
    14 <!-- Kernel Services, Base Services, OS Services, Etc -->
       
    15 <!ATTLIST layer
       
    16   name CDATA #REQUIRED
       
    17   long-name CDATA #IMPLIED
       
    18   levels NMTOKENS #IMPLIED
       
    19   span CDATA #IMPLIED
       
    20 >
       
    21 
       
    22 <!ELEMENT block (subblock* | collection*)*>
       
    23  <!-- Generic OS services, Comms Services, etc -->
       
    24 <!ATTLIST block
       
    25   levels NMTOKENS #IMPLIED
       
    26   span CDATA #IMPLIED
       
    27   level NMTOKEN #IMPLIED
       
    28   name CDATA #REQUIRED
       
    29   long-name CDATA #IMPLIED
       
    30 >
       
    31 
       
    32 <!ELEMENT subblock (collection)*>
       
    33 <!-- Cellular Baseband Services, Networking Services, etc -->
       
    34 <!ATTLIST subblock
       
    35   name CDATA #REQUIRED
       
    36   long-name CDATA #IMPLIED
       
    37 >
       
    38 
       
    39 <!ELEMENT collection (component)*>
       
    40 <!-- Screen Driver, Content Handling, etc -->
       
    41 <!ATTLIST collection
       
    42   name CDATA #REQUIRED
       
    43   long-name CDATA #IMPLIED
       
    44   level NMTOKEN #IMPLIED
       
    45 >
       
    46 
       
    47 <!ELEMENT component (unit)*>
       
    48 <!-- contains units or is a  package or prebuilt -->
       
    49 <!ATTLIST component
       
    50   name CDATA #REQUIRED
       
    51   long-name CDATA #IMPLIED
       
    52   deprecated CDATA #IMPLIED
       
    53   introduced CDATA #IMPLIED
       
    54   contract CDATA #IMPLIED
       
    55   plugin (Y|N) "N"
       
    56   filter CDATA #IMPLIED
       
    57   class NMTOKENS #IMPLIED
       
    58   supports CDATA #IMPLIED
       
    59   purpose ( optional | mandatory | development ) "optional"
       
    60 >
       
    61 
       
    62 <!ELEMENT unit EMPTY >
       
    63 <!-- must be buildable (bld.inf) -->
       
    64 <!-- bldFile  may someday be removed in favour of mrp -->
       
    65 <!ATTLIST unit
       
    66   mrp CDATA #IMPLIED
       
    67   filter CDATA #IMPLIED
       
    68   bldFile CDATA #IMPLIED
       
    69   root CDATA #IMPLIED
       
    70   version NMTOKEN #IMPLIED
       
    71   prebuilt NMTOKEN #IMPLIED
       
    72   late (Y|N) #IMPLIED
       
    73   priority CDATA #IMPLIED
       
    74 >
       
    75 ]>
       
    76 <SystemDefinition name="Symbian^4" schema="2.0.1">
       
    77   <systemModel>
       
    78     <layer name="os" long-name="OS" levels="hw services">
       
    79       <block name="usb" level="services" long-name="USB" levels="adaptation hw-if plugin framework server app-if">
       
    80         <collection name="usb_plat" long-name="USB Platform Interfaces" level="app-if">
       
    81           <component name="usb_audio_stream_plugin_api" long-name="USB Audio Stream Plugin API" filter="s60" class="api">
       
    82             <unit bldFile="/sf/os/usb/usb_plat/usb_audio_stream_plugin_api/group"/>
       
    83           </component>
       
    84         </collection>
       
    85         <collection name="usbldd" long-name="USB Logical Device Drivers" level="hw-if">
       
    86           <!-- usbclientdrivers  to be moved here from kernelhwsrv-->
       
    87         </collection>
       
    88         <collection name="usbmgmt" long-name="USB Management" level="server">
       
    89           <component name="usbmgr" long-name="USB Manager" purpose="optional">
       
    90             <unit bldFile="/sf/os/usb/usbmgmt/usbmgr/group" mrp="/sf/os/usb/usbmgmt/usbmgr/group/usb_manager.mrp" version="2"/>
       
    91           </component>
       
    92           <component name="usbmgrtest" long-name="USB Manager Tests" introduced="7.0" purpose="development" filter="test">
       
    93             <unit mrp="/sf/os/usb/usbmgmt/usbmgrtest/group/usb_test.mrp" bldFile="/sf/os/usb/usbmgmt/usbmgrtest/group" version="2"/>
       
    94           </component>
       
    95           <component name="usbclassandmgrdocs" long-name="USB Class and Manager Documentation" purpose="development" class="doc">
       
    96             <unit mrp="/sf/os/usb/usbmgmt/usbclassandmgrdocs/usb_documentation.mrp"/>
       
    97           </component>
       
    98         </collection>
       
    99         <collection name="usb_info" long-name="USB Info" level="app-if">
       
   100           <component name="usb_metadata" long-name="USB Metadata" introduced="^3" purpose="development" class="config PC">
       
   101             <unit mrp="/sf/os/usb/usb_info/usb_metadata/usb_metadata.mrp"/>
       
   102           </component>
       
   103         </collection>
       
   104       </block>
       
   105     </layer>
       
   106   </systemModel>
       
   107 </SystemDefinition>