port msrtool to darwin.
[coreboot.git] / util / msrtool / msrtool.c
index 2bb8ded8ba51fa7bea946ab4e68d6800fbdcf742..251da40d99fccd8327e3f751ea45f3943c9ad41a 100644 (file)
@@ -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 }
 };