diff options
author | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2011-03-18 22:00:15 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@coresystems.de> | 2011-03-18 22:00:15 +0000 |
commit | 6aaad644534917de01e422c61830c19d58754ae3 (patch) | |
tree | c1744ce0e1c53f62aac9d4cd8b14f24a367434a1 | |
parent | eca83547e076b4888e485e51c90efe0246decf04 (diff) | |
download | flashrom-6aaad644534917de01e422c61830c19d58754ae3.zip flashrom-6aaad644534917de01e422c61830c19d58754ae3.tar.gz |
Update port of flashrom package to Mac OS X using DirectHW
http://www.coreboot.org/DirectHW
Corresponding to flashrom svn r1282.
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Paul Menzel <paulepanter@users.sourceforge.net>
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | hwaccess.h | 2 | ||||
-rw-r--r-- | physmap.c | 2 |
3 files changed, 4 insertions, 4 deletions
@@ -44,8 +44,8 @@ STRIP_ARGS = -s endif ifeq ($(OS_ARCH), Darwin) CPPFLAGS += -I/opt/local/include -I/usr/local/include -# DirectIO framework can be found in the DirectHW library. -LDFLAGS += -framework IOKit -framework DirectIO -L/opt/local/lib -L/usr/local/lib +# DirectHW framework can be found in the DirectHW library. +LDFLAGS += -framework IOKit -framework DirectHW -L/opt/local/lib -L/usr/local/lib endif ifeq ($(OS_ARCH), FreeBSD) CPPFLAGS += -I/usr/local/include @@ -194,7 +194,7 @@ cpu_to_be(64) #else #if defined(__DARWIN__) /* Header is part of the DirectHW library. */ - #include <DirectIO/darwinio.h> + #include <DirectHW/DirectHW.h> #define off64_t off_t #define lseek64 lseek #endif @@ -134,7 +134,7 @@ void cleanup_cpu_msr(void) } #elif defined(__DARWIN__) -#define MEM_DEV "DirectIO" +#define MEM_DEV "DirectHW" static void *sys_physmap(unsigned long phys_addr, size_t len) { |