mirror of
https://github.com/intel/linux-sgx
synced 2026-06-08 14:49:32 +00:00
a169a69497
Support for Switchless Calls Bug fixes Signed-off-by: Li, Xun <xun.li@intel.com>
20 lines
620 B
Plaintext
20 lines
620 B
Plaintext
------------------------
|
|
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
|
|
|