16 lines
482 B
Text
16 lines
482 B
Text
$NetBSD: patch-af,v 1.3 2007/05/25 15:50:39 bsadewitz Exp $
|
|
|
|
--- hw/xfree86/os-support/bsd/i386_video.c.orig 2006-09-18 02:04:18.000000000 -0400
|
|
+++ hw/xfree86/os-support/bsd/i386_video.c
|
|
@@ -50,6 +50,11 @@
|
|
#include <machine/mtrr.h>
|
|
#include <machine/sysarch.h>
|
|
#include <sys/queue.h>
|
|
+#ifdef __x86_64__
|
|
+#define i386_set_mtrr x86_64_set_mtrr
|
|
+#define i386_get_mtrr x86_64_get_mtrr
|
|
+#define i386_iopl x86_64_iopl
|
|
+#endif
|
|
#endif
|
|
|
|
#if defined(__OpenBSD__) && defined(__amd64__)
|