diff options
author | Alan Hourihane <[email protected]> | 2004-12-14 22:37:46 +0000 |
---|---|---|
committer | Alan Hourihane <[email protected]> | 2004-12-14 22:37:46 +0000 |
commit | 968cbf94d90755a6bfb016ac501aca4d9006cbc8 (patch) | |
tree | c933696148fb83e99c45f4c73eab130e58a884ff /src/mesa/drivers/dri/savage/savagestate.c | |
parent | fc84bec654cced24883696bf97db2b52c86bc721 (diff) |
uint*t -> u_int*t
Diffstat (limited to 'src/mesa/drivers/dri/savage/savagestate.c')
-rw-r--r-- | src/mesa/drivers/dri/savage/savagestate.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mesa/drivers/dri/savage/savagestate.c b/src/mesa/drivers/dri/savage/savagestate.c index 75289fcbfd4..cf252e6052b 100644 --- a/src/mesa/drivers/dri/savage/savagestate.c +++ b/src/mesa/drivers/dri/savage/savagestate.c @@ -1401,12 +1401,12 @@ static GLboolean savageGlobalRegChanged (savageContextPtr imesa, static void savageEmitContiguousRegs (savageContextPtr imesa, GLuint first, GLuint last) { GLuint i; - uint32_t *pBCIBase; + u_int32_t *pBCIBase; pBCIBase = savageDMAAlloc (imesa, last - first + 2); - WRITE_CMD (pBCIBase, SET_REGISTER(first, last - first + 1), uint32_t); + WRITE_CMD (pBCIBase, SET_REGISTER(first, last - first + 1), u_int32_t); for (i = first - SAVAGE_FIRST_REG; i <= last - SAVAGE_FIRST_REG; ++i) { - WRITE_CMD (pBCIBase, imesa->regs.ui[i], uint32_t); + WRITE_CMD (pBCIBase, imesa->regs.ui[i], u_int32_t); imesa->oldRegs.ui[i] = imesa->regs.ui[i]; } savageDMACommit (imesa, pBCIBase); @@ -1443,7 +1443,7 @@ static void savageEmitChangedRegChunk (savageContextPtr imesa, } static void savageUpdateRegister_s4(savageContextPtr imesa) { - uint32_t *pBCIBase; + u_int32_t *pBCIBase; /* * Scissors updates drawctrl0 and drawctrl 1 @@ -1470,7 +1470,7 @@ static void savageUpdateRegister_s4(savageContextPtr imesa) * 0x1e-0x27 are local, no need to check them for global changes */ if (imesa->lostContext || savageGlobalRegChanged (imesa, 0x28, 0x39)) { pBCIBase = savageDMAAlloc (imesa, 1); - WRITE_CMD (pBCIBase, WAIT_3D_IDLE, uint32_t); + WRITE_CMD (pBCIBase, WAIT_3D_IDLE, u_int32_t); savageDMACommit (imesa, pBCIBase); } if (imesa->lostContext) @@ -1483,7 +1483,7 @@ static void savageUpdateRegister_s4(savageContextPtr imesa) } static void savageUpdateRegister_s3d(savageContextPtr imesa) { - uint32_t *pBCIBase; + u_int32_t *pBCIBase; if (imesa->scissorChanged) { @@ -1520,7 +1520,7 @@ static void savageUpdateRegister_s3d(savageContextPtr imesa) * 0x18-0x1c and 0x20-0x38. The first range is local. */ if (imesa->lostContext || savageGlobalRegChanged (imesa, 0x20, 0x38)) { pBCIBase = savageDMAAlloc (imesa, 1); - WRITE_CMD (pBCIBase, WAIT_3D_IDLE, uint32_t); + WRITE_CMD (pBCIBase, WAIT_3D_IDLE, u_int32_t); savageDMACommit (imesa, pBCIBase); } /* FIXME: watermark registers aren't programmed correctly ATM */ @@ -1711,9 +1711,9 @@ static void savageDDInitState_s3d( savageContextPtr imesa ) imesa->globalRegMask.s3d.zBufCtrl.ni.zBufEn = 0x1; } void savageDDInitState( savageContextPtr imesa ) { - memset (imesa->regs.ui, 0, SAVAGE_NR_REGS*sizeof(uint32_t)); - memset (imesa->oldRegs.ui, 0, SAVAGE_NR_REGS*sizeof(uint32_t)); - memset (imesa->globalRegMask.ui, 0xff, SAVAGE_NR_REGS*sizeof(uint32_t)); + memset (imesa->regs.ui, 0, SAVAGE_NR_REGS*sizeof(u_int32_t)); + memset (imesa->oldRegs.ui, 0, SAVAGE_NR_REGS*sizeof(u_int32_t)); + memset (imesa->globalRegMask.ui, 0xff, SAVAGE_NR_REGS*sizeof(u_int32_t)); if (imesa->savageScreen->chipset >= S3_SAVAGE4) savageDDInitState_s4 (imesa); else |