diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2009-09-01 10:03:01 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2009-09-01 10:03:01 +0000 |
commit | 37f3935029cef0616fa36b9c822496e3e51f03ba (patch) | |
tree | 347c23e4a92e282a9e2d074d46e29cd73475e1db /util/msrtool/msrtool.c | |
parent | e95eb616cc987072a1a17f8b98854645fb82bfce (diff) |
port msrtool to darwin.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Peter Stuge <peter@stuge.se>
with minor changes to allow 32bit and 64bit compilation and (I hope), Peter's
concerns addressed.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4624 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/msrtool/msrtool.c')
-rw-r--r-- | util/msrtool/msrtool.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/msrtool/msrtool.c b/util/msrtool/msrtool.c index 2bb8ded8ba..251da40d99 100644 --- a/util/msrtool/msrtool.c +++ b/util/msrtool/msrtool.c @@ -48,6 +48,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 }, { SYSTEM_EOT } }; |