isgx_ksyms.h 812 B

123456789101112131415161718192021222324252627
  1. #ifndef _ISGX_KSYMS_H
  2. #define _ISGX_KSYMS_H
  3. #include "isgx_version.h"
  4. #if SDK_DRIVER_VERSION < KERNEL_VERSION(1, 8, 0)
  5. #include "linux-sgx-driver/isgx.h"
  6. #include "ksyms.h"
  7. extern IMPORT_KSYM_PROTO(isgx_ioctl_enclave_create, long,
  8. struct file *filep, unsigned int cmd, unsigned long arg);
  9. extern IMPORT_KSYM_PROTO(isgx_ioctl_enclave_init, long,
  10. struct file *filep, unsigned int cmd, unsigned long arg);
  11. extern IMPORT_KSYM_PROTO(isgx_ioctl_enclave_add_page, long,
  12. struct file *filep, unsigned int cmd, unsigned long arg);
  13. extern IMPORT_KSYM(isgx_enclave_release);
  14. extern IMPORT_KSYM_PROTO(isgx_mmap, int,
  15. struct file *, struct vm_area_struct *);
  16. extern IMPORT_KSYM_PROTO(isgx_get_unmapped_area, unsigned long,
  17. struct file *, unsigned long, unsigned long,
  18. unsigned long, unsigned long);
  19. #endif
  20. #endif