Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 317499 - Given a platform instance, need a way to obtain the deviceName
Summary: Given a platform instance, need a way to obtain the deviceName
Status: ASSIGNED
Alias: None
Product: RTSC
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Dave Russo CLA
QA Contact:
URL:
Whiteboard: target: 3.40
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-21 14:13 EDT by Chris Ring CLA
Modified: 2014-02-26 00:56 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Ring CLA 2010-06-21 14:13:59 EDT
Given a platform instance, we need a way to obtain the deviceName.  This is typically useful when constructing the build model (e.g. package.bld scripts) as there are often times when _what_ executables to build depends on what platform you're on.

For example, when constructing a Codec Engine app, if the platform is a OMAP3, you can build both a 'local' app as well as a 'remote' app for the ARM.

A suggested implementation could be to add a IPlatform.getCpuIds() method that would return an array of CPU IDs that we could then use IPlatform.getCpuDataSheet() to obtain the platform's .deviceName.