From: Eric A. <an...@us...> - 2003-03-29 03:38:48
|
CVSROOT: /cvsroot/dri Module name: xc Repository: xc/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/ Changes by: anholt@sc8-pr-cvs1. 03/03/28 19:38:47 Log message: Add DRMFILE definitions and supply filp for BSD in the post-drm-filp-0-1-branch world. The filp is a void * cast from the current pid. This is a temporary solution which maintains the status quo until a proper solution is implemented. What is really needed is a unique pointer per open, hopefully with a device private area. This can be done in FreeBSD for all entry points except mmap, but is difficult (sys/dev/streams/streams.c is an example). I have partially completed code for this but have not had time to debug, so this is a temporary fix. Modified files: xc/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/: drmP.h drm_bufs.h drm_dma.h drm_drv.h drm_lock.h drm_os_freebsd.h drm_os_netbsd.h Revision Changes Path 1.15 +81 -4 xc/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/drmP.h 1.6 +9 -9 xc/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/drm_bufs.h 1.15 +3 -3 xc/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/drm_dma.h 1.13 +10 -8 xc/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/drm_drv.h 1.5 +4 -7 xc/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/drm_lock.h 1.17 +19 -79 xc/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/drm_os_freebsd.h 1.6 +15 -73 xc/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/drm_os_netbsd.h |