segments.h (211924) | 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/amd64/include/segments.h 211924 2010-08-28 08:03:29Z rpaulo $ | 34 * $FreeBSD: head/sys/amd64/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 * AMD64 Segmentation Data Structures and definitions 42 */ --- 166 unchanged lines hidden (view full) --- 209#define IDT_GP 13 /* #GP: General Protection Fault */ 210#define IDT_PF 14 /* #PF: Page Fault */ 211#define IDT_MF 16 /* #MF: FPU Floating-Point Error */ 212#define IDT_AC 17 /* #AC: Alignment Check */ 213#define IDT_MC 18 /* #MC: Machine Check */ 214#define IDT_XF 19 /* #XF: SIMD Floating-Point Exception */ 215#define IDT_IO_INTS NRSVIDT /* Base of IDT entries for I/O interrupts. */ 216#define IDT_SYSCALL 0x80 /* System Call Interrupt Vector */ | 35 */ 36 37#ifndef _MACHINE_SEGMENTS_H_ 38#define _MACHINE_SEGMENTS_H_ 39 40/* 41 * AMD64 Segmentation Data Structures and definitions 42 */ --- 166 unchanged lines hidden (view full) --- 209#define IDT_GP 13 /* #GP: General Protection Fault */ 210#define IDT_PF 14 /* #PF: Page Fault */ 211#define IDT_MF 16 /* #MF: FPU Floating-Point Error */ 212#define IDT_AC 17 /* #AC: Alignment Check */ 213#define IDT_MC 18 /* #MC: Machine Check */ 214#define IDT_XF 19 /* #XF: SIMD Floating-Point Exception */ 215#define IDT_IO_INTS NRSVIDT /* Base of IDT entries for I/O interrupts. */ 216#define IDT_SYSCALL 0x80 /* System Call Interrupt Vector */ |
217#define IDT_DTRACE_RET 0x92 /* DTrace pid provider Interrupt Vector */ | 217#define IDT_DTRACE_RET 0x20 /* DTrace pid provider Interrupt Vector */ |
218 219/* 220 * Entries in the Global Descriptor Table (GDT) 221 */ 222#define GNULL_SEL 0 /* Null Descriptor */ 223#define GNULL2_SEL 1 /* Null Descriptor */ 224#define GUFS32_SEL 2 /* User 32 bit %fs Descriptor */ 225#define GUGS32_SEL 3 /* User 32 bit %gs Descriptor */ --- 30 unchanged lines hidden --- | 218 219/* 220 * Entries in the Global Descriptor Table (GDT) 221 */ 222#define GNULL_SEL 0 /* Null Descriptor */ 223#define GNULL2_SEL 1 /* Null Descriptor */ 224#define GUFS32_SEL 2 /* User 32 bit %fs Descriptor */ 225#define GUGS32_SEL 3 /* User 32 bit %gs Descriptor */ --- 30 unchanged lines hidden --- |