Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Marco Trevisan
xserver
Commits
ef8977a3
Commit
ef8977a3
authored
Sep 11, 2003
by
Keith Packard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More build fixes
parent
14a8311b
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
34 additions
and
36 deletions
+34
-36
hw/kdrive/Makefile.am
hw/kdrive/Makefile.am
+0
-16
hw/kdrive/linux/agp.c
hw/kdrive/linux/agp.c
+1
-4
hw/kdrive/linux/agp.h
hw/kdrive/linux/agp.h
+4
-3
hw/kdrive/linux/bus.c
hw/kdrive/linux/bus.c
+1
-1
hw/kdrive/linux/linux.c
hw/kdrive/linux/linux.c
+1
-1
hw/kdrive/linux/mouse.c
hw/kdrive/linux/mouse.c
+3
-3
hw/kdrive/linux/ms.c
hw/kdrive/linux/ms.c
+3
-3
hw/kdrive/linux/ps2.c
hw/kdrive/linux/ps2.c
+1
-1
hw/kdrive/linux/ts.c
hw/kdrive/linux/ts.c
+1
-1
hw/kdrive/linux/tslib.c
hw/kdrive/linux/tslib.c
+1
-1
hw/kdrive/vesa/Makefile.am
hw/kdrive/vesa/Makefile.am
+18
-2
No files found.
hw/kdrive/Makefile.am
View file @
ef8977a3
...
...
@@ -30,19 +30,3 @@ libkdrive_la_SOURCES = \
ktest.c
\
kxv.c
\
vga.c
bin_PROGRAMS
=
Xvesa
Xvesa_SOURCES
=
# Intentionally left blank
Xvesa_LDADD
=
\
$(top_builddir)
/dix/libdix.la
\
$(top_builddir)
/hw/kdrive/libkdrive.la
\
$(top_builddir)
/hw/kdrive/linux/liblinux.la
\
$(top_builddir)
/hw/kdrive/vesa/libvesa.la
\
$(top_builddir)
/fb/libfb.la
\
$(top_builddir)
/mi/libmi.la
\
$(top_builddir)
/render/librender.la
\
$(top_builddir)
/randr/librandr.la
\
$(top_builddir)
/os/libos.la
\
$(X_LIBS)
-lXfont
-lm
-lz
hw/kdrive/linux/agp.c
View file @
ef8977a3
...
...
@@ -43,9 +43,6 @@ of the copyright holder.
#include <X11/X.h>
#include "Xdefs.h"
#include "Xmd.h"
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
...
...
@@ -62,7 +59,7 @@ of the copyright holder.
#if defined(linux)
#include <asm/ioctl.h>
#include
"../../xfree86/os-support/
linux/agpgart.h
"
#include
<
linux/agpgart.h
>
#elif defined(__FreeBSD__)
#include <sys/ioctl.h>
...
...
hw/kdrive/linux/agp.h
View file @
ef8977a3
...
...
@@ -40,7 +40,8 @@ X Window System is a trademark of The Open Group */
#ifndef _AGP_H_
#define _AGP_H_
#include "Xdefs.h"
#include <X11/Xdefs.h>
#include <X11/Xmd.h>
/* These two definitions must be consistent with the kernel's,
but using 1 or 2 in driver code is even uglier */
...
...
@@ -48,8 +49,8 @@ X Window System is a trademark of The Open Group */
#define AGP_PHYS_MEMORY 2
typedef
struct
_AgpInfo
{
CARD32
bridgeId
;
CARD32
agpMode
;
unsigned
long
bridgeId
;
unsigned
long
agpMode
;
unsigned
long
base
;
unsigned
long
size
;
unsigned
long
totalPages
;
...
...
hw/kdrive/linux/bus.c
View file @
ef8977a3
...
...
@@ -25,10 +25,10 @@
#define NEED_EVENTS
#include <X11/X.h>
#include <X11/Xproto.h>
#include <X11/Xpoll.h>
#include "inputstr.h"
#include "scrnintstr.h"
#include "kdrive.h"
#include "Xpoll.h"
/* /dev/adbmouse is a busmouse */
...
...
hw/kdrive/linux/linux.c
View file @
ef8977a3
...
...
@@ -29,7 +29,7 @@
#include <linux/kd.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <keysym.h>
#include <
X11/
keysym.h>
#include <linux/apm_bios.h>
static
int
vtno
;
...
...
hw/kdrive/linux/mouse.c
View file @
ef8977a3
...
...
@@ -23,14 +23,14 @@
*/
#define NEED_EVENTS
#include <errno.h>
#include <termios.h>
#include <X11/X.h>
#include <X11/Xproto.h>
#include <X11/Xpoll.h>
#include "inputstr.h"
#include "scrnintstr.h"
#include "kdrive.h"
#include "Xpoll.h"
#include <errno.h>
#include <termios.h>
#undef DEBUG
#undef DEBUG_BYTES
...
...
hw/kdrive/linux/ms.c
View file @
ef8977a3
...
...
@@ -23,14 +23,14 @@ THE SOFTWARE.
/* $RCSId: xc/programs/Xserver/hw/kdrive/linux/ms.c,v 1.1 2001/08/09 20:45:15 dawes Exp $ */
#define NEED_EVENTS
#include <errno.h>
#include <termios.h>
#include <X11/X.h>
#include <X11/Xproto.h>
#include <X11/Xpoll.h>
#include "inputstr.h"
#include "scrnintstr.h"
#include "kdrive.h"
#include "Xpoll.h"
#include <errno.h>
#include <termios.h>
int
MsReadBytes
(
int
fd
,
char
*
buf
,
int
len
,
int
min
)
...
...
hw/kdrive/linux/ps2.c
View file @
ef8977a3
...
...
@@ -25,10 +25,10 @@
#define NEED_EVENTS
#include <X11/X.h>
#include <X11/Xproto.h>
#include <X11/Xpoll.h>
#include "inputstr.h"
#include "scrnintstr.h"
#include "kdrive.h"
#include "Xpoll.h"
int
Ps2ReadBytes
(
int
fd
,
char
*
buf
,
int
len
,
int
min
)
...
...
hw/kdrive/linux/ts.c
View file @
ef8977a3
...
...
@@ -28,10 +28,10 @@
#define NEED_EVENTS
#include <X11/X.h>
#include <X11/Xproto.h>
#include <X11/Xpoll.h>
#include "inputstr.h"
#include "scrnintstr.h"
#include "kdrive.h"
#include "Xpoll.h"
#include <sys/ioctl.h>
#if 1
#include <linux/h3600_ts.h>
/* touch screen events */
...
...
hw/kdrive/linux/tslib.c
View file @
ef8977a3
...
...
@@ -49,10 +49,10 @@
#define NEED_EVENTS
#include <X11/X.h>
#include <X11/Xproto.h>
#include <X11/Xpoll.h>
#include "inputstr.h"
#include "scrnintstr.h"
#include "kdrive.h"
#include "Xpoll.h"
#include <sys/ioctl.h>
#include <tslib.h>
...
...
hw/kdrive/vesa/Makefile.am
View file @
ef8977a3
...
...
@@ -9,11 +9,27 @@ INCLUDES = \
-I
$(top_srcdir)
/render
noinst_LTLIBRARIE
S
=
lib
vesa
.la
bin_PROGRAM
S
=
X
vesa
libvesa_l
a_SOURCES
=
\
Xves
a_SOURCES
=
\
vesa.c
\
vesainit.c
\
vbe.c
\
vga.c
\
vm86.c
Xvesa_LDADD
=
\
$(top_builddir)
/dix/libdix.la
\
$(top_builddir)
/hw/kdrive/libkdrive.la
\
$(top_builddir)
/hw/kdrive/linux/liblinux.la
\
$(top_builddir)
/fb/libfb.la
\
$(top_builddir)
/mi/libmi.la
\
$(top_builddir)
/Xext
$(top_builddir)/miext/layer/liblayer.la
\
$(top_builddir)/miext/shadow/libshadow.la
\
$(top_builddir)/render/librender.la
\
$(top_builddir)/randr/librandr.la
\
$(top_builddir)/os/libos.la
\
$(top_builddir)/xtrans/libxtrans.la
\
$(X_LIBS)
-lXfont
-lXau
-lXdmcp
\
-lm
-lz
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment