How do you call X# code?

Topics: X#
Aug 2, 2012 at 3:48 AM

I am using Cosmos Devkit 92560 and I want to call some X# code so I can create an ACPI shutdown method. However, after creating the X# code, I have no idea how to call it. Can anyone help me?

Coordinator
Aug 2, 2012 at 3:55 AM
On 8/1/2012 10:48 PM, CMDOS wrote:
> I am using Cosmos Devkit 92560 and I want to call some X# code so I can
> create an ACPI shutdown method. However, after creating the X# code, I
> have no idea how to call it. Can anyone help me?

Currently you need to create a plug which will call the X# code by
label. In the future this will be integrated more directly.
Aug 2, 2012 at 3:58 AM

OK, thanks for the quick reply! By the way, are there any good samples of X# implementation besides on the Cosmos Facebook page?

Coordinator
Aug 2, 2012 at 3:59 AM
On 8/1/2012 10:58 PM, cmdos wrote:
> OK, thanks for the quick reply! By the way, are there any good samples
> of X# implementation besides on the Cosmos Facebook page?

Look at the DebugStub project, its all X# and several hundred lines of it.
Aug 2, 2012 at 4:02 AM

OK I will thanks.