Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Apr 2003 18:06:27 -0800 (PST)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 28124 for review
Message-ID:  <200304050206.h3526RFc092852@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=28124

Change 28124 by peter@peter_daintree on 2003/04/04 18:05:50

	no ldt.  on hammer, %fs and %gs are basically 64 bit address
	base registers. (gee, wouldn't that be nice on x86?)

Affected files ...

.. //depot/projects/hammer/sys/x86_64/include/proc.h#6 edit
.. //depot/projects/hammer/sys/x86_64/include/sysarch.h#5 edit

Differences ...

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

@@ -49,12 +49,4 @@
 struct mdproc {
 };
 
-#ifdef	_KERNEL
-
-void 	set_user_ldt(struct mdproc *);
-struct 	proc_ldt *user_ldt_alloc(struct mdproc *, int);
-void 	user_ldt_free(struct thread *);
-
-#endif	/* _KERNEL */
-
 #endif /* !_MACHINE_PROC_H_ */

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

@@ -39,41 +39,4 @@
 #ifndef _MACHINE_SYSARCH_H_
 #define _MACHINE_SYSARCH_H_
 
-#if 0
-#define I386_GET_LDT	0
-#define I386_SET_LDT	1
-				/* I386_IOPL */
-#define I386_GET_IOPERM	3
-#define I386_SET_IOPERM	4
-				/* xxxxx */
-struct i386_ldt_args {
-	unsigned int start;
-	union	descriptor *descs;
-	unsigned int num;
-}; 
-
-struct i386_ioperm_args {
-	unsigned int start;
-	unsigned int length;
-	int	enable;
-};
-
-#ifndef _KERNEL
-#include <sys/cdefs.h>
-
-union descriptor;
-struct dbreg;
-
-__BEGIN_DECLS
-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 *);
-int i386_set_ioperm(unsigned int, unsigned int, int);
-int i386_set_watch(int, unsigned int, int, int, struct dbreg *);
-int i386_clr_watch(int, struct dbreg *);
-__END_DECLS
-#endif
-
-#endif
-
 #endif /* !_MACHINE_SYSARCH_H_ */



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