Difference between revisions of "DSDP/RTSC - xdc.platform.ICpuDataSheet"

From Eclipsepedia

Jump to: navigation, search
m (New page: __TOC__<br> == Introduction<br> == The current RTSC platform model contains a description of the hardware (HW) as a part of the configuration model.  This part of the model - acces...)
 
m
Line 22: Line 22:
 
*ti.sysbios timers and<br>
 
*ti.sysbios timers and<br>
 
*ti.sdo.ipc.Sem<br><br>
 
*ti.sdo.ipc.Sem<br><br>
 +
 +
== Sketch<br> ==
 +
 +
The following notes sketch the current thinking.<br>
 +
 +
ICpuDataSheet would include a map of peripherals, say&nbsp;xdc.platform.IPlatform.Peripheral, were each peripheral would be a structure containing a name, base address, and an arbitrary hash of device specific attributes. <br>
 +
 +
*name would name a RTSC module that identifies the HW peripheral
 +
*the base address would be a device
 +
*the attrs hash would contain attributes such as interrupt id
 +
 +
The keys of the peripheral map might be the device-specific names for the peripherials.
 +
 +
  
 
== Resources  ==
 
== Resources  ==
 +
 +
[http://rtsc.eclipse.org/cdoc-tip/index.html#xdc/platform/package.html RTSC Platform Model Reference] - the reference API for the current platform model<br>
 +
 +
<br>
  
 
<br>
 
<br>

Revision as of 20:42, 20 July 2009

Contents


Introduction

The current RTSC platform model contains a description of the hardware (HW) as a part of the configuration model.  This part of the model - accessible via Program.cpu - allows portable XDCscript code to reflect on the specific HW and conditionally generate results that are platform-specific.


Although the current HW model provides specific device information and a complete memory map as seen by executaing applications, it does not currently provide a way to identify peripherals that are part of the device; e.g., what types of perihperials (timers, serial ports, ADCs, etc.) are present, how many exist, their base addresses, and any device specific attributes associated with these peripherals).

Goals

Extend the platform model to include a notion of a "peripheral" and augment the existing platform packages to include sufficient information to enable "automatic" configuration of peripheral drivers.  Automatic configuration implies:

  • user rarely needs to add configuration statements that are device specific
  • peripheral drivers can get information from the platform model (that is "implied" by the HW platform) sufficient to ensure all software dirvers operate properly without conflict

Requirements

Automatic configuration of

  • ti.sysbios timers and
  • ti.sdo.ipc.Sem

Sketch

The following notes sketch the current thinking.

ICpuDataSheet would include a map of peripherals, say xdc.platform.IPlatform.Peripheral, were each peripheral would be a structure containing a name, base address, and an arbitrary hash of device specific attributes.

  • name would name a RTSC module that identifies the HW peripheral
  • the base address would be a device
  • the attrs hash would contain attributes such as interrupt id

The keys of the peripheral map might be the device-specific names for the peripherials.


Resources

RTSC Platform Model Reference - the reference API for the current platform model