[from the SDL maling list]
Jesse Barnes wrote:
I noticed that on my ia64 machine when SDL_Quit was called, the machine would hang in weird ways. It turned out to be caused by a machine check in the memset() call near the top of FB_VideoQuit. Generally memset shouldn't be used on I/O regions like the framebuffer or other I/O device memory (the Linux kernel has special routines for dealing with I/O memory), so I changed the #ifdef __powerpc__ to #if defined(__powerpc__) || defined(__ia64__) and SDL_Quit now works properly. The change should probably be made unconditional though since doing one byte at a time is the only way to be portable, afaik.
Do you think this could also fix the strange miniglx troubles I have (in RADEONScreenInit, it says "Quick hack to clear the front & back buffers." and does it with a memset()). I'm thinking about this file :
http://cvs.freedesktop.org/mesa/Mesa/src/mesa/drivers/dri/radeon/server/radeon_dri.c?rev=1.15&view=auto
Thanks, if this works, you made my day ! Stephane
------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel