equal
deleted
inserted
replaced
35 #define VVI_PARAMETERS_INPUT_MEMORY_SIZE 0x01000000 |
35 #define VVI_PARAMETERS_INPUT_MEMORY_SIZE 0x01000000 |
36 |
36 |
37 #define VVI_PARAMETERS_OUTPUT_BASE_ADDRESS VVI_BASE + 0x01000000 |
37 #define VVI_PARAMETERS_OUTPUT_BASE_ADDRESS VVI_BASE + 0x01000000 |
38 #define VVI_PARAMETERS_OUTPUT_MEMORY_SIZE 0x01000000 |
38 #define VVI_PARAMETERS_OUTPUT_MEMORY_SIZE 0x01000000 |
39 |
39 |
40 #define VVI_FRAMEBUFFER_BASE_ADDRESS VVI_BASE + 0x02000000 |
40 #define VVI_SURFACEBUFFER_BASE_ADDRESS VVI_BASE + 0x02000000 |
41 #define VVI_FRAMEBUFFER_MEMORY_SIZE 0x01000000 |
41 #define VVI_SURFACEBUFFER_MEMORY_SIZE 0x01000000 |
42 |
42 |
43 // register indices, TODO: cleanup needed, some are not used |
43 // register indices, TODO: cleanup needed, some are not used |
44 #define VVI_R_ID 0x0000 |
44 #define VVI_R_ID 0x0000 |
45 #define VVI_R_IRQ_ENABLE 0x0004 |
45 #define VVI_R_IRQ_ENABLE 0x0004 |
46 #define VVI_R_IRQ_STATUS 0x0008 |
46 #define VVI_R_IRQ_STATUS 0x0008 |
52 #define VVI_R_INPUT_BUFFER_READ_COUNT 0x0020 |
52 #define VVI_R_INPUT_BUFFER_READ_COUNT 0x0020 |
53 #define VVI_R_INPUT_BUFFER_WRITE_COUNT 0x0024 |
53 #define VVI_R_INPUT_BUFFER_WRITE_COUNT 0x0024 |
54 #define VVI_R_INPUT_BUFFER_MAX_TAIL 0x0028 |
54 #define VVI_R_INPUT_BUFFER_MAX_TAIL 0x0028 |
55 #define VVI_R_REQUEST_ID 0x002c |
55 #define VVI_R_REQUEST_ID 0x002c |
56 #define VVI_R_SHARED_CMD_MEMORY_BASE 0x0030 |
56 #define VVI_R_SHARED_CMD_MEMORY_BASE 0x0030 |
57 #define VVI_R_SHARED_FRAMEBUFFER_MEMORY_BASE 0x0034 |
57 #define VVI_R_SHARED_SURFACEBUFFER_MEMORY_BASE 0x0034 |
58 #define VVI_R_LASTREG 0x0038 // not a register, address of last register |
58 #define VVI_R_LASTREG 0x0038 // not a register, address of last register |
59 |
59 |
60 // COMMAND register values |
60 // COMMAND register values |
61 #define VVI_EXECUTE 0 |
61 #define VVI_EXECUTE 0 |
62 |
62 |