/illumos-gate/usr/src/test/bhyve-tests/tests/inst_emul/ |
H A D | payload_cpuid_guest_state.c | 60 uint32_t orig_cr4 = getcr4(); in test_leaf_1_osxsave() 62 setcr4(getcr4() & ~CR4_OSXSAVE); in test_leaf_1_osxsave() 69 setcr4(getcr4() | CR4_OSXSAVE); in test_leaf_1_osxsave() 100 uint64_t orig_cr4 = getcr4(); in test_leaf_d_index_0() 103 setcr4(getcr4() | CR4_OSXSAVE); in test_leaf_d_index_0() 135 uint64_t orig_cr4 = getcr4(); in test_leaf_d_index_1() 144 setcr4(getcr4() | CR4_OSXSAVE); in test_leaf_d_index_1() 218 setcr4(getcr4() | CR4_OSXSAVE); in do_fallback_test()
|
/illumos-gate/usr/src/uts/i86pc/vm/ |
H A D | i86_mmu.c | 443 cr4 = getcr4(); in invpcid() 450 if (!(getcr4() & CR4_PCIDE)) { in invpcid() 454 cr4 = getcr4(); in invpcid() 515 if (!(getcr4() & CR4_PCIDE)) { in mmu_flush_tlb_page() 536 if (!(getcr4() & CR4_PCIDE) || x86_use_invpcid == 1) { in mmu_flush_tlb_range()
|
H A D | hat_i86.c | 826 (getcr4() & CR4_PGE) != 0) in mmu_init() 861 if ((getcr4() & CR4_LA57) != 0) in mmu_init() 1421 ASSERT(!(getcr4() & CR4_PCIDE)); in hat_switch_xen() 1511 uint64_t pcide = getcr4() & CR4_PCIDE; in hat_switch()
|
H A D | htable.c | 1956 ASSERT(!(getcr4() & CR4_PCIDE)); in x86pte_mapin() 2346 ASSERT(!(getcr4() & CR4_PCIDE)); in x86pte_copy()
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | fpu_subr.c | 90 #define ENABLE_SSE() setcr4(CR4_ENABLE_SSE_FLAGS(getcr4())) 91 #define DISABLE_SSE() setcr4(CR4_DISABLE_SSE_FLAGS(getcr4()))
|
H A D | hma.c | 360 setcr4(getcr4() | CR4_VMXE); in hma_vmx_cpu_vmxon()
|
H A D | cpuid.c | 7905 setcr4(getcr4() | CR4_PCIDE); in enable_pcid() 7925 setcr4(getcr4() | CR4_OSXSAVE); in xsave_setup_msr()
|
/illumos-gate/usr/src/test/bhyve-tests/tests/common/ |
H A D | payload_utils.S | 118 ENTRY(getcr4) 121 SET_SIZE(getcr4)
|
H A D | payload_utils.h | 34 uint64_t getcr4(void);
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | mlsetup.c | 372 setcr4(getcr4() & ~CR4_TSD); in mlsetup() 384 setcr4(getcr4() | CR4_DE); in mlsetup() 387 setcr4(getcr4() | CR4_SMEP); in mlsetup()
|
H A D | cpr_impl.c | 564 (ulong_t)real_mode_platter->rm_cr4, (ulong_t)getcr4())) in i_cpr_power_down() 569 real_mode_platter->rm_cr4 = getcr4(); in i_cpr_power_down() 582 (ulong_t)real_mode_platter->rm_cr4, getcr4())) in i_cpr_power_down() 632 (ulong_t)wcpp->rm_cr4, getcr4())) in i_cpr_power_down()
|
H A D | mp_pc.c | 349 rm->rm_cr4 = getcr4(); in mach_cpucontext_xalloc()
|
H A D | trap.c | 1629 (uint_t)getcr0(), (uint_t)getcr4(), FMT_CR4); in showregs() 1632 (uint_t)getcr0(), FMT_CR0, (uint_t)getcr4(), FMT_CR4); in showregs()
|
H A D | cmi_hw.c | 740 *dest = getcr4(); in ntv_getcr4_xc() 1760 cr4 = getcr4(); in cmi_ntv_hwdisable_mce_xc()
|
H A D | startup.c | 702 setcr4(getcr4() | CR4_SMAP); in startup_smap() 2705 cr4 = getcr4(); in pat_sync()
|
H A D | fakebop.c | 946 if (getcr4() & CR4_PCIDE) in do_bsys_doint()
|
/illumos-gate/usr/src/uts/intel/asm/ |
H A D | mmu.h | 63 getcr4(void) in getcr4() function
|
/illumos-gate/usr/src/uts/i86pc/sys/ |
H A D | mach_mmu.h | 150 #define getpcid() ((getcr4() & CR4_PCIDE) ? \
|
/illumos-gate/usr/src/uts/intel/pcbe/ |
H A D | opteron_pcbe.c | 938 ulong_t curcr4 = getcr4(); in opt_pcbe_program() 988 setcr4(getcr4() & ~CR4_PCE); in opt_pcbe_allstop()
|
H A D | p4_pcbe.c | 917 ulong_t curcr4 = getcr4(); in p4_pcbe_program() 993 setcr4(getcr4() & ~CR4_PCE); in p4_pcbe_allstop()
|
H A D | core_pcbe.c | 1356 curcr4 = getcr4(); in core_pcbe_program() 1445 setcr4(getcr4() & ~CR4_PCE); in core_pcbe_allstop()
|
/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | mp_xen.c | 289 vgc->ctrlreg[4] = getcr4(); in mp_set_cpu_context()
|
/illumos-gate/usr/src/uts/intel/ml/ |
H A D | i86_subr.S | 261 ENTRY(getcr4) 264 SET_SIZE(getcr4)
|
/illumos-gate/usr/src/uts/intel/sys/ |
H A D | x86_archext.h | 1758 extern ulong_t getcr4(void);
|