summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/segments.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-09-27 13:33:49 +0000
committerpeter <peter@FreeBSD.org>1996-09-27 13:33:49 +0000
commit9a03ada005a1eb7f3f3b714946b21a5e95488bd6 (patch)
tree15abbe44ca8597560d5cb0fc226a8c6362dc6aad /sys/amd64/include/segments.h
parent98dc36f7165b3ddbca44bcd34e0e342105e336c4 (diff)
downloadFreeBSD-src-9a03ada005a1eb7f3f3b714946b21a5e95488bd6.zip
FreeBSD-src-9a03ada005a1eb7f3f3b714946b21a5e95488bd6.tar.gz
Apparently, BSDI have a new system call gate. I was experimenting
with this quite a while ago when somebody reported a BSD/OS 2.1 binary that wouldn't run. I'm pretty sure they tried it and I'm pretty sure they mentioned to me that the patch worked.
Diffstat (limited to 'sys/amd64/include/segments.h')
-rw-r--r--sys/amd64/include/segments.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/amd64/include/segments.h b/sys/amd64/include/segments.h
index 5fadb98..69bdc77 100644
--- a/sys/amd64/include/segments.h
+++ b/sys/amd64/include/segments.h
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)segments.h 7.1 (Berkeley) 5/9/91
- * $Id: segments.h,v 1.9 1995/05/30 08:00:50 rgrimes Exp $
+ * $Id: segments.h,v 1.10 1996/01/30 22:54:59 mpp Exp $
*/
#ifndef _MACHINE_SEGMENTS_H_
@@ -228,7 +228,8 @@ struct region_descriptor {
#define LUDATA_SEL 4
/* separate stack, es,fs,gs sels ? */
/* #define LPOSIXCALLS_SEL 5*/ /* notyet */
-#define NLDT (LUDATA_SEL + 1)
+#define LBSDICALLS_SEL 16 /* BSDI system call gate */
+#define NLDT (LBSDICALLS_SEL + 1)
#ifdef KERNEL
extern int currentldt;
OpenPOWER on IntegriCloud