Deleted Added
full compact
segments.h (216847) segments.h (227290)
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 *

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * 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 *

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * from: @(#)segments.h 7.1 (Berkeley) 5/9/91
34 * $FreeBSD: head/sys/i386/include/segments.h 216847 2010-12-31 17:42:25Z cperciva $
34 * $FreeBSD: head/sys/i386/include/segments.h 227290 2011-11-07 01:53:25Z rstone $
35 */
36
37#ifndef _MACHINE_SEGMENTS_H_
38#define _MACHINE_SEGMENTS_H_
39
40/*
41 * 386 Segmentation Data Structures and definitions
42 * William F. Jolitz (william@ernie.berkeley.edu) 6/20/1989

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

202#define IDT_GP 13 /* #GP: General Protection Fault */
203#define IDT_PF 14 /* #PF: Page Fault */
204#define IDT_MF 16 /* #MF: FPU Floating-Point Error */
205#define IDT_AC 17 /* #AC: Alignment Check */
206#define IDT_MC 18 /* #MC: Machine Check */
207#define IDT_XF 19 /* #XF: SIMD Floating-Point Exception */
208#define IDT_IO_INTS NRSVIDT /* Base of IDT entries for I/O interrupts. */
209#define IDT_SYSCALL 0x80 /* System Call Interrupt Vector */
35 */
36
37#ifndef _MACHINE_SEGMENTS_H_
38#define _MACHINE_SEGMENTS_H_
39
40/*
41 * 386 Segmentation Data Structures and definitions
42 * William F. Jolitz (william@ernie.berkeley.edu) 6/20/1989

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

202#define IDT_GP 13 /* #GP: General Protection Fault */
203#define IDT_PF 14 /* #PF: Page Fault */
204#define IDT_MF 16 /* #MF: FPU Floating-Point Error */
205#define IDT_AC 17 /* #AC: Alignment Check */
206#define IDT_MC 18 /* #MC: Machine Check */
207#define IDT_XF 19 /* #XF: SIMD Floating-Point Exception */
208#define IDT_IO_INTS NRSVIDT /* Base of IDT entries for I/O interrupts. */
209#define IDT_SYSCALL 0x80 /* System Call Interrupt Vector */
210#define IDT_DTRACE_RET 0x92 /* DTrace pid provider Interrupt Vector */
210#define IDT_DTRACE_RET 0x20 /* DTrace pid provider Interrupt Vector */
211
212/*
213 * Entries in the Global Descriptor Table (GDT)
214 * Note that each 4 entries share a single 32 byte L1 cache line.
215 * Some of the fast syscall instructions require a specific order here.
216 */
217#define GNULL_SEL 0 /* Null Descriptor */
218#define GPRIV_SEL 1 /* SMP Per-Processor Private Data */

--- 60 unchanged lines hidden ---
211
212/*
213 * Entries in the Global Descriptor Table (GDT)
214 * Note that each 4 entries share a single 32 byte L1 cache line.
215 * Some of the fast syscall instructions require a specific order here.
216 */
217#define GNULL_SEL 0 /* Null Descriptor */
218#define GPRIV_SEL 1 /* SMP Per-Processor Private Data */

--- 60 unchanged lines hidden ---