OpenGrok
Cross Reference: Makefile
xref
: /
src
/
usr.sbin
/
cpuctl
/
Makefile
Home
|
History
|
Annotate
|
Download
|
only in
cpuctl
History log of
/src/usr.sbin/cpuctl/Makefile
Revision
Date
Author
Comments
1.9
21-Apr-2020
msaitoh
Get TSC frequency from CPUID 0x15 and/or x16 for newer Intel processors.
- If the max CPUID leaf is >= 0x15, take TSC value from CPUID. Some processors
can take TSC/core crystal clock ratio but core crystal clock frequency
can't be taken. Intel SDM give us the values for some processors.
- It also required to change lapic_per_second to make LAPIC timer correctly.
- Add new file x86/x86/identcpu_subr.c to share common subroutines between
kernel and userland. Some code in x86/x86/identcpu.c and cpuctl/arch/i386.c
will be moved to this file in future.
- Add comment to clarify.
1.8
23-Jan-2016
christos
branches: 1.8.8; 1.8.16; 1.8.18;
Define _KERNTYPES for things that need it.
1.7
01-Aug-2013
matt
.include <bsd.own.mk> to get MACHINE_CPU
1.6
31-Jan-2013
matt
Add arm support for cpuctl identify
1.5
23-Apr-2009
lukem
branches: 1.5.6; 1.5.12;
Allow WARNS=4 after Christos' fix sys/cdefs.h
1.4
22-Apr-2009
lukem
Enable WARNS=4 by default, except for:
cpuctl dumplfs hprop ipf iprop-log kadmin kcm kdc kdigest
kimpersonate kstash ktutil makefs ndbootd ntp pppd quot
racoon racoonctl rtadvd sntp sup tcpdchk tcpdmatch tcpdump
traceroute traceroute6 user veriexecgen wsmoused zic
(Mostly third-party applications)
1.3
16-Dec-2008
christos
branches: 1.3.2;
Remove 3rd buggy copy of this function and use snprintb(3) instead.
No need to allocate MAXPATHLEN buffers anymore.
1.2
05-May-2008
ad
branches: 1.2.6;
PR port-amd64/37461 x86 cpu dmesg output is noisy
Port identifycpu() to userspace. The kernel lies and reports on cpuN while
actually using the values from cpu0, but this attempts to bind itself to the
requested CPU if running as root. That doesn't work properly yet due to
kern/38588, but will do once that's fixed.
1.1
04-Aug-2007
ad
branches: 1.1.8; 1.1.10;
Add cpuctl(8). For now this is not much more than a toy for debugging and
benchmarking that allows taking CPUs online/offline.
1.1.10.2
04-Aug-2007
ad
Add cpuctl(8). For now this is not much more than a toy for debugging and
benchmarking that allows taking CPUs online/offline.
1.1.10.1
04-Aug-2007
ad
file Makefile was added on branch matt-mips64 on 2007-08-04 11:03:05 +0000
1.1.8.1
18-May-2008
yamt
sync with head.
1.2.6.1
23-Dec-2008
snj
Pull up following revision(s) (requested by christos in ticket #193):
usr.sbin/cpuctl/Makefile: revision 1.3
usr.sbin/cpuctl/bitmask.c: file removal
usr.sbin/cpuctl/cpuctl.h: revision 1.2
usr.sbin/cpuctl/arch/i386.c: revision 1.14
Remove 3rd buggy copy of this function and use snprintb(3) instead.
No need to allocate MAXPATHLEN buffers anymore.
1.3.2.1
13-May-2009
jym
Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
1.5.12.2
20-Aug-2014
tls
Rebase to HEAD as of a few days ago.
1.5.12.1
25-Feb-2013
tls
resync with head
1.5.6.1
22-May-2014
yamt
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
1.8.18.1
10-Jul-2020
martin
Pull up the following revisions (all via patch) requested by msaitoh in
ticket #995:
usr.sbin/cpuctl/Makefile 1.9
usr.sbin/cpuctl/arch/cpuctl_i386.h 1.5
usr.sbin/cpuctl/arch/i386.c 1.111-1.113
usr.sbin/cpuctl/cpuctl.c 1.31
usr.sbin/cpuctl/cpuctl.h 1.7
sys/arch/x86/x86/identcpu_subr.c 1.1-1.7
- Get TSC frequency from CPUID 0x15 and/or x16 for newer Intel
processors.
- Add 0xa5 and 0xa6 for Comet Lake.
- Rename ci_cpuid_level to ci_max_cpuid and ci_cpuid_extlevel to
ci_max_ext_cpuid to match x86/include/cpu.h. No functional change.
- Sort some entries.
- Add comment.
1.8.16.1
21-Apr-2020
martin
Sync with HEAD
1.8.8.1
05-Aug-2020
martin
Pull up the following revisions, requested by msaitoh in ticket #1585:
usr.sbin/cpuctl/Makefile 1.9
usr.sbin/cpuctl/arch/cpuctl_i386.h 1.5
usr.sbin/cpuctl/arch/i386.c 1.111-1.113 via patch
usr.sbin/cpuctl/cpuctl.c 1.31
usr.sbin/cpuctl/cpuctl.h 1.7
sys/arch/x86/x86/identcpu_subr.c 1.1-1.7
- Get TSC frequency from CPUID 0x15 and/or x16 for newer Intel
processors.
- Add 0xa5 and 0xa6 for Comet Lake.
- Rename ci_cpuid_level to ci_max_cpuid and ci_cpuid_extlevel to
ci_max_ext_cpuid to match x86/include/cpu.h. No functional change.
- Sort some entries.
- Add comment.
Indexes created Thu Oct 23 18:09:57 GMT 2025