updated shared_info and defines for FIFO channel stuff
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10493 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -186,16 +186,10 @@ typedef struct {
|
|||||||
struct {
|
struct {
|
||||||
uint32 count; /* last dwgsync slot used */
|
uint32 count; /* last dwgsync slot used */
|
||||||
uint32 last_idle; /* last dwgsync slot we *know* the engine was idle after */
|
uint32 last_idle; /* last dwgsync slot we *know* the engine was idle after */
|
||||||
benaphore lock; /* for serializing access to the acceleration engine */
|
benaphore lock; /* for serializing access to the acc engine */
|
||||||
struct {
|
struct {
|
||||||
uint32 ch0; /* handles to engine commands active in FIFO channels */
|
uint32 handle[0x08]; /* FIFO channel's cmd handle for the owning cmd */
|
||||||
uint32 ch1;
|
uint32 ch_ptr[0x20]; /* cmd handle's ptr to it's assigned FIFO ch (if any) */
|
||||||
uint32 ch2;
|
|
||||||
uint32 ch3;
|
|
||||||
uint32 ch4;
|
|
||||||
uint32 ch5;
|
|
||||||
uint32 ch6;
|
|
||||||
uint32 ch7;
|
|
||||||
} fifo;
|
} fifo;
|
||||||
} engine;
|
} engine;
|
||||||
|
|
||||||
|
|||||||
@@ -9,8 +9,8 @@
|
|||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint32 reserved00[0x0004];
|
uint32 reserved00[0x0004];
|
||||||
uint16 FifoFree; /* little endian */
|
uint16 FifoFree; /* little endian (FIFO internal register) */
|
||||||
uint16 Nop; /* little endian */
|
uint16 Nop; /* little endian (FIFO internal register) */
|
||||||
uint32 reserved01[0x00bb];
|
uint32 reserved01[0x00bb];
|
||||||
uint32 Rop3; /* b0-7 is ROP3, b8-31 are not used */
|
uint32 Rop3; /* b0-7 is ROP3, b8-31 are not used */
|
||||||
} cmd_nv_rop5_solid;
|
} cmd_nv_rop5_solid;
|
||||||
|
|||||||
@@ -432,6 +432,7 @@
|
|||||||
#define NVACC_HT_VALUE_17 0x007100bc
|
#define NVACC_HT_VALUE_17 0x007100bc
|
||||||
|
|
||||||
/* acc engine fifo setup registers (for function_register 'mappings') */
|
/* acc engine fifo setup registers (for function_register 'mappings') */
|
||||||
|
#define NVACC_FIFO 0x00800000
|
||||||
#define NVACC_FIFO_00800000 0x00800000
|
#define NVACC_FIFO_00800000 0x00800000
|
||||||
#define NVACC_FIFO_00802000 0x00802000
|
#define NVACC_FIFO_00802000 0x00802000
|
||||||
#define NVACC_FIFO_00804000 0x00804000
|
#define NVACC_FIFO_00804000 0x00804000
|
||||||
|
|||||||
Reference in New Issue
Block a user