msrtool: Add FreeBSD support using /dev/cpuctl ioctl interface
Signed-off-by: Andriy Gapon <avg@icyb.net.ua> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4965 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
committed by
Peter Stuge
parent
7df17af13b
commit
d80e57c9c8
@ -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 }
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user