From 76143091a6a0d946a2408ff34f8e257b93766fbf Mon Sep 17 00:00:00 2001 From: "YiLin.Li" Date: Wed, 16 Sep 2020 15:16:40 +0000 Subject: [PATCH] rune/libenclave/pal: fix the PAL version API description error in spec_v2.md In enclave runtime PAL v2, the API of PAL version is named as pal_get_version rather than pal_version. Signed-off-by: Yilin Li --- rune/libenclave/internal/runtime/pal/spec_v2.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rune/libenclave/internal/runtime/pal/spec_v2.md b/rune/libenclave/internal/runtime/pal/spec_v2.md index 4a3216a..997fedd 100644 --- a/rune/libenclave/internal/runtime/pal/spec_v2.md +++ b/rune/libenclave/internal/runtime/pal/spec_v2.md @@ -1,14 +1,14 @@ # Enclave Runtime PAL API Specification v2 Enclave Runtime PAL API defines a common interface to interact between `rune` and enclave runtime. -## 1.pal_version() +## 1.pal_get_version() ### Description Indicate PAL API version number implemented by runelet and enclave runtime; runelet is compatible with any enclave runtimes equal to or less than the indicated value. If this symbol is undefined in enclave runtime, version 1 is assuemd by runelet. ### Prototype ```c -int pal_version(); +int pal_get_version(); ``` ### Parameters -- GitLab