sgx_enclave.h 430 B

123456789101112
  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_enclave_start (const char ** arguments, const char ** environments);
  8. int ecall_thread_start (void);