diff options
author | Egbert Eich <eich@suse.de> | 2004-10-12 19:13:43 +0000 |
---|---|---|
committer | Egbert Eich <eich@suse.de> | 2004-10-12 19:13:43 +0000 |
commit | 88714c3b2274fcfe50837631b1d38a7cd96f692a (patch) | |
tree | d15880c65861585183b0c5cfd3e903085c20174f /src/common.h | |
parent | 687298daed40aaade44e61342a9abe984088541b (diff) |
Change order of SetDisplayDevice(), HWRestore(), UnbindGART() and
RestoreBIOSMemSize() to be exactly opposite to the Save procedure in EnterVT()
(Matthias Hopf, Alan Hourihane).
Fixed server crash on reset when a structure allocated in PreInit() was freed on
CloseScreen().
Fixed ring buffer lock ups that happened because the structure that contained
ringbuffer data was not zeroed after allocation.
Fixed numerous warnings due to signed unsigned comparisons.
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common.h b/src/common.h index 1b98d695..5d2ac521 100644 --- a/src/common.h +++ b/src/common.h @@ -173,7 +173,7 @@ extern void I830DPRINTF_stub(const char *filename, int line, #define BEGIN_LP_RING(n) \ unsigned int outring, ringmask; \ volatile unsigned char *virt; \ - unsigned int needed; \ + int needed; \ if ((n) & 1) \ ErrorF("BEGIN_LP_RING called with odd argument: %d\n", n); \ if ((n) > 2 && (I810_DEBUG&DEBUG_ALWAYS_SYNC)) \ @@ -206,7 +206,7 @@ extern void I830DPRINTF_stub(const char *filename, int line, #define BEGIN_LP_RING(n) \ unsigned int outring, ringmask; \ volatile unsigned char *virt; \ - unsigned int needed; \ + int needed; \ if ((n) & 1) \ ErrorF("BEGIN_LP_RING called with odd argument: %d\n", n); \ if ((n) > 2 && (I810_DEBUG&DEBUG_ALWAYS_SYNC)) \ |