#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/fs.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/proc_fs.h>
#include <linux/fcntl.h>
#include <linux/aio.h>
#include <linux/pagemap.h>
#include <linux/hugetlb.h>
#include <linux/uaccess.h>
#include <linux/platform_device.h>
#include <hv/hypervisor.h>
#include <linux/ioctl.h>
#include <linux/cdev.h>
#include <linux/delay.h>
#include <hv/drv_srom_intf.h>
Go to the source code of this file.
#define SROM_CHUNK_SIZE ((size_t)4096) |
#define SROM_MAX_WAIT_TRY_TIMES 1000 |
#define SROM_WAIT_TRY_INTERVAL 20 |
MODULE_AUTHOR |
( |
"Tilera Corporation" |
| ) |
|
module_exit |
( |
srom_cleanup |
| ) |
|
module_init |
( |
srom_init |
| ) |
|
module_param |
( |
srom_major |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
loff_t srom_llseek |
( |
struct file * |
filp, |
|
|
loff_t |
offset, |
|
|
int |
origin |
|
) |
| |