summaryrefslogtreecommitdiff
path: root/hw/xfree86/int10/xf86int10.h
diff options
context:
space:
mode:
authorIan Romanick <idr@umwelt.(none)>2006-07-14 15:13:35 -0700
committerIan Romanick <idr@umwelt.(none)>2006-07-14 15:13:35 -0700
commitd3ee49bcbafe4b4e6b308686020847e978473779 (patch)
tree99f9daaad6a61e89c0a2c61b93a25df5986baa8a /hw/xfree86/int10/xf86int10.h
parent8793c7fd4ba7d1b3e2eff3f2c18d042ee9bb3f62 (diff)
Refactor common code from the generic.c and linux.c version of
xf86ExtendedInitInt10 to xf86int10GetBiosLocationType and xf86int10GetBiosSegment. These changes were tested on MGA hardware on x86-64 with various combinations of InitPrimary and BiosLocation.
Diffstat (limited to 'hw/xfree86/int10/xf86int10.h')
-rw-r--r--hw/xfree86/int10/xf86int10.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/xfree86/int10/xf86int10.h b/hw/xfree86/int10/xf86int10.h
index 9e137df41..581a3bdb0 100644
--- a/hw/xfree86/int10/xf86int10.h
+++ b/hw/xfree86/int10/xf86int10.h
@@ -187,6 +187,10 @@ Bool int10_check_bios(int scrnIndex, int codeSeg, unsigned char* vbiosMem);
Bool initPrimary(void* options);
void xf86int10ParseBiosLocation(void* options,
xf86int10BiosLocationPtr bios);
+BusType xf86int10GetBiosLocationType(const xf86Int10InfoPtr pInt,
+ const xf86int10BiosLocationPtr bios);
+Bool xf86int10GetBiosSegment(xf86Int10InfoPtr pInt,
+ const xf86int10BiosLocationPtr bios, void * base);
#ifdef DEBUG
void dprint(unsigned long start, unsigned long size);
#endif