DeviceQueue: Added device queue errors
authorRoni Häcki <roni.haecki@inf.ethz.ch>
Fri, 12 Aug 2016 09:13:13 +0000 (11:13 +0200)
committerRoni Häcki <roni.haecki@inf.ethz.ch>
Fri, 12 Aug 2016 09:13:13 +0000 (11:13 +0200)
Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

errors/errno.fugu

index 51cb292..3c0f872 100755 (executable)
@@ -1216,3 +1216,13 @@ errors cpuid CPUID_ERR_ {
     failure UNKNOWN_VENDOR          "The CPU vendor is not supported",
     failure INVALID_INDEX           "There is no leaf with this index",
 };
+
+errors cpuid DEVQ_ERR_ {
+    failure BUFFER_ID               "Could not get a buffer id.",
+    failure BUFFER_NOT_IN_REGION    "The buffer id is not in this region",
+    failure BUFFER_ALREADY_IN_USE   "The buffer is already in use",
+    failure BUFFER_NOT_IN_USE       "The buffer not in use",
+    failure TX_FULL                 "Send queue full",
+    failure RX_FULL                 "Receive queue full",
+};
+