Deleted Added
full compact
x86_var.h (338691) x86_var.h (347568)
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 338691 2018-09-14 23:21:52Z jhb $
29 * $FreeBSD: stable/11/sys/x86/include/x86_var.h 347568 2019-05-14 17:05:02Z kib $
30 */
31
32#ifndef _X86_X86_VAR_H_
33#define _X86_X86_VAR_H_
34
35/*
36 * Miscellaneous machine-dependent declarations.
37 */

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

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;
30 */
31
32#ifndef _X86_X86_VAR_H_
33#define _X86_X86_VAR_H_
34
35/*
36 * Miscellaneous machine-dependent declarations.
37 */

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

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;
86extern int hw_mds_disable;
86extern int hw_ssb_active;
87
88struct pcb;
89struct thread;
90struct reg;
91struct fpreg;
92struct dbreg;
93struct dumperinfo;

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

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

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

130void initializecpucache(void);
131bool fix_cpuid(void);
132void fillw(int /*u_short*/ pat, void *base, size_t cnt);
133int is_physical_memory(vm_paddr_t addr);
134int isa_nmi(int cd);
135void handle_ibrs_entry(void);
136void handle_ibrs_exit(void);
137void hw_ibrs_recalculate(void);
138void hw_mds_recalculate(void);
137void hw_ssb_recalculate(bool all_cpus);
138void nmi_call_kdb(u_int cpu, u_int type, struct trapframe *frame);
139void nmi_call_kdb_smp(u_int type, struct trapframe *frame);
140void nmi_handle_intr(u_int type, struct trapframe *frame);
141void pagecopy(void *from, void *to);
142void printcpuinfo(void);
143int pti_get_default(void);
144int user_dbreg_trap(register_t dr6);
145int minidumpsys(struct dumperinfo *);
146struct pcb *get_pcb_td(struct thread *td);
147
148#endif
139void hw_ssb_recalculate(bool all_cpus);
140void nmi_call_kdb(u_int cpu, u_int type, struct trapframe *frame);
141void nmi_call_kdb_smp(u_int type, struct trapframe *frame);
142void nmi_handle_intr(u_int type, struct trapframe *frame);
143void pagecopy(void *from, void *to);
144void printcpuinfo(void);
145int pti_get_default(void);
146int user_dbreg_trap(register_t dr6);
147int minidumpsys(struct dumperinfo *);
148struct pcb *get_pcb_td(struct thread *td);
149
150#endif