History log of /src/sys/arch/x86/include/mpbiosreg.h |
Revision | | Date | Author | Comments |
1.6 |
| 18-Apr-2010 |
jym | This patch fixes the NX regression issue observed on amd64 kernels, where per-page execution right was disabled (therefore leading to the inability of the kernel to detect fraudulent use of memory mappings marked as not being executable).
- replace cpu_feature and ci_feature_flags variables by cpu_feature and ci_feat_val arrays. This makes it cleaner and brings kernel code closer to the design of cpuctl(8). A warning will be raised for each CPU that does not expose the same features as the Boot Processor (BP).
- the blacklist of CPU features is now a macro defined in the specialreg.h header, instead of hardcoding it inside MD initialization code; fix comments.
- replace checks against CPUID_TSC with the cpu_hascounter() function.
- clean up the code in init_x86_64(), as cpu_feature variables are set inside cpu_probe().
- use cpu_init_msrs() for i386. It will be eventually used later for NX feature under i386 PAE kernels.
- remove code that checks for CPUID_NOX in amd64 mptramp.S, this is already performed by cpu_hatch() through cpu_init_msrs().
- remove cpu_signature and feature_flags members from struct mpbios_proc (they were never used).
This patch was tested with i386 MONOLITHIC, XEN3PAE_DOM0 and XEN3_DOM0 under a native i386 host, and amd64 GENERIC, XEN3_DOM0 via QEMU virtual machines.
XXX Should kernel rev be bumped?
XXX A similar patch should be pulled-up for NetBSD-5, hopefully tomorrow.
|
1.5 |
| 28-Apr-2008 |
martin | branches: 1.5.14; 1.5.20; 1.5.22; Remove clause 3 and 4 from TNF licenses
|
1.4 |
| 16-Apr-2008 |
cegger | branches: 1.4.2; 1.4.4; - use aprint_*_dev and device_xname - use POSIX integer types
|
1.3 |
| 04-Mar-2003 |
fvdl | branches: 1.3.104; Make the apic address unsigned, as it should be.
|
1.2 |
| 04-Mar-2003 |
fvdl | Fix some fields that did not have explicit types yet.
|
1.1 |
| 26-Feb-2003 |
fvdl | Move some files out of i386 into x86, so that they can be shared with other ports.
|
1.3.104.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.4.4.2 |
| 11-Aug-2010 |
yamt | sync with head.
|
1.4.4.1 |
| 16-May-2008 |
yamt | sync with head.
|
1.4.2.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.5.22.1 |
| 30-May-2010 |
rmind | sync with head
|
1.5.20.1 |
| 30-Apr-2010 |
uebayasi | Sync with HEAD.
|
1.5.14.1 |
| 24-Oct-2010 |
jym | Sync with HEAD
|