aboutsummaryrefslogtreecommitdiff
path: root/libqcdm/src/errors.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2012-01-05 12:29:03 -0600
committerDan Williams <dcbw@redhat.com>2012-01-05 12:29:03 -0600
commit62d26479ff70f353bf81d0971397017ae2e353fc (patch)
treee727d9f375744922f9511ee6f52bba9d521855f6 /libqcdm/src/errors.h
parent6e961ddd83b9f5aea64ee73ecb1398a3466d5509 (diff)
qcdm: better handle NV item read/write status codes
Diffstat (limited to 'libqcdm/src/errors.h')
-rw-r--r--libqcdm/src/errors.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libqcdm/src/errors.h b/libqcdm/src/errors.h
index e275ae33..51b7155c 100644
--- a/libqcdm/src/errors.h
+++ b/libqcdm/src/errors.h
@@ -45,6 +45,13 @@ enum {
QCDM_ERROR_RESPONSE_BAD_MODE = 10,
QCDM_ERROR_NVCMD_FAILED = 11,
QCDM_ERROR_SPC_LOCKED = 12,
+ QCDM_ERROR_NV_ERROR_BUSY = 13,
+ QCDM_ERROR_NV_ERROR_BAD_COMMAND = 14,
+ QCDM_ERROR_NV_ERROR_MEMORY_FULL = 15,
+ QCDM_ERROR_NV_ERROR_FAILED = 16,
+ QCDM_ERROR_NV_ERROR_INACTIVE = 17, /* NV location is not active */
+ QCDM_ERROR_NV_ERROR_BAD_PARAMETER = 18,
+ QCDM_ERROR_NV_ERROR_READ_ONLY = 19, /* NV location is read-only */
};
#define qcdm_assert assert