From d80e57c9c8d02181ec53bf2858ca790ee7ce93f8 Mon Sep 17 00:00:00 2001 From: Andriy Gapon Date: Sat, 28 Nov 2009 05:21:42 +0000 Subject: msrtool: Add FreeBSD support using /dev/cpuctl ioctl interface Signed-off-by: Andriy Gapon Acked-by: Peter Stuge git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4965 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/msrtool/msrtool.c | 1 + 1 file changed, 1 insertion(+) (limited to 'util/msrtool/msrtool.c') diff --git a/util/msrtool/msrtool.c b/util/msrtool/msrtool.c index 251da40d99..4ed86baf58 100644 --- a/util/msrtool/msrtool.c +++ b/util/msrtool/msrtool.c @@ -49,6 +49,7 @@ static struct targetdef alltargets[] = { static struct sysdef allsystems[] = { { "linux", "Linux with /dev/cpu/*/msr", linux_probe, linux_open, linux_close, linux_rdmsr }, { "darwin", "OS X with DirectIO", darwin_probe, darwin_open, darwin_close, darwin_rdmsr }, + { "freebsd", "FreeBSD with /dev/cpuctl*", freebsd_probe, freebsd_open, freebsd_close, freebsd_rdmsr }, { SYSTEM_EOT } }; -- cgit v1.2.3