x86_var.h (986c4ca38772f7242e3ab9abe22a95dac65faa0a) x86_var.h (3621ba1ede73c9bdc77a7b41965bdd70c6767b15)
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

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

80extern int _ucode32sel;
81extern int _ufssel;
82extern int _ugssel;
83extern int use_xsave;
84extern uint64_t xsave_mask;
85extern u_int max_apic_id;
86extern int pti;
87extern int hw_ibrs_active;
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

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

80extern int _ucode32sel;
81extern int _ufssel;
82extern int _ugssel;
83extern int use_xsave;
84extern uint64_t xsave_mask;
85extern u_int max_apic_id;
86extern int pti;
87extern int hw_ibrs_active;
88extern int hw_ssb_active;
88
89struct pcb;
90struct thread;
91struct reg;
92struct fpreg;
93struct dbreg;
94struct dumperinfo;
95struct trapframe;

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

132void initializecpucache(void);
133bool fix_cpuid(void);
134void fillw(int /*u_short*/ pat, void *base, size_t cnt);
135int is_physical_memory(vm_paddr_t addr);
136int isa_nmi(int cd);
137void handle_ibrs_entry(void);
138void handle_ibrs_exit(void);
139void hw_ibrs_recalculate(void);
89
90struct pcb;
91struct thread;
92struct reg;
93struct fpreg;
94struct dbreg;
95struct dumperinfo;
96struct trapframe;

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

133void initializecpucache(void);
134bool fix_cpuid(void);
135void fillw(int /*u_short*/ pat, void *base, size_t cnt);
136int is_physical_memory(vm_paddr_t addr);
137int isa_nmi(int cd);
138void handle_ibrs_entry(void);
139void handle_ibrs_exit(void);
140void hw_ibrs_recalculate(void);
141void 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(void);
147int minidumpsys(struct dumperinfo *);
148struct pcb *get_pcb_td(struct thread *td);
149
150#endif
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);
147int pti_get_default(void);
148int user_dbreg_trap(void);
149int minidumpsys(struct dumperinfo *);
150struct pcb *get_pcb_td(struct thread *td);
151
152#endif