From d00b66ecf287a0846ec8e8a4480878c311f3ab50 Mon Sep 17 00:00:00 2001 From: Vreixo Formoso Date: Tue, 22 Jan 2008 11:22:25 +0100 Subject: [PATCH] Revert incorrect change of LIBISO_MSGS_PRIO_TOP. --- src/error.h | 5 ++--- src/libiso_msgs.h | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/error.h b/src/error.h index 6d73cbb..54062c3 100644 --- a/src/error.h +++ b/src/error.h @@ -34,7 +34,6 @@ * = 0x1 -> LOW * = 0x2 -> MEDIUM * = 0x3 -> HIGH - * = 0x7 -> TOP * bits 19-16 -> Reserved for future usage (maybe message ranges) * bits 15-0 -> Error code */ @@ -52,8 +51,8 @@ */ #define ISO_NONE 0 -/** Operation canceled (ERROR,TOP, -1) */ -#define ISO_CANCELED 0xEA70FFFF +/** Operation canceled (ERROR,HIGH, -1) */ +#define ISO_CANCELED 0xEA30FFFF /** Unknown or unexpected fatal error (FATAL,HIGH, -2) */ #define ISO_FATAL_ERROR 0xF030FFFE diff --git a/src/libiso_msgs.h b/src/libiso_msgs.h index 94407a0..7c29a91 100644 --- a/src/libiso_msgs.h +++ b/src/libiso_msgs.h @@ -172,7 +172,7 @@ struct libiso_msgs_item; #define LIBISO_MSGS_PRIO_LOW 0x10000000 #define LIBISO_MSGS_PRIO_MEDIUM 0x20000000 #define LIBISO_MSGS_PRIO_HIGH 0x30000000 -#define LIBISO_MSGS_PRIO_TOP 0x70000000 +#define LIBISO_MSGS_PRIO_TOP 0x7ffffffe /* Do not use this priority for submitting */ #define LIBISO_MSGS_PRIO_NEVER 0x7fffffff