corda/sgx-jvm/linux-sgx/sdk/tlibcxx
Tommy Lillehagen f21f8e7142
ENT-1187 - Update Intel SGX SDK (#165)
* Remove diverged copy of 'linux-sgx'

* Squashed 'sgx-jvm/linux-sgx/' content from commit 3699ffd5e

git-subtree-dir: sgx-jvm/linux-sgx
git-subtree-split: 3699ffd5ebd8e79d599301fa2e5814e2386cad2d

* ENT-1194 - Executable heap

* ENT-1194 - Placeholder for passing of enclave context to create_thread
2017-12-14 12:33:15 +00:00
..
include ENT-1187 - Update Intel SGX SDK (#165) 2017-12-14 12:33:15 +00:00
src Refresh linux-sgx to v1.9+ from upstream. (#42) 2017-09-13 14:52:21 +01:00
LICENSE.TXT Refresh linux-sgx to v1.9+ from upstream. (#42) 2017-09-13 14:52:21 +01:00
Makefile Refresh linux-sgx to v1.9+ from upstream. (#42) 2017-09-13 14:52:21 +01:00
README.sgx ENT-1187 - Update Intel SGX SDK (#165) 2017-12-14 12:33:15 +00:00

Version: 3.9

Changes:
    * Add __sgx to __config for SGX specific configuration.
    * Define _LIBCPP_HAS_NO_THREADS, _LIBCPP_HAS_NO_STDIN, _LIBCPP_HAS_NO_STDOUT, _LIBCPP_HAS_NO_GLOBAL_FILESYSTEM_NAMESPACE.
    * Use SGX C++ runtime library (cpprt from libcxxrt project ) instead.
    * Disable unsupported data types and interfaces.
    * Disable features that depend on I/O operations.
    * Use SGX mutex, condition variable and spinlock instead of libc++ implementation.
    * Use sgx_read_rand for generating random numbers.
    * Disable randon until we determine whether it's used safely.
    * Do not include Windows/Linux system headers directly.
    * Fix MSVC and GCC warnings with unused parameters.

TODO:
    * Merge SGX mutex and condition variable into libc++'s mutex and and condition variable.
    * Merge atomic support for ICC.
    * Update cpprt (libcxxrt project) or replace with libcxxabi (component of LLVM project).