From: David S. M. <da...@re...> - 2001-06-06 22:02:37
|
Brian Paul writes: > David, one comment: I see that glapi.c now has a dependency on > the SPARC/sparc.h header file. One of my goals for the gl*.[ch] > dispatch files is that they're a self-contained group and have > no dependencies on any other Mesa source files since they're > also used by libGL (which has no dependencies on Mesa). > > Is is possible to remove this dependency? I have to flush the instruction cache of the processor when I relocate the data references in the instructions of the glapi sparc table. There is no standard library call to do this. I could use GCC inline assembly when that is the compiler being used, but then this would still need a solution when a compiler other than GCC is used. Later, David S. Miller da...@re... |