From 31939c4c516124bfca0de7db4278b6b16df5e70f Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Mon, 7 Aug 2006 13:27:48 -0700 Subject: Introduce the savage_region structure, which is used to track mappable regions of PCI space. --- src/savage_driver.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/savage_driver.h') 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; -- cgit v1.2.3