path: root/hwaccess.h
diff options
authorCarl-Daniel Hailfinger <>2010-02-12 19:35:25 +0000
committerCarl-Daniel Hailfinger <>2010-02-12 19:35:25 +0000
commitfb0828f3db2b6c298b5617690a70cc92f34f3287 (patch)
tree4377b78675ae61d7d79b2eefa270aa957cae8379 /hwaccess.h
parentca33140ebf2ea7b09f03717fc29ee3369c99d3d2 (diff)
Split internal.c into internal.c and hwaccess.c
Linking in support for the internal programmer doesn't make sense if you only need hardware (ioport, memory) access. Note: This patch was created by "svn cp internal.c hwaccess.c" and then removing stuff from both files. That's why you can't apply the patch as-is before running the svn cp. Corresponding to flashrom svn r898. Signed-off-by: Carl-Daniel Hailfinger <> Acked-by: Sean Nelson <>
Diffstat (limited to 'hwaccess.h')
1 files changed, 0 insertions, 4 deletions
diff --git a/hwaccess.h b/hwaccess.h
index 0729226..89469b0 100644
--- a/hwaccess.h
+++ b/hwaccess.h
@@ -133,10 +133,6 @@ inl(uint16_t port)
-#if defined(__FreeBSD__) || defined(__DragonFly__)
-extern int io_fd;
#if !defined(__DARWIN__) && !defined(__FreeBSD__) && !defined(__DragonFly__)
typedef struct { uint32_t hi, lo; } msr_t;
msr_t rdmsr(int addr);
OpenPOWER on IntegriCloud