On Friday 27 February 2009 21:58:50 Jeff Epler wrote:
> On Fri, Feb 27, 2009 at 09:42:25PM +0100, Michael Buesch wrote:
> > Does emc use stuff like inline assembly or other special stuff
> > inside of the kernel?
> 
> A bit, but not much.  rtapi_bitops.h and rtapi_math_i386.h have inline
> asm, but I think the first just delegates to <asm/bitops.h> in
> kernelspace[1] and the second is only for i386 (shouldn't apply to
> x86_64)[2].  sim_common.h uses it for rdtsc, but that's not used on a
> system with actual realtime.
> 
> Jeff
> [1] #if (defined(__MODULE__) && !defined(SIM))
>     #include <asm/bitops.h>
> [2] #ifdef __i386__
>     #include "rtapi_math_i386.h"

Ok, I'm still on this and I want to get a bugreport to the gcc folks
and probably a workaround into emc2.

But it's pretty hard to find the place where it does actually crash.

The first thing I need to know is where in the code tree is the kernel
code that handles arc moves (G2/G3)?

-- 
Greetings, Michael.

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to