[Glibc-bsd-commits] r1429 - in trunk/glibc-2.3-head/sysdeps/kfreebsd/x86_64: . sys

Petr Salinger ps-guest at costa.debian.org
Mon Apr 10 08:54:16 UTC 2006


Author: ps-guest
Date: 2006-04-10 08:54:16 +0000 (Mon, 10 Apr 2006)
New Revision: 1429

Added:
   trunk/glibc-2.3-head/sysdeps/kfreebsd/x86_64/Makefile
   trunk/glibc-2.3-head/sysdeps/kfreebsd/x86_64/Versions
   trunk/glibc-2.3-head/sysdeps/kfreebsd/x86_64/iopl.c
   trunk/glibc-2.3-head/sysdeps/kfreebsd/x86_64/sys/
   trunk/glibc-2.3-head/sysdeps/kfreebsd/x86_64/sys/io.h
   trunk/glibc-2.3-head/sysdeps/kfreebsd/x86_64/sys/perm.h
Log:
[amd64] provide <sys/perm.h>, <sys/io.h>, iopl()
	ioperm() can be added later - roughly emulated by iopl(3)


Added: trunk/glibc-2.3-head/sysdeps/kfreebsd/x86_64/Makefile
===================================================================
--- trunk/glibc-2.3-head/sysdeps/kfreebsd/x86_64/Makefile	2006-04-10 08:48:28 UTC (rev 1428)
+++ trunk/glibc-2.3-head/sysdeps/kfreebsd/x86_64/Makefile	2006-04-10 08:54:16 UTC (rev 1429)
@@ -0,0 +1,7 @@
+32bit-predefine = __i386__
+64bit-predefine = __x86_64__
+
+ifeq ($(subdir),misc)
+sysdep_routines += iopl
+sysdep_headers += sys/perm.h sys/io.h
+endif

Added: trunk/glibc-2.3-head/sysdeps/kfreebsd/x86_64/Versions
===================================================================
--- trunk/glibc-2.3-head/sysdeps/kfreebsd/x86_64/Versions	2006-04-10 08:48:28 UTC (rev 1428)
+++ trunk/glibc-2.3-head/sysdeps/kfreebsd/x86_64/Versions	2006-04-10 08:54:16 UTC (rev 1429)
@@ -0,0 +1,5 @@
+libc {
+  GLIBC_2.3.4 {
+	iopl;
+  }
+}

Added: trunk/glibc-2.3-head/sysdeps/kfreebsd/x86_64/iopl.c
===================================================================
--- trunk/glibc-2.3-head/sysdeps/kfreebsd/x86_64/iopl.c	2006-04-10 08:48:28 UTC (rev 1428)
+++ trunk/glibc-2.3-head/sysdeps/kfreebsd/x86_64/iopl.c	2006-04-10 08:54:16 UTC (rev 1429)
@@ -0,0 +1 @@
+#include "../i386/iopl.c"

Copied: trunk/glibc-2.3-head/sysdeps/kfreebsd/x86_64/sys/io.h (from rev 1428, trunk/glibc-2.3-head/sysdeps/kfreebsd/i386/sys/io.h)

Copied: trunk/glibc-2.3-head/sysdeps/kfreebsd/x86_64/sys/perm.h (from rev 1428, trunk/glibc-2.3-head/sysdeps/kfreebsd/i386/sys/perm.h)




More information about the Glibc-bsd-commits mailing list