projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
port msrtool to darwin.
[coreboot.git]
/
util
/
msrtool
/
msrtool.c
diff --git
a/util/msrtool/msrtool.c
b/util/msrtool/msrtool.c
index 2bb8ded8ba51fa7bea946ab4e68d6800fbdcf742..251da40d99fccd8327e3f751ea45f3943c9ad41a 100644
(file)
--- 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 }
};