Deleted Added
full compact
genassym.c (331722) 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/i386/i386/genassym.c 331722 2018-03-29 02:50:57Z eadler $");
36__FBSDID("$FreeBSD: stable/11/sys/i386/i386/genassym.c 347568 2019-05-14 17:05:02Z kib $");
37
38#include "opt_apic.h"
39#include "opt_compat.h"
40#include "opt_hwpmc_hooks.h"
41#include "opt_kstack_pages.h"
42
43#include <sys/param.h>
44#include <sys/systm.h>

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

212ASSYM(PC_COMMON_TSS, offsetof(struct pcpu, pc_common_tss));
213ASSYM(PC_COMMON_TSSD, offsetof(struct pcpu, pc_common_tssd));
214ASSYM(PC_TSS_GDT, offsetof(struct pcpu, pc_tss_gdt));
215ASSYM(PC_FSGS_GDT, offsetof(struct pcpu, pc_fsgs_gdt));
216ASSYM(PC_CURRENTLDT, offsetof(struct pcpu, pc_currentldt));
217ASSYM(PC_CPUID, offsetof(struct pcpu, pc_cpuid));
218ASSYM(PC_CURPMAP, offsetof(struct pcpu, pc_curpmap));
219ASSYM(PC_PRIVATE_TSS, offsetof(struct pcpu, pc_private_tss));
37
38#include "opt_apic.h"
39#include "opt_compat.h"
40#include "opt_hwpmc_hooks.h"
41#include "opt_kstack_pages.h"
42
43#include <sys/param.h>
44#include <sys/systm.h>

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

212ASSYM(PC_COMMON_TSS, offsetof(struct pcpu, pc_common_tss));
213ASSYM(PC_COMMON_TSSD, offsetof(struct pcpu, pc_common_tssd));
214ASSYM(PC_TSS_GDT, offsetof(struct pcpu, pc_tss_gdt));
215ASSYM(PC_FSGS_GDT, offsetof(struct pcpu, pc_fsgs_gdt));
216ASSYM(PC_CURRENTLDT, offsetof(struct pcpu, pc_currentldt));
217ASSYM(PC_CPUID, offsetof(struct pcpu, pc_cpuid));
218ASSYM(PC_CURPMAP, offsetof(struct pcpu, pc_curpmap));
219ASSYM(PC_PRIVATE_TSS, offsetof(struct pcpu, pc_private_tss));
220ASSYM(PC_MDS_TMP, offsetof(struct pcpu, pc_mds_tmp));
221ASSYM(PC_MDS_BUF, offsetof(struct pcpu, pc_mds_buf));
222ASSYM(PC_MDS_BUF64, offsetof(struct pcpu, pc_mds_buf64));
220
221#ifdef DEV_APIC
222ASSYM(LA_EOI, LAPIC_EOI * LAPIC_MEM_MUL);
223ASSYM(LA_ISR, LAPIC_ISR0 * LAPIC_MEM_MUL);
224#endif
225
226ASSYM(KCSEL, GSEL(GCODE_SEL, SEL_KPL));
227ASSYM(KDSEL, GSEL(GDATA_SEL, SEL_KPL));

--- 16 unchanged lines hidden ---
223
224#ifdef DEV_APIC
225ASSYM(LA_EOI, LAPIC_EOI * LAPIC_MEM_MUL);
226ASSYM(LA_ISR, LAPIC_ISR0 * LAPIC_MEM_MUL);
227#endif
228
229ASSYM(KCSEL, GSEL(GCODE_SEL, SEL_KPL));
230ASSYM(KDSEL, GSEL(GDATA_SEL, SEL_KPL));

--- 16 unchanged lines hidden ---