Deleted Added
full compact
genassym.c (185991) genassym.c (189903)
1/*-
2 * Copyright (c) 1982, 1990 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * William Jolitz.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * from: @(#)genassym.c 5.11 (Berkeley) 5/10/91
33 */
34
35#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1982, 1990 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * William Jolitz.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * from: @(#)genassym.c 5.11 (Berkeley) 5/10/91
33 */
34
35#include <sys/cdefs.h>
36__FBSDID("$FreeBSD: head/sys/amd64/amd64/genassym.c 185991 2008-12-12 16:09:34Z jkoshy $");
36__FBSDID("$FreeBSD: head/sys/amd64/amd64/genassym.c 189903 2009-03-17 00:48:11Z jkim $");
37
38#include "opt_compat.h"
39#include "opt_hwpmc_hooks.h"
40#include "opt_kstack_pages.h"
41
42#include <sys/param.h>
43#include <sys/systm.h>
44#include <sys/assym.h>

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

150ASSYM(PCB_FLAGS, offsetof(struct pcb, pcb_flags));
151ASSYM(PCB_SAVEFPU, offsetof(struct pcb, pcb_save));
152ASSYM(PCB_SAVEFPU_SIZE, sizeof(struct savefpu));
153ASSYM(PCB_ONFAULT, offsetof(struct pcb, pcb_onfault));
154ASSYM(PCB_GS32SD, offsetof(struct pcb, pcb_gs32sd));
155
156ASSYM(PCB_SIZE, sizeof(struct pcb));
157
37
38#include "opt_compat.h"
39#include "opt_hwpmc_hooks.h"
40#include "opt_kstack_pages.h"
41
42#include <sys/param.h>
43#include <sys/systm.h>
44#include <sys/assym.h>

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

150ASSYM(PCB_FLAGS, offsetof(struct pcb, pcb_flags));
151ASSYM(PCB_SAVEFPU, offsetof(struct pcb, pcb_save));
152ASSYM(PCB_SAVEFPU_SIZE, sizeof(struct savefpu));
153ASSYM(PCB_ONFAULT, offsetof(struct pcb, pcb_onfault));
154ASSYM(PCB_GS32SD, offsetof(struct pcb, pcb_gs32sd));
155
156ASSYM(PCB_SIZE, sizeof(struct pcb));
157
158ASSYM(XPCB_PCB, offsetof(struct xpcb, xpcb_pcb));
159ASSYM(XPCB_CR0, offsetof(struct xpcb, xpcb_cr0));
160ASSYM(XPCB_CR2, offsetof(struct xpcb, xpcb_cr2));
161ASSYM(XPCB_CR4, offsetof(struct xpcb, xpcb_cr4));
162ASSYM(XPCB_KGSBASE, offsetof(struct xpcb, xpcb_kgsbase));
163ASSYM(XPCB_SS, offsetof(struct xpcb, xpcb_ss));
164ASSYM(XPCB_GDT, offsetof(struct xpcb, xpcb_gdt));
165ASSYM(XPCB_IDT, offsetof(struct xpcb, xpcb_idt));
166ASSYM(XPCB_LDT, offsetof(struct xpcb, xpcb_ldt));
167ASSYM(XPCB_TR, offsetof(struct xpcb, xpcb_tr));
168
169ASSYM(XPCB_SIZE, sizeof(struct xpcb));
170
158ASSYM(COMMON_TSS_RSP0, offsetof(struct amd64tss, tss_rsp0));
159
160ASSYM(TF_R15, offsetof(struct trapframe, tf_r15));
161ASSYM(TF_R14, offsetof(struct trapframe, tf_r14));
162ASSYM(TF_R13, offsetof(struct trapframe, tf_r13));
163ASSYM(TF_R12, offsetof(struct trapframe, tf_r12));
164ASSYM(TF_R11, offsetof(struct trapframe, tf_r11));
165ASSYM(TF_R10, offsetof(struct trapframe, tf_r10));

--- 61 unchanged lines hidden ---
171ASSYM(COMMON_TSS_RSP0, offsetof(struct amd64tss, tss_rsp0));
172
173ASSYM(TF_R15, offsetof(struct trapframe, tf_r15));
174ASSYM(TF_R14, offsetof(struct trapframe, tf_r14));
175ASSYM(TF_R13, offsetof(struct trapframe, tf_r13));
176ASSYM(TF_R12, offsetof(struct trapframe, tf_r12));
177ASSYM(TF_R11, offsetof(struct trapframe, tf_r11));
178ASSYM(TF_R10, offsetof(struct trapframe, tf_r10));

--- 61 unchanged lines hidden ---