Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Real-Time Software Components (RTSC) » Adding non-RTSC types into XDC file
Adding non-RTSC types into XDC file [message #507038] Mon, 11 January 2010 13:35 Go to next message
Todd Mullanix is currently offline Todd Mullanix
Messages: 8
Registered: July 2009
Junior Member
I would like to add some of the NDK's types into a module. How can this be done?

For example, I'd like the following to be in the module state structure


static SOCKET dataSocket;

static SOCKET cmdSocket;

struct sockaddr_in dataSin;

struct sockaddr_in cmdSin;


Thanks,
Todd
Re: Adding non-RTSC types into XDC file [message #507271 is a reply to message #507038] Tue, 12 January 2010 16:58 Go to previous message
Dave Russo is currently offline Dave Russo
Messages: 172
Registered: July 2009
Senior Member
These types must be declared in a XDCspec file; otherwise, it is not
possible to know the size of these types
1. during configuration
2. during runtime in the RTA/ROV tooling

Ideally, the NDK would define just the "base" socket types in a .xdc
file then define the names below in the existing C headers as typedefs
of the base types.

On 1/11/2010 5:35 AM, Todd Mullanix wrote:
> I would like to add some of the NDK's types into a module. How can this
> be done?
>
> For example, I'd like the following to be in the module state structure
>
>
> static SOCKET dataSocket;
>
> static SOCKET cmdSocket;
>
> struct sockaddr_in dataSin;
>
> struct sockaddr_in cmdSin;
>
>
> Thanks,
> Todd
>
Previous Topic:Is there a way to increase the size of array in instance_params at config time using cfg file
Next Topic:Problems with CortexA9 target (gnu.targets.arm.GCArmv7A)
Goto Forum:
  


Current Time: Sat Sep 20 04:05:43 GMT 2014

Powered by FUDForum. Page generated in 0.01940 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software