From 61e1618dce72828bfcd15bc60dd7e7bc0770b96d Mon Sep 17 00:00:00 2001 From: Rudolf Cornelissen Date: Sat, 22 Jan 2005 19:24:37 +0000 Subject: [PATCH] completed DMA buffer state vars to be all there. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10960 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/graphics/nvidia/DriverInterface.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/headers/private/graphics/nvidia/DriverInterface.h b/headers/private/graphics/nvidia/DriverInterface.h index fc81c0fcde..fdce4da29a 100644 --- a/headers/private/graphics/nvidia/DriverInterface.h +++ b/headers/private/graphics/nvidia/DriverInterface.h @@ -198,10 +198,11 @@ typedef struct { } fifo; struct { uint32 *cmdbuffer; /* location of DMA command buffer */ - uint32 put; /* */ - uint32 current; /* */ - uint32 free; /* */ - }dma; + uint32 put; /* last 32-bit-word adress given to engine to exec. to */ + uint32 current; /* first free 32-bit-word adress in buffer */ + uint32 free; /* nr. of useable free 32-bit words remaining in buffer */ + uint32 max; /* command buffer's useable size in 32-bit words */ + } dma; } engine; /* pointers to first and last free memory adress for 3D use: cardmem local offsets */