Deleted Added
full compact
genassym.c (335570) genassym.c (347568)
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: stable/11/sys/amd64/amd64/genassym.c 335570 2018-06-22 23:52:20Z kib $");
36__FBSDID("$FreeBSD: stable/11/sys/amd64/amd64/genassym.c 347568 2019-05-14 17:05:02Z kib $");
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>

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

226ASSYM(PC_PM_SAVE_CNT, offsetof(struct pcpu, pc_pm_save_cnt));
227ASSYM(PC_KCR3, offsetof(struct pcpu, pc_kcr3));
228ASSYM(PC_UCR3, offsetof(struct pcpu, pc_ucr3));
229ASSYM(PC_SAVED_UCR3, offsetof(struct pcpu, pc_saved_ucr3));
230ASSYM(PC_PTI_STACK, offsetof(struct pcpu, pc_pti_stack));
231ASSYM(PC_PTI_STACK_SZ, PC_PTI_STACK_SZ);
232ASSYM(PC_PTI_RSP0, offsetof(struct pcpu, pc_pti_rsp0));
233ASSYM(PC_IBPB_SET, offsetof(struct pcpu, pc_ibpb_set));
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>

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

226ASSYM(PC_PM_SAVE_CNT, offsetof(struct pcpu, pc_pm_save_cnt));
227ASSYM(PC_KCR3, offsetof(struct pcpu, pc_kcr3));
228ASSYM(PC_UCR3, offsetof(struct pcpu, pc_ucr3));
229ASSYM(PC_SAVED_UCR3, offsetof(struct pcpu, pc_saved_ucr3));
230ASSYM(PC_PTI_STACK, offsetof(struct pcpu, pc_pti_stack));
231ASSYM(PC_PTI_STACK_SZ, PC_PTI_STACK_SZ);
232ASSYM(PC_PTI_RSP0, offsetof(struct pcpu, pc_pti_rsp0));
233ASSYM(PC_IBPB_SET, offsetof(struct pcpu, pc_ibpb_set));
234ASSYM(PC_MDS_TMP, offsetof(struct pcpu, pc_mds_tmp));
235ASSYM(PC_MDS_BUF, offsetof(struct pcpu, pc_mds_buf));
236ASSYM(PC_MDS_BUF64, offsetof(struct pcpu, pc_mds_buf64));
234
235ASSYM(LA_EOI, LAPIC_EOI * LAPIC_MEM_MUL);
236ASSYM(LA_ISR, LAPIC_ISR0 * LAPIC_MEM_MUL);
237
238ASSYM(KCSEL, GSEL(GCODE_SEL, SEL_KPL));
239ASSYM(KDSEL, GSEL(GDATA_SEL, SEL_KPL));
240ASSYM(KUCSEL, GSEL(GUCODE_SEL, SEL_UPL));
241ASSYM(KUDSEL, GSEL(GUDATA_SEL, SEL_UPL));

--- 12 unchanged lines hidden ---
237
238ASSYM(LA_EOI, LAPIC_EOI * LAPIC_MEM_MUL);
239ASSYM(LA_ISR, LAPIC_ISR0 * LAPIC_MEM_MUL);
240
241ASSYM(KCSEL, GSEL(GCODE_SEL, SEL_KPL));
242ASSYM(KDSEL, GSEL(GDATA_SEL, SEL_KPL));
243ASSYM(KUCSEL, GSEL(GUCODE_SEL, SEL_UPL));
244ASSYM(KUDSEL, GSEL(GUDATA_SEL, SEL_UPL));

--- 12 unchanged lines hidden ---