2009-12-15 23:16:29     Sending software interrupt from CoreB to CoreA on BF561

Document created by Aaronwu Employee on Aug 20, 2013
Version 1Show Document
  • View in full screen mode

2009-12-15 23:16:29     Sending software interrupt from CoreB to CoreA on BF561

Manu AS (INDIA)

Message: 83546   

 

Hi All,

 

I am working on BF561 based hardware with uClinux running on it.

 

In my project I need to generate a software interrupt from CoreB to CoreA.

 

If any body has the sample code for this, please post it. It will be very useful.

 

Thanks in Advance.

QuoteReplyEditDelete

 

 

2009-12-16 00:15:16     Re: Sending software interrupt from CoreB to CoreA on BF561

Sonic Zhang (CHINA)

Message: 83548   

 

Please refer to platform_send_ipi_cpu() in bf561 SMP kernel source.

QuoteReplyEditDelete

 

 

2009-12-16 00:51:02     Re: Sending software interrupt from CoreB to CoreA on BF561

Manu AS (INDIA)

Message: 83549   

 

I have to look at in the uClinux-dist?

 

I have searched for "platform_send_ipi_cpu" in the dist. But I am not finding it.

QuoteReplyEditDelete

 

 

2009-12-16 02:02:48     Re: Sending software interrupt from CoreB to CoreA on BF561

Sonic Zhang (CHINA)

Message: 83552   

 

in kernel

QuoteReplyEditDelete

 

 

2009-12-16 04:33:07     Re: Sending software interrupt from CoreB to CoreA on BF561

Wolfgang Muees (GERMANY)

Message: 83595   

 

If you want to do this in user space, look for signals and signal handlers.

 

Interrupts are kernel-only.

TranslateQuoteReplyEditDelete

 

 

2009-12-16 06:12:25     Re: Sending software interrupt from CoreB to CoreA on BF561

Mike Frysinger (UNITED STATES)

Message: 83600   

 

people who talk about executing code in CoreB arre talking about bare metal.  so it's going to be kernel only (although, you could use UIO on CoreA to do it largely in userspace).

Attachments

    Outcomes