Deleted Added
full compact
segments.h (1051) segments.h (3258)
1/*-
2 * Copyright (c) 1989, 1990 William F. Jolitz
3 * Copyright (c) 1990 The Regents of the University of California.
4 * All rights reserved.
5 *
6 * This code is derived from software contributed to Berkeley by
7 * William Jolitz.
8 *

--- 21 unchanged lines hidden (view full) ---

30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35 * SUCH DAMAGE.
36 *
37 * from: @(#)segments.h 7.1 (Berkeley) 5/9/91
1/*-
2 * Copyright (c) 1989, 1990 William F. Jolitz
3 * Copyright (c) 1990 The Regents of the University of California.
4 * All rights reserved.
5 *
6 * This code is derived from software contributed to Berkeley by
7 * William Jolitz.
8 *

--- 21 unchanged lines hidden (view full) ---

30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35 * SUCH DAMAGE.
36 *
37 * from: @(#)segments.h 7.1 (Berkeley) 5/9/91
38 * $Id: segments.h,v 1.3 1993/11/07 17:43:08 wollman Exp $
38 * $Id: segments.h,v 1.4 1994/01/31 10:27:13 davidg Exp $
39 */
40
41#ifndef _MACHINE_SEGMENTS_H_
42#define _MACHINE_SEGMENTS_H_ 1
43
44/*
45 * 386 Segmentation Data Structures and definitions
46 * William F. Jolitz (william@ernie.berkeley.edu) 6/20/1989

--- 159 unchanged lines hidden (view full) ---

206#define GNULL_SEL 0 /* Null Descriptor */
207#define GCODE_SEL 1 /* Kernel Code Descriptor */
208#define GDATA_SEL 2 /* Kernel Data Descriptor */
209#define GLDT_SEL 3 /* LDT - eventually one per process */
210#define GTGATE_SEL 4 /* Process task switch gate */
211#define GPANIC_SEL 5 /* Task state to consider panic from */
212#define GPROC0_SEL 6 /* Task state process slot zero and up */
213#define GUSERLDT_SEL 7 /* User LDT */
39 */
40
41#ifndef _MACHINE_SEGMENTS_H_
42#define _MACHINE_SEGMENTS_H_ 1
43
44/*
45 * 386 Segmentation Data Structures and definitions
46 * William F. Jolitz (william@ernie.berkeley.edu) 6/20/1989

--- 159 unchanged lines hidden (view full) ---

206#define GNULL_SEL 0 /* Null Descriptor */
207#define GCODE_SEL 1 /* Kernel Code Descriptor */
208#define GDATA_SEL 2 /* Kernel Data Descriptor */
209#define GLDT_SEL 3 /* LDT - eventually one per process */
210#define GTGATE_SEL 4 /* Process task switch gate */
211#define GPANIC_SEL 5 /* Task state to consider panic from */
212#define GPROC0_SEL 6 /* Task state process slot zero and up */
213#define GUSERLDT_SEL 7 /* User LDT */
214#define NGDT GUSERLDT_SEL+1
214#define GAPMCODE32_SEL 8 /* APM BIOS 32-bit interface (32bit Code) */
215#define GAPMCODE16_SEL 9 /* APM BIOS 32-bit interface (16bit Code) */
216#define GAPMDATA_SEL 10 /* APM BIOS 32-bit interface (Data) */
215
217
218#define NGDT (GAPMDATA_SEL+1)
219
216/*
217 * Entries in the Local Descriptor Table (LDT)
218 */
219#define LSYS5CALLS_SEL 0 /* forced by intel BCS */
220#define LSYS5SIGR_SEL 1
221#define L43BSDCALLS_SEL 2 /* notyet */
222#define LUCODE_SEL 3
223#define LUDATA_SEL 4

--- 12 unchanged lines hidden ---
220/*
221 * Entries in the Local Descriptor Table (LDT)
222 */
223#define LSYS5CALLS_SEL 0 /* forced by intel BCS */
224#define LSYS5SIGR_SEL 1
225#define L43BSDCALLS_SEL 2 /* notyet */
226#define LUCODE_SEL 3
227#define LUDATA_SEL 4

--- 12 unchanged lines hidden ---