gdt.h revision 1.2
11.2Smycroft/* $NetBSD: gdt.h,v 1.2 1996/02/18 13:01:05 mycroft Exp $ */ 21.2Smycroft 31.2Smycroft/* 41.2Smycroft * Copyright (c) 1995 Charles M. Hannum. All rights reserved. 51.2Smycroft * Copyright (c) 1995 John T. Kohl. All rights reserved. 61.2Smycroft * 71.2Smycroft * Redistribution and use in source and binary forms, with or without 81.2Smycroft * modification, are permitted provided that the following conditions 91.2Smycroft * are met: 101.2Smycroft * 1. Redistributions of source code must retain the above copyright 111.2Smycroft * notice, this list of conditions and the following disclaimer. 121.2Smycroft * 2. Redistributions in binary form must reproduce the above copyright 131.2Smycroft * notice, this list of conditions and the following disclaimer in the 141.2Smycroft * documentation and/or other materials provided with the distribution. 151.2Smycroft * 3. The name of the author may not be used to endorse or promote products 161.2Smycroft * derived from this software without specific prior written permission. 171.2Smycroft * 181.2Smycroft * THIS SOFTWARE IS PROVIDED BY THE AUTHOR `AS IS'' AND ANY EXPRESS OR 191.2Smycroft * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 201.2Smycroft * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 211.2Smycroft * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, 221.2Smycroft * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 231.2Smycroft * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 241.2Smycroft * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 251.2Smycroft * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 261.2Smycroft * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 271.2Smycroft * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 281.2Smycroft * POSSIBILITY OF SUCH DAMAGE. 291.2Smycroft */ 301.2Smycroft 311.1Smycroftvoid tss_alloc __P((struct pcb *)); 321.1Smycroftvoid tss_free __P((struct pcb *)); 331.1Smycroftvoid ldt_alloc __P((struct pcb *, union descriptor *, size_t)); 341.1Smycroftvoid ldt_free __P((struct pcb *)); 35