diff options
author | msmith <msmith@FreeBSD.org> | 1997-06-02 06:45:17 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 1997-06-02 06:45:17 +0000 |
commit | e23e7b05923b2ce8998adc9a9c1d99a668b0b304 (patch) | |
tree | 90891170e7449aeca4064530d60b59473d0189e3 /sys/alpha | |
parent | 7ae9e3190ab33787186a0cdb11914f80b6f7dce3 (diff) | |
download | FreeBSD-src-e23e7b05923b2ce8998adc9a9c1d99a668b0b304.zip FreeBSD-src-e23e7b05923b2ce8998adc9a9c1d99a668b0b304.tar.gz |
Grr. Remove not-ready LDT modification fluff that also crept in with
the last commit.
Diffstat (limited to 'sys/alpha')
-rw-r--r-- | sys/alpha/linux/linux.h | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/sys/alpha/linux/linux.h b/sys/alpha/linux/linux.h index 11ca2ad..2c02a1c 100644 --- a/sys/alpha/linux/linux.h +++ b/sys/alpha/linux/linux.h @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: linux.h,v 1.14 1997/02/22 09:38:19 peter Exp $ + * $Id: linux.h,v 1.15 1997/06/02 06:28:03 msmith Exp $ */ #ifndef _I386_LINUX_LINUX_H_ @@ -593,29 +593,4 @@ struct linux_ifreq #define LINUX_ASYNC_CALLOUT_NOHUP 0x0400 #define LINUX_ASYNC_FLAGS 0x0FFF -/* structure and defines for i386_modify_ldt */ - -/* Maximum number of LDT entries supported. */ -#define LDT_ENTRIES 8192 -/* The size of each LDT entry. */ -#define LDT_ENTRY_SIZE 8 - -struct modify_ldt_ldt_s { - unsigned int entry_number; - unsigned long base_addr; - unsigned int limit; - unsigned int seg_32bit:1; - unsigned int contents:2; - unsigned int read_exec_only:1; - unsigned int limit_in_pages:1; - unsigned int seg_not_present:1; -}; - -#define MODIFY_LDT_CONTENTS_DATA 0 -#define MODIFY_LDT_CONTENTS_STACK 1 -#define MODIFY_LDT_CONTENTS_CODE 2 - -#define LINUX_MODIFY_LDT_GET 0 -#define LINUX_MODIFY_LDT_SET 1 - #endif /* !_I386_LINUX_LINUX_H_ */ |