summaryrefslogtreecommitdiff
path: root/src/savage_driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/savage_driver.h')
-rw-r--r--src/savage_driver.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/savage_driver.h b/src/savage_driver.h
index 805aa64..3e97106 100644
--- a/src/savage_driver.h
+++ b/src/savage_driver.h
@@ -266,6 +266,11 @@ typedef struct _StatInfo {
int realOff;
} StatInfoRec,*StatInfoPtr;
+struct savage_region {
+ unsigned bar;
+ unsigned long offset;
+};
+
typedef struct _Savage {
SavageRegRec SavedReg;
SavageRegRec ModeReg;
@@ -293,6 +298,11 @@ typedef struct _Savage {
unsigned long ShadowPhysical;
/* These are linear addresses. */
+ struct savage_region MmioRegion;
+ struct savage_region FbRegion;
+ struct savage_region ApertureRegion;
+ unsigned last_bar;
+
unsigned char* MapBase;
unsigned char* BciMem;
unsigned char* FBBase;