m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/harddoomdev.h
blob: 2c956f2167a389c50f9508ff0e2007b8ad2d8fd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef HARDDOOMDEV_H
#define HARDDOOMDEV_H

#include <linux/pci.h>

#include "doomdev.h"
#include "private_data.h"

void start_dev(struct pci_dev *dev);
void shutdown_dev(struct pci_dev *dev);

uint32_t get_interrupts(void __iomem *iomem);
void deactivate_intr(void __iomem *iomem, uint32_t intr);
void ping_sync(void __iomem *iomem);

void draw_line(struct surface_data *surface_data, struct doomdev_line line);
void fill_rect(struct surface_data *surface_data, struct doomdev_fill_rect rect);
void copy_rect(struct surface_data *dst_data, struct surface_data *src_data,
		struct doomdev_copy_rect rect);

#endif