machdep.c (354764) | machdep.c (362383) |
---|---|
1/*- 2 * Copyright (c) 2003 Peter Wemm. 3 * Copyright (c) 1992 Terrence R. Lambert. 4 * Copyright (c) 1982, 1987, 1990 The Regents of the University of California. 5 * All rights reserved. 6 * 7 * This code is derived from software contributed to Berkeley by 8 * William Jolitz. --- 25 unchanged lines hidden (view full) --- 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 39 */ 40 41#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2003 Peter Wemm. 3 * Copyright (c) 1992 Terrence R. Lambert. 4 * Copyright (c) 1982, 1987, 1990 The Regents of the University of California. 5 * All rights reserved. 6 * 7 * This code is derived from software contributed to Berkeley by 8 * William Jolitz. --- 25 unchanged lines hidden (view full) --- 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 39 */ 40 41#include <sys/cdefs.h> |
42__FBSDID("$FreeBSD: stable/11/sys/amd64/amd64/machdep.c 354764 2019-11-16 00:52:04Z scottl $"); | 42__FBSDID("$FreeBSD: stable/11/sys/amd64/amd64/machdep.c 362383 2020-06-19 13:48:23Z kib $"); |
43 44#include "opt_atpic.h" 45#include "opt_compat.h" 46#include "opt_cpu.h" 47#include "opt_ddb.h" 48#include "opt_inet.h" 49#include "opt_isa.h" 50#include "opt_kstack_pages.h" --- 1671 unchanged lines hidden (view full) --- 1722 != NULL) 1723 vty_set_preferred(VTY_VT); 1724 1725 TUNABLE_INT_FETCH("hw.ibrs_disable", &hw_ibrs_disable); 1726 TUNABLE_INT_FETCH("hw.spec_store_bypass_disable", &hw_ssb_disable); 1727 TUNABLE_INT_FETCH("hw.mds_disable", &hw_mds_disable); 1728 TUNABLE_INT_FETCH("machdep.mitigations.taa.enable", &x86_taa_enable); 1729 | 43 44#include "opt_atpic.h" 45#include "opt_compat.h" 46#include "opt_cpu.h" 47#include "opt_ddb.h" 48#include "opt_inet.h" 49#include "opt_isa.h" 50#include "opt_kstack_pages.h" --- 1671 unchanged lines hidden (view full) --- 1722 != NULL) 1723 vty_set_preferred(VTY_VT); 1724 1725 TUNABLE_INT_FETCH("hw.ibrs_disable", &hw_ibrs_disable); 1726 TUNABLE_INT_FETCH("hw.spec_store_bypass_disable", &hw_ssb_disable); 1727 TUNABLE_INT_FETCH("hw.mds_disable", &hw_mds_disable); 1728 TUNABLE_INT_FETCH("machdep.mitigations.taa.enable", &x86_taa_enable); 1729 |
1730 TUNABLE_INT_FETCH("machdep.mitigations.rndgs.enable", 1731 &x86_rngds_mitg_enable); 1732 |
|
1730 finishidentcpu(); /* Final stage of CPU initialization */ 1731 initializecpu(); /* Initialize CPU registers */ 1732 initializecpucache(); 1733 1734 /* doublefault stack space, runs on ist1 */ 1735 common_tss[0].tss_ist1 = (long)&dblfault_stack[sizeof(dblfault_stack)]; 1736 1737 /* --- 941 unchanged lines hidden --- | 1733 finishidentcpu(); /* Final stage of CPU initialization */ 1734 initializecpu(); /* Initialize CPU registers */ 1735 initializecpucache(); 1736 1737 /* doublefault stack space, runs on ist1 */ 1738 common_tss[0].tss_ist1 = (long)&dblfault_stack[sizeof(dblfault_stack)]; 1739 1740 /* --- 941 unchanged lines hidden --- |