msrtool: Update to use DirectHW on Mac OS X
http://www.coreboot.org/DirectHW Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6443 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
committed by
Peter Stuge
parent
0238a9caa3
commit
9018b6ee64
@@ -24,9 +24,9 @@
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#if (defined(__MACH__) && defined(__APPLE__))
|
||||
/* DirectIO is available here: http://www.coresystems.de/en/directio */
|
||||
/* DirectHW is available here: http://www.coreboot.org/DirectHW */
|
||||
#define __DARWIN__
|
||||
#include <DirectIO/darwinio.h>
|
||||
#include <DirectHW/DirectHW.h>
|
||||
#endif
|
||||
#if defined(__FreeBSD__)
|
||||
#include <sys/ioctl.h>
|
||||
|
Reference in New Issue
Block a user