From b24dc84ad923d409e55c6c5f2ffb6d5c1836ba43 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Tue, 28 Dec 2021 11:14:21 +0100 Subject: [PATCH] Meta: Add SSE3, SMAP and SMEP to our bochsrc - SSE3 makes LibM's trunc() not SIGILL (due to FISTTP). - SMAP and SMEP allow us to exercise more kernel security mechanisms. --- Meta/bochsrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Meta/bochsrc b/Meta/bochsrc index f34c82e74f..83bfc6ad09 100644 --- a/Meta/bochsrc +++ b/Meta/bochsrc @@ -28,9 +28,9 @@ pci: enabled=1, chipset=i440fx, slot1=pcivga vga: extension=vbe, update_freq=60, realtime=0 cpu: count=1, ips=4000000, model=bx_generic, reset_on_triple_fault=1, cpuid_limit_winnt=0, ignore_bad_msrs=1, mwait_is_nop=0 cpuid: level=6, stepping=3, model=3, family=6, vendor_string="GenuineIntel", brand_string=" Intel(R) Pentium(R) 4 CPU " -cpuid: mmx=true, apic=xapic, simd=sse2, sse4a=false, misaligned_sse=false, sep=true -cpuid: movbe=false, adx=false, aes=false, sha=false, xsave=false, xsaveopt=false, smep=false -cpuid: smap=false, mwait=true +cpuid: mmx=true, apic=xapic, simd=sse3, sse4a=false, misaligned_sse=false, sep=true +cpuid: movbe=false, adx=false, aes=false, sha=false, xsave=false, xsaveopt=false, smep=true +cpuid: smap=true, mwait=true print_timestamps: enabled=0 port_e9_hack: enabled=1 private_colormap: enabled=0