summaryrefslogtreecommitdiff
path: root/src/bios_reader
diff options
context:
space:
mode:
authorKeith Packard <keithp@dulcimer.keithp.com>2007-05-16 13:59:36 -0700
committerKeith Packard <keithp@dulcimer.keithp.com>2007-05-16 13:59:36 -0700
commitb28817a87a1608e849e4a9a736dda43533a84b0c (patch)
treecd81b1f0a3607da52b0643054c3ebe1d07f91780 /src/bios_reader
parentb31bef1a8effa9acb6de7edd206b9d8c48d88144 (diff)
Add i830_bios_get_aim_data_block to read AIM data from BIOS
Add-in modules have per-module data in the BIOS which contains configuration information which cannot be entirely discovered.
Diffstat (limited to 'src/bios_reader')
-rw-r--r--src/bios_reader/bios_reader.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/bios_reader/bios_reader.c b/src/bios_reader/bios_reader.c
index a52bcc72..9ec73c13 100644
--- a/src/bios_reader/bios_reader.c
+++ b/src/bios_reader/bios_reader.c
@@ -30,16 +30,11 @@
#include <string.h>
#include <sys/types.h>
+#include "../i830_bios.h"
+
#define _PARSE_EDID_
#include "edid.h"
-/* Define some types so we can reuse i830_bios.h */
-typedef void *ScrnInfoPtr;
-typedef int Bool;
-#define TRUE 1
-#define FALSE 0
-#include "../i830_bios.h"
-
/* Make a fake pI830 so we can easily pull i830_bios.c code in here. */
struct _fake_i830 {