sgx_enclave.h 555 B

1234567891011121314
  1. /* -*- mode:c; c-file-style:"k&r"; c-basic-offset: 4; tab-width:4; indent-tabs-mode:nil; mode:auto-fill; fill-column:78; -*- */
  2. /* vim: set ts=4 sw=4 et tw=78 fo=cqt wm=0: */
  3. #include "pal_linux.h"
  4. #include "pal_security.h"
  5. #define assert(cond) \
  6. do { if (!(cond)) INLINE_SYSCALL(exit_group, 1, 0); } while (0);
  7. int ecall_pal_main (const char ** arguments, const char ** environments);
  8. int ecall_thread_start (void (*func) (void *, void *),
  9. void * args, unsigned int * child_tid,
  10. unsigned int tid);