diff options
author | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2011-03-18 22:08:39 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2011-03-18 22:08:39 +0000 |
commit | cff573d3a455c20d427e70db84fd2acfe59194d1 (patch) | |
tree | 0dd98c67a4812a11e507cbc4d98cb711b5deb7a6 /util/inteltool/inteltool.h | |
parent | 4a46e89c757c17f625505ab7cbc6c3c18751e22a (diff) |
DirectHW fixes for coreboot utilities
See http://www.coreboot.org/DirectHW for more information
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6454 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/inteltool/inteltool.h')
-rw-r--r-- | util/inteltool/inteltool.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/inteltool/inteltool.h b/util/inteltool/inteltool.h index 65792e4a90..cac1c272ab 100644 --- a/util/inteltool/inteltool.h +++ b/util/inteltool/inteltool.h @@ -26,7 +26,7 @@ #if (defined(__MACH__) && defined(__APPLE__)) /* DirectHW is available here: http://www.coresystems.de/en/directhw */ #define __DARWIN__ -#include <DirectIO/darwinio.h> +#include <DirectHW/DirectHW.h> #endif #include <pci/pci.h> @@ -111,7 +111,7 @@ int freebsd_wrmsr(int addr, msr_t msr); #endif typedef struct { uint16_t addr; int size; char *name; } io_register_t; -void *map_physical(unsigned long phys_addr, size_t len); +void *map_physical(uint64_t phys_addr, size_t len); void unmap_physical(void *virt_addr, size_t len); unsigned int cpuid(unsigned int op); |