diff options
Diffstat (limited to 'private_data.h')
-rw-r--r-- | private_data.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/private_data.h b/private_data.h index 38148bd..39ceba8 100644 --- a/private_data.h +++ b/private_data.h @@ -9,13 +9,19 @@ struct doom_data { struct device *device; struct device *pci_device; void __iomem *iomem; + struct mutex mutex; + struct semaphore ping_sem; + struct semaphore pong_sem; }; struct surface_data { struct doom_data *doom_data; int surface_size; + int width; + int height; int pages; + int total_bytes; uint8_t *surface_cpu; uint32_t *page_table_cpu; |