summaryrefslogtreecommitdiff
path: root/usr/src/uts/intel/sys/vmparam.h
diff options
context:
space:
mode:
authorRoger A. Faulkner <Roger.Faulkner@Sun.COM>2008-10-14 16:34:39 -0700
committerRoger A. Faulkner <Roger.Faulkner@Sun.COM>2008-10-14 16:34:39 -0700
commita0de58d66161bc0edbe32c2a250d723f4daf2124 (patch)
tree39f1e729fa0e0b34b845dc47ab4a88ce1693f58f /usr/src/uts/intel/sys/vmparam.h
parent88b7b0f29b20b808b9e06071885b1d6a3ddb6328 (diff)
downloadillumos-joyent-a0de58d66161bc0edbe32c2a250d723f4daf2124.tar.gz
PSARC 2008/622 32-bit Address Restriction Software Capabilities Flag
6755162 ADDR32 software capability: restrict a 64-bit process to the lower 32 bits of the address space
Diffstat (limited to 'usr/src/uts/intel/sys/vmparam.h')
-rw-r--r--usr/src/uts/intel/sys/vmparam.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr/src/uts/intel/sys/vmparam.h b/usr/src/uts/intel/sys/vmparam.h
index fa421e8215..d85e59c459 100644
--- a/usr/src/uts/intel/sys/vmparam.h
+++ b/usr/src/uts/intel/sys/vmparam.h
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -19,8 +18,9 @@
*
* CDDL HEADER END
*/
+
/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -35,8 +35,6 @@
#ifndef _SYS_VMPARAM_H
#define _SYS_VMPARAM_H
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#if (defined(_KERNEL) || defined(_KMEMUSER)) && defined(_MACHDEP)
#include <sys/vm_machparam.h>
#endif
@@ -54,9 +52,11 @@ extern "C" {
#if defined(__amd64)
#define USRSTACK USERLIMIT
#define USRSTACK32 0x8048000
+#define USRSTACK64_32 USERLIMIT32
#elif defined(__i386)
#define USRSTACK 0x8048000
#define USRSTACK32 USRSTACK
+#define USRSTACK64_32 USRSTACK
#endif
/*