pal_linux_defs.h 705 B

12345678910111213141516171819202122232425
  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. #ifndef PAL_LINUX_DEFS_H
  4. #define PAL_LINUX_DEFS_H
  5. #define SSAFRAMENUM (2)
  6. #define MEMORY_GAP (PRESET_PAGESIZE)
  7. #define ENCLAVE_STACK_SIZE (PRESET_PAGESIZE * 16)
  8. #define ENCLAVE_MIN_ADDR (0x10000)
  9. #define TRACE_ECALL (1)
  10. #define TRACE_OCALL (1)
  11. #define DEBUG_ECALL (0)
  12. #define DEBUG_OCALL (0)
  13. #define SGX_HAS_FSGSBASE (1)
  14. #define TRUSTED_STUB_SIZE (PRESET_PAGESIZE * 32)
  15. #define CACHE_FILE_STUBS (1)
  16. #define USE_AES_NI (1)
  17. #endif /* PAL_LINUX_DEFS_H */