/alps/bar_resolve

To get this branch, use:
bzr branch http://darksoft.org/webbzr/alps/bar_resolve

« back to all changes in this revision

Viewing changes to dev.h

  • Committer: Suren A. Chilingaryan
  • Date: 2016-03-02 05:45:24 UTC
  • Revision ID: csa@suren.me-20160302054524-aqefho92o0ljk3eh
Test application for resolving user-space BAR addresses

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 */