Skip to content

Commit

Permalink
Switched value of error code in ref to comment on pull #22
Browse files Browse the repository at this point in the history
  • Loading branch information
dkohlbre committed Mar 9, 2019
1 parent f9f201f commit 7b8fe72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sm.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#define SBI_SM_NOT_IMPLEMENTED 1111

/* error codes */
#define ENCLAVE_NO_FREE_RESOURCE (enclave_ret_t)-3U
#define ENCLAVE_NOT_IMPLEMENTED (enclave_ret_t)-2U
#define ENCLAVE_UNKNOWN_ERROR (enclave_ret_t)-1U
#define ENCLAVE_SUCCESS (enclave_ret_t)0
Expand All @@ -39,6 +38,7 @@
#define ENCLAVE_NOT_RESUMABLE (enclave_ret_t)10
#define ENCLAVE_EDGE_CALL_HOST (enclave_ret_t)11
#define ENCLAVE_NOT_INITIALIZED (enclave_ret_t)12
#define ENCLAVE_NO_FREE_RESOURCE (enclave_ret_t)13

#define PMP_UNKNOWN_ERROR -1U
#define PMP_SUCCESS 0
Expand Down

0 comments on commit 7b8fe72

Please sign in to comment.