Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 317499

Summary: Given a platform instance, need a way to obtain the deviceName
Product: [Technology] RTSC Reporter: Chris Ring <cring>
Component: CoreAssignee: Dave Russo <d-russo>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3 CC: dfriedland
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: target: 3.40

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.