Deleted Added
full compact
x86_var.h (355094) x86_var.h (358582)
1/*-
2 * Copyright (c) 1995 Bruce D. Evans.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
1/*-
2 * Copyright (c) 1995 Bruce D. Evans.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * $FreeBSD: stable/11/sys/x86/include/x86_var.h 355094 2019-11-25 16:46:41Z kib $
29 * $FreeBSD: stable/11/sys/x86/include/x86_var.h 358582 2020-03-03 15:12:00Z kib $
30 */
31
32#ifndef _X86_X86_VAR_H_
33#define _X86_X86_VAR_H_
34
35/*
36 * Miscellaneous machine-dependent declarations.
37 */

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

77extern int _udatasel;
78extern int _ucodesel;
79extern int _ucode32sel;
80extern int _ufssel;
81extern int _ugssel;
82extern int use_xsave;
83extern uint64_t xsave_mask;
84extern int pti;
30 */
31
32#ifndef _X86_X86_VAR_H_
33#define _X86_X86_VAR_H_
34
35/*
36 * Miscellaneous machine-dependent declarations.
37 */

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

77extern int _udatasel;
78extern int _ucodesel;
79extern int _ucode32sel;
80extern int _ufssel;
81extern int _ugssel;
82extern int use_xsave;
83extern uint64_t xsave_mask;
84extern int pti;
85extern int hw_ibrs_active;
85extern int hw_ibrs_ibpb_active;
86extern int hw_mds_disable;
87extern int hw_ssb_active;
88extern int x86_taa_enable;
89
90struct pcb;
91struct thread;
92struct reg;
93struct fpreg;

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

130void initializecpu(void);
131void initializecpucache(void);
132bool fix_cpuid(void);
133void fillw(int /*u_short*/ pat, void *base, size_t cnt);
134int is_physical_memory(vm_paddr_t addr);
135int isa_nmi(int cd);
136void handle_ibrs_entry(void);
137void handle_ibrs_exit(void);
86extern int hw_mds_disable;
87extern int hw_ssb_active;
88extern int x86_taa_enable;
89
90struct pcb;
91struct thread;
92struct reg;
93struct fpreg;

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

130void initializecpu(void);
131void initializecpucache(void);
132bool fix_cpuid(void);
133void fillw(int /*u_short*/ pat, void *base, size_t cnt);
134int is_physical_memory(vm_paddr_t addr);
135int isa_nmi(int cd);
136void handle_ibrs_entry(void);
137void handle_ibrs_exit(void);
138void hw_ibrs_recalculate(void);
138void hw_ibrs_recalculate(bool all_cpus);
139void hw_mds_recalculate(void);
140void hw_ssb_recalculate(bool all_cpus);
141void x86_taa_recalculate(void);
142void nmi_call_kdb(u_int cpu, u_int type, struct trapframe *frame);
143void nmi_call_kdb_smp(u_int type, struct trapframe *frame);
144void nmi_handle_intr(u_int type, struct trapframe *frame);
145void pagecopy(void *from, void *to);
146void printcpuinfo(void);

--- 14 unchanged lines hidden ---
139void hw_mds_recalculate(void);
140void hw_ssb_recalculate(bool all_cpus);
141void x86_taa_recalculate(void);
142void nmi_call_kdb(u_int cpu, u_int type, struct trapframe *frame);
143void nmi_call_kdb_smp(u_int type, struct trapframe *frame);
144void nmi_handle_intr(u_int type, struct trapframe *frame);
145void pagecopy(void *from, void *to);
146void printcpuinfo(void);

--- 14 unchanged lines hidden ---