forked from oscarlab/graphene-sgx-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathisgx_ksyms.h
27 lines (20 loc) · 812 Bytes
/
isgx_ksyms.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef _ISGX_KSYMS_H
#define _ISGX_KSYMS_H
#include "isgx_version.h"
#if SDK_DRIVER_VERSION < KERNEL_VERSION(1, 8, 0)
#include "linux-sgx-driver/isgx.h"
#include "ksyms.h"
extern IMPORT_KSYM_PROTO(isgx_ioctl_enclave_create, long,
struct file *filep, unsigned int cmd, unsigned long arg);
extern IMPORT_KSYM_PROTO(isgx_ioctl_enclave_init, long,
struct file *filep, unsigned int cmd, unsigned long arg);
extern IMPORT_KSYM_PROTO(isgx_ioctl_enclave_add_page, long,
struct file *filep, unsigned int cmd, unsigned long arg);
extern IMPORT_KSYM(isgx_enclave_release);
extern IMPORT_KSYM_PROTO(isgx_mmap, int,
struct file *, struct vm_area_struct *);
extern IMPORT_KSYM_PROTO(isgx_get_unmapped_area, unsigned long,
struct file *, unsigned long, unsigned long,
unsigned long, unsigned long);
#endif
#endif