From 7d8bc994de23c7b5d43862bbd8e6dcaf58a634fd Mon Sep 17 00:00:00 2001 From: aystarik Date: Wed, 29 Jun 2005 19:48:26 +0000 Subject: [PATCH] added octal macro date 2002.01.08.22.48.00; author rmoore1; state Exp; --- source/include/acmacros.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/include/acmacros.h b/source/include/acmacros.h index ad24b2ce8..7d39ffdd2 100644 --- a/source/include/acmacros.h +++ b/source/include/acmacros.h @@ -1,7 +1,7 @@ /****************************************************************************** * * Name: acmacros.h - C macros for the entire subsystem. - * $Revision: 1.105 $ + * $Revision: 1.106 $ * *****************************************************************************/ @@ -332,6 +332,7 @@ #define MASK_BITS_ABOVE(position) (~(((ACPI_INTEGER)(-1)) << ((UINT32) (position)))) #define MASK_BITS_BELOW(position) (((ACPI_INTEGER)(-1)) << ((UINT32) (position))) +#define IS_OCTAL_DIGIT(d) (((char)(d) >= '0') && ((char)(d) <= '7')) /* Macros for GAS addressing */