smp support

bin.wang at qkmtech.com bin.wang at qkmtech.com
Fri Dec 29 07:00:46 UTC 2017


before i use the rtems , i just write the bare-metal code. 

now i want to use the rtems. but i do not know how to add the original bare-metal interrupt routine into the rtems program.

is it has conflict betweent the bare-metal code and the rtems code? 

I has no idea about how to use my old code into the rtems code . in my old code ,i has some interrupt routine which need nested. and has a background routine to process comunication .



bin.wang at qkmtech.com
 
From: Chris Johns
Date: 2017-12-29 14:21
To: bin.wang at qkmtech.com; Users
Subject: Re: smp support
On 29/12/17 12:16 pm, bin.wang at qkmtech.com wrote:
> thanks a lot . 
> 
> i have another question , if i use the smp, can i use the interrupt of  rtems?
> which i want to interrupt period of hard real time of 125us. 
> 
 
Yes you can.
 
> i do not know the difference of the bare-metal interrupt and the rtems interrupt
> . is  the rtems interrupt have  performance loss of the hard real-time?
 
The interrupt overhead will have the same overhead each time and its
deterministic behaviour will depend on the other interrupts in your system and
their priority. The performance will depend on what you need to do in the interrupt.
 
> 
> what the schedule method of smp use? is it can affect the interrupt performance?
> 
 
That depends on your application.
 
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20171229/491fbae5/attachment.html>


More information about the users mailing list