On Mon, Jul 31, 2000 at 10:36:43AM -0500, daniel sheltraw wrote:
> Hello RTAIers
> 
> It looks like rthal is defined in the modified irq.c. When I try to
> install a new SVAGlib I get a error that rthal is undefined which halts the 
> install. Why isn't rthal defined in a header file which
> one could then #include in an include file of any new software
> to be installed?
> 
> Daniel


You are running into a number of problems:

1. Your distribution uses symlinks from /usr/include/{linux|asm} to
   /usr/src/linux/include/{linux|asm}.  This is wrong.  Keep in mind
   that this has been wrong for about 5 years, but everyone *thinks*
   it is right because Red Hat does it.

2. SVGAlib assumes that kernel header files are acceptable for
   compiling a user-space program and/or library.  This is also
   wrong.  Notably, compiling SVGAlib against an SMP kernel will
   cause similar problems with undefined __global_cli and friends.

3. SVGAlib uses cli() in user-space.  This is borderline stupid
   on SVGAlib's part.  Unfortunately, due to the design of SVGAlib,
   this is required.  (Borderline stupid == can cause lockups.)

Anyway, what is wrong with using the SVGAlib binary that is
packaged with your distribution?  It will cause higher latency
for real-time interrupts (because of cli() in user-space), but
it works.

Also, there are options other than SVGAlib, including using GGI,
KGI, kernel framebuffer, or (my personal favorite) a stripped-down
X server.



dave...




-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to