Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Nov 2004 22:21:01 GMT
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 64377 for review
Message-ID:  <200411052221.iA5ML1Cl038524@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

http://perforce.freebsd.org/chv.cgi?CH=64377

Change 64377 by peter@peter_daintree on 2004/11/05 22:20:48

	begin the invasion of i386-land for real.

Affected files ...

.. //depot/projects/hammer/sys/i386/include/sysarch.h#6 edit

Differences ...

==== //depot/projects/hammer/sys/i386/include/sysarch.h#6 (text+ko) ====

@@ -44,6 +44,12 @@
 				/* xxxxx */
 #define I386_VM86	6
 
+/* These four only exist when running an i386 binary on amd64 */
+#define	_AMD64_GET_FSBASE	128
+#define	_AMD64_SET_FSBASE	129
+#define	_AMD64_GET_GSBASE	130
+#define	_AMD64_SET_GSBASE	131
+
 struct i386_ldt_args {
 	unsigned int start;
 	union	descriptor *descs;
@@ -68,6 +74,11 @@
 struct dbreg;
 
 __BEGIN_DECLS
+/* These four only exist when running an i386 binary on amd64 */
+int _amd64_get_fsbase(void **);
+int _amd64_get_gsbase(void **);
+int _amd64_set_fsbase(void *);
+int _amd64_set_gsbase(void *);
 int i386_get_ldt(int, union descriptor *, int);
 int i386_set_ldt(int, union descriptor *, int);
 int i386_get_ioperm(unsigned int, unsigned int *, int *);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411052221.iA5ML1Cl038524>