pal_linux_defs.h 664 B

12345678910111213141516171819202122232425262728
  1. #ifndef PAL_LINUX_DEFS_H
  2. #define PAL_LINUX_DEFS_H
  3. #define ENCLAVE_HIGH_ADDRESS 0x800000000
  4. #define SSAFRAMENUM 2
  5. #define MEMORY_GAP PRESET_PAGESIZE
  6. #define ENCLAVE_STACK_SIZE (PRESET_PAGESIZE * 64)
  7. #define DEAFULT_HEAP_MIN 0x10000
  8. #define TRACE_ECALL 1
  9. #define TRACE_OCALL 1
  10. #define DEBUG_ECALL 0
  11. #define DEBUG_OCALL 0
  12. #define TRUSTED_STUB_SIZE (PRESET_PAGESIZE * 4UL)
  13. #define CACHE_FILE_STUBS 1
  14. //#define USE_AES_NI 1
  15. #define PRINT_ENCLAVE_STAT 0
  16. #define MAX_ARGS_SIZE 10000000
  17. #define MAX_ENV_SIZE 10000000
  18. #define RED_ZONE_SIZE 128
  19. #endif /* PAL_LINUX_DEFS_H */