updated shared_info once more for DMA cmdbuffer in main mem.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12838 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rudolf Cornelissen 2005-05-26 11:42:16 +00:00
parent 37dd6ec29e
commit e8f7b5623e

View File

@ -145,14 +145,14 @@ typedef struct {
space. */ space. */
area_id fb_area; /* Frame buffer's area_id. The addresses are shared with all teams. */ area_id fb_area; /* Frame buffer's area_id. The addresses are shared with all teams. */
area_id dma_buffer_area; /* Area assigned for DMA. It will be cloned into the accelerant's area_id unaligned_dma_area; /* Area assigned for DMA. It will be (partially) mapped to an
address space.*/ aligned area using MTRR-WC. */
area_id dma_area; /* Aligned area assigned for DMA. The addresses are shared with all teams. */
void *framebuffer; /* As viewed from virtual memory */ void *framebuffer; /* As viewed from virtual memory */
void *framebuffer_pci; /* As viewed from the PCI bus (for DMA) */ void *framebuffer_pci; /* As viewed from the PCI bus (for DMA) */
void *dma_buffer; /* As viewed from virtual memory */ void *dma_buffer; /* As viewed from virtual memory */
void *dma_buffer_pci; /* As viewed from the PCI bus */ void *dma_buffer_pci; /* As viewed from the PCI bus (for DMA) */
/*screenmode list*/ /*screenmode list*/
area_id mode_area; /* Contains the list of display modes the driver supports */ area_id mode_area; /* Contains the list of display modes the driver supports */
@ -198,7 +198,6 @@ typedef struct {
uint32 ch_ptr[0x20]; /* cmd handle's ptr to it's assigned FIFO ch (if any) */ uint32 ch_ptr[0x20]; /* cmd handle's ptr to it's assigned FIFO ch (if any) */
} fifo; } fifo;
struct { struct {
uint32 *cmdbuffer; /* (physical) location of DMA command buffer */
uint32 put; /* last 32-bit-word adress given to engine to exec. to */ uint32 put; /* last 32-bit-word adress given to engine to exec. to */
uint32 current; /* first free 32-bit-word adress in buffer */ uint32 current; /* first free 32-bit-word adress in buffer */
uint32 free; /* nr. of useable free 32-bit words remaining in buffer */ uint32 free; /* nr. of useable free 32-bit words remaining in buffer */