Date: Thu, 30 Jun 2005 06:44:34 +0000 (UTC) From: Peter Wemm <peter@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 identcpu.c initcpu.c src/sys/i386/include md_var.h Message-ID: <200506300644.j5U6iYor086205@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 2005-06-30 06:44:34 UTC FreeBSD src repository Modified files: sys/i386/i386 identcpu.c initcpu.c sys/i386/include md_var.h Log: Begin promoting the AMD-originated feature flags to first class flags, now that newer Intel cpu hardware implements them too. This includes things like the NX (pte no-execute) flag for execute protection. We'll need to reference this for implementing no-exec in pmap.c at some point. Some feature flags are duplicated in both the Intel-orignated bits and the AMD bits. Suppress the the duplicates correctly - the old code assumed they were a 1:1 mapping which is not correct. We can't just mask off the bits present in cpu_feature. Converge with amd64 where this originated from. Intel cpu's that implement any AMD features will report them in dmesg now. Approved by: re Revision Changes Path 1.145 +82 -91 src/sys/i386/i386/identcpu.c 1.51 +1 -0 src/sys/i386/i386/initcpu.c 1.72 +3 -1 src/sys/i386/include/md_var.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506300644.j5U6iYor086205>