提交 e13dcc1a 编写于 作者: S Stuart Yoder 提交者: Alexander Graf

PPC: epapr: create define for return code value of success

Signed-off-by: NStuart Yoder <stuart.yoder@freescale.com>
Signed-off-by: NAlexander Graf <agraf@suse.de>
上级 3d11df7a
...@@ -88,7 +88,8 @@ ...@@ -88,7 +88,8 @@
#define _EV_HCALL_TOKEN(id, num) (((id) << 16) | (num)) #define _EV_HCALL_TOKEN(id, num) (((id) << 16) | (num))
#define EV_HCALL_TOKEN(hcall_num) _EV_HCALL_TOKEN(EV_EPAPR_VENDOR_ID, hcall_num) #define EV_HCALL_TOKEN(hcall_num) _EV_HCALL_TOKEN(EV_EPAPR_VENDOR_ID, hcall_num)
/* epapr error codes */ /* epapr return codes */
#define EV_SUCCESS 0
#define EV_EPERM 1 /* Operation not permitted */ #define EV_EPERM 1 /* Operation not permitted */
#define EV_ENOENT 2 /* Entry Not Found */ #define EV_ENOENT 2 /* Entry Not Found */
#define EV_EIO 3 /* I/O error occured */ #define EV_EIO 3 /* I/O error occured */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册