xfree86: os-support: move xf86OSInitVidMem() to xf86_os_support.h
This function isn't exported at all, so it better fits into xf86_os_support.h, whose purpose is being the primary entry point into os-support layer. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1456>
This commit is contained in:
parent
a5cfe020f5
commit
533c45e595
|
@ -39,8 +39,8 @@
|
|||
#include <sys/sysctl.h>
|
||||
#endif
|
||||
|
||||
#include "xf86_os_support.h"
|
||||
#include "xf86_OSlib.h"
|
||||
#include "xf86OSpriv.h"
|
||||
|
||||
#if defined(__NetBSD__) && !defined(MAP_FILE)
|
||||
#define MAP_FLAGS MAP_SHARED
|
||||
|
|
|
@ -65,9 +65,9 @@
|
|||
#include <X11/X.h>
|
||||
|
||||
#include "xf86.h"
|
||||
#include "xf86_os_support."
|
||||
#include "xf86Priv.h"
|
||||
#include "xf86_OSlib.h"
|
||||
#include "xf86OSpriv.h"
|
||||
#include "compiler.h"
|
||||
|
||||
#if defined(__NetBSD__) && !defined(MAP_FILE)
|
||||
|
|
|
@ -4,14 +4,15 @@
|
|||
#endif
|
||||
|
||||
#include <X11/X.h>
|
||||
|
||||
#include "input.h"
|
||||
#include "scrnintstr.h"
|
||||
#include "compiler.h"
|
||||
|
||||
#include "xf86.h"
|
||||
#include "xf86_os_support.h"
|
||||
#include "xf86Priv.h"
|
||||
#include "xf86_OSlib.h"
|
||||
#include "xf86OSpriv.h"
|
||||
|
||||
#include <machine/bwx.h>
|
||||
|
||||
|
|
|
@ -32,9 +32,9 @@
|
|||
#include <X11/X.h>
|
||||
|
||||
#include "xf86.h"
|
||||
#include "xf86_os_support.h"
|
||||
#include "xf86Priv.h"
|
||||
#include "xf86_OSlib.h"
|
||||
#include "xf86OSpriv.h"
|
||||
|
||||
#if defined(__NetBSD__) && !defined(MAP_FILE)
|
||||
#define MAP_FLAGS MAP_SHARED
|
||||
|
|
|
@ -32,9 +32,8 @@
|
|||
|
||||
#include "xf86.h"
|
||||
#include "xf86Priv.h"
|
||||
|
||||
#include "xf86_os_support.h"
|
||||
#include "xf86_OSlib.h"
|
||||
#include "xf86OSpriv.h"
|
||||
|
||||
#include "bus/Pci.h"
|
||||
|
||||
|
|
|
@ -28,11 +28,11 @@
|
|||
#endif
|
||||
|
||||
#include <X11/X.h>
|
||||
|
||||
#include "xf86.h"
|
||||
#include "xf86Priv.h"
|
||||
|
||||
#include "xf86_os_support.h"
|
||||
#include "xf86_OSlib.h"
|
||||
#include "xf86OSpriv.h"
|
||||
|
||||
/***************************************************************************/
|
||||
/* Video Memory Mapping section */
|
||||
|
|
|
@ -37,8 +37,8 @@
|
|||
|
||||
#include "xf86.h"
|
||||
#include "xf86Priv.h"
|
||||
#include "xf86_os_support.h"
|
||||
#include "xf86_OSlib.h"
|
||||
#include "xf86OSpriv.h"
|
||||
|
||||
/**************************************************************************
|
||||
* Video Memory Mapping section
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
#include "xf86Priv.h"
|
||||
#include "xf86_os_support.h"
|
||||
#include "xf86_OSlib.h"
|
||||
#include "xf86OSpriv.h"
|
||||
|
||||
#if defined(__linux__)
|
||||
#include <asm/ioctl.h>
|
||||
|
|
|
@ -36,9 +36,9 @@
|
|||
#include "scrnintstr.h"
|
||||
|
||||
#include "xf86.h"
|
||||
#include "xf86_os_support.h"
|
||||
#include "xf86Priv.h"
|
||||
#include "xf86_OSlib.h"
|
||||
#include "xf86OSpriv.h"
|
||||
|
||||
static Bool ExtendedEnabled = FALSE;
|
||||
|
||||
|
|
|
@ -35,11 +35,12 @@
|
|||
#endif
|
||||
|
||||
#include <X11/X.h>
|
||||
|
||||
#include "xf86.h"
|
||||
#include "xf86Priv.h"
|
||||
#include "xf86_os_support.h"
|
||||
#include "xf86_OSlib.h"
|
||||
#include "xf86OSpriv.h"
|
||||
#include "xf86_os_support.h"
|
||||
|
||||
Bool
|
||||
xf86GARTCloseScreen(int screenNum)
|
||||
|
|
|
@ -37,7 +37,6 @@
|
|||
#include "xf86Priv.h"
|
||||
#include "xf86_os_support.h"
|
||||
#include "xf86_OSlib.h"
|
||||
#include "xf86OSpriv.h"
|
||||
|
||||
/*
|
||||
* This file contains the common part of the video memory mapping functions
|
||||
|
|
|
@ -56,12 +56,12 @@
|
|||
#include <sys/psw.h>
|
||||
#endif /* defined(__i386__) || defined(__i386) || defined(__x86) */
|
||||
|
||||
#include <sys/mman.h>
|
||||
|
||||
#include "xf86.h"
|
||||
#include "xf86Priv.h"
|
||||
#include "xf86_os_support.h"
|
||||
#include "xf86_OSlib.h"
|
||||
#include "xf86OSpriv.h"
|
||||
#include <sys/mman.h>
|
||||
|
||||
/***************************************************************************/
|
||||
/* Video Memory Mapping section */
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
#include <xorg-config.h>
|
||||
#endif
|
||||
|
||||
#include "xf86_os_support.h"
|
||||
#include "xf86_OSlib.h"
|
||||
#include "xf86OSpriv.h"
|
||||
|
||||
void
|
||||
xf86OSInitVidMem(VidMemInfoPtr pVidMem)
|
||||
|
|
|
@ -36,6 +36,4 @@ typedef struct {
|
|||
Bool initialised;
|
||||
} VidMemInfo, *VidMemInfoPtr;
|
||||
|
||||
void xf86OSInitVidMem(VidMemInfoPtr);
|
||||
|
||||
#endif /* _XF86OSPRIV_H */
|
||||
|
|
|
@ -10,6 +10,8 @@
|
|||
|
||||
#include <X11/Xdefs.h>
|
||||
|
||||
#include "xf86OSpriv.h"
|
||||
|
||||
typedef void (*PMClose) (void);
|
||||
|
||||
void xf86OpenConsole(void);
|
||||
|
@ -29,4 +31,6 @@ void xf86OSInputThreadInit(void);
|
|||
Bool xf86DeallocateGARTMemory(int screenNum, int key);
|
||||
int xf86RemoveSIGIOHandler(int fd);
|
||||
|
||||
void xf86OSInitVidMem(VidMemInfoPtr);
|
||||
|
||||
#endif /* _XSERVER_XF86_OS_SUPPORT */
|
||||
|
|
Loading…
Reference in New Issue