Before this commit, using custom C types in ECalls/OCalls defined in Occlum's EDL is cumbersme. Now this issue is resolved by providing `occlum_edl_types.h` header file. There are two versions of this file: one is under `src/libos/include/edl/` for LibOS, the other is under `src/pal/include/edl/` for PAL. So now to define a new custom C type, just edit the two versions of `occlum_edl_types.h` to define the type. |
||
---|---|---|
.. | ||
libos | ||
pal | ||
run | ||
Enclave.edl | ||
Makefile | ||
sgxenv.mk |