Deleted Added
full compact
x86_var.h (333361) x86_var.h (334152)
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 333361 2018-05-08 10:56:06Z kib $
29 * $FreeBSD: stable/11/sys/x86/include/x86_var.h 334152 2018-05-24 13:17:24Z 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_ssb_active;
86
87struct pcb;
88struct thread;
89struct reg;
90struct fpreg;
91struct dbreg;
92struct dumperinfo;
93struct trapframe;

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

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

--- 34 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);
137void hw_ssb_recalculate(bool all_cpus);
136void nmi_call_kdb(u_int cpu, u_int type, struct trapframe *frame);
137void nmi_call_kdb_smp(u_int type, struct trapframe *frame);
138void nmi_handle_intr(u_int type, struct trapframe *frame);
139void pagecopy(void *from, void *to);
140void printcpuinfo(void);
141int pti_get_default(void);
142int user_dbreg_trap(void);
143int minidumpsys(struct dumperinfo *);
144struct pcb *get_pcb_td(struct thread *td);
145
146#endif
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(void);
145int minidumpsys(struct dumperinfo *);
146struct pcb *get_pcb_td(struct thread *td);
147
148#endif