Files
intel-linux-sgx/SampleCode/Switchless
Zhang Lili Z 62dc69d355 Add 'const' to sgx_create_enclave_ex()
Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>
2018-08-07 22:31:27 +08:00
..
2018-07-03 10:48:20 +08:00
2018-07-03 10:48:20 +08:00

------------------------
Purpose of Switchlesss
------------------------
The project demonstrates how to use Fast OCalls provided by sgx_switchless.

------------------------------------
How to Build/Execute the Sample Code
------------------------------------
1. Install Intel(R) SGX SDK for Linux* OS
2. Build the project with the prepared Makefile:
    a. Hardware Mode, Debug build:
        $ make SGX_MODE=HW SGX_DEBUG=1
    b. Hardware Mode, Pre-release build:
        $ make SGX_MODE=HW SGX_PRERELEASE=1
    c. Hardware Mode, Release build:
        $ make SGX_MODE=HW
3. Execute the binary directly:
    $ ./app