bzr branch
http://darksoft.org/webbzr/alps/bar_resolve
1
by Suren A. Chilingaryan
Test application for resolving user-space BAR addresses |
1 |
#ifndef _TEST_DEV_H
|
2 |
#define _TEST_DEV_H
|
|
3 |
||
4 |
#include <linux/fs.h> |
|
5 |
||
6 |
typedef struct { |
|
7 |
dev_t devno; |
|
8 |
struct device *dev; /**< Class device */ |
|
9 |
||
10 |
unsigned long addr; |
|
11 |
||
12 |
struct cdev cdev; |
|
13 |
} test_dev_t; |
|
14 |
||
15 |
const struct file_operations *test_get_fops(void); |
|
16 |
||
17 |
#endif /* _TEST_BASE_H */ |