mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix so that ,usr and ,os work correctly with fixed function (IAF)
counters. MFC after: 1 week
This commit is contained in:
parent
4c95ae1b74
commit
03963ef8d1
1 changed files with 2 additions and 1 deletions
|
|
@ -52,7 +52,8 @@ __FBSDID("$FreeBSD$");
|
|||
#define CORE_CPUID_EDX 0x3
|
||||
|
||||
#define IAF_PMC_CAPS \
|
||||
(PMC_CAP_READ | PMC_CAP_WRITE | PMC_CAP_INTERRUPT)
|
||||
(PMC_CAP_READ | PMC_CAP_WRITE | PMC_CAP_INTERRUPT | \
|
||||
PMC_CAP_USER | PMC_CAP_SYSTEM)
|
||||
#define IAF_RI_TO_MSR(RI) ((RI) + (1 << 30))
|
||||
|
||||
#define IAP_PMC_CAPS (PMC_CAP_INTERRUPT | PMC_CAP_USER | PMC_CAP_SYSTEM | \
|
||||
|
|
|
|||
Loading…
Reference in a new issue