summaryrefslogtreecommitdiffstats
path: root/src/include/errno.h
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2011-08-11 13:30:16 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2011-08-17 12:28:02 -0500
commit20b03fdaeb7414fdf9d43634976ca1ab5fbac7f1 (patch)
tree68944cdfb04e9468eeffe81e9b1ab71cf4475d2f /src/include/errno.h
parenteede7fac946b94294433c675a6ed6c135a53b4fc (diff)
downloadtalos-hostboot-20b03fdaeb7414fdf9d43634976ca1ab5fbac7f1.tar.gz
talos-hostboot-20b03fdaeb7414fdf9d43634976ca1ab5fbac7f1.zip
Finishing up PNOR RP code (RTC Task 3440)
-Add calls to mm_alloc_block -Fix error responses to message -Cleanup some error handling -Code review updates Final piece of the PNOR puzzle - Task 3389 -Also added a check to autocitest that will catch initialization fails. -Added some error printks to message interface -Disabled test_messageReadWrite testcase Change-Id: I4f1207138a6cf4f86cf2b6f3f81fc5885b02699d Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/252 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/errno.h')
-rw-r--r--src/include/errno.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/errno.h b/src/include/errno.h
index 8833457ee..8fe67c672 100644
--- a/src/include/errno.h
+++ b/src/include/errno.h
@@ -1,8 +1,11 @@
#ifndef _ERRNO_H
#define _ERRNO_H
+#define EIO 5 // I/O error
#define EAGAIN 11 // Try again
-#define EWOULDBLOCK EAGAIN // operation would block
+#define EFAULT 14 // Bad address
#define EINVAL 22 // Invalid argument
+#define EWOULDBLOCK EAGAIN // operation would block
+
#endif
OpenPOWER on IntegriCloud