From cbc6f5f54a798af609e48fc5a95be2c6f82ca208 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 23 Oct 1995 09:18:23 +0000 Subject: add EE_TRUE and EE_FALSE --- sys/arch/sparc/include/eeprom.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'sys/arch') diff --git a/sys/arch/sparc/include/eeprom.h b/sys/arch/sparc/include/eeprom.h index 6ef5aedc2cd..0f47f5b41f2 100644 --- a/sys/arch/sparc/include/eeprom.h +++ b/sys/arch/sparc/include/eeprom.h @@ -36,6 +36,15 @@ * a ROM section, and a software section (defined in detail elsewhere). */ +/* + * Note that most places where the PROM stores a "true/false" flag, + * the true value is 0x12 and false is the usual zero. Such flags + * all take the values EE_TRUE or EE_FALSE so this file does not + * need to define so many value macros. + */ +#define EE_TRUE 0x12 +#define EE_FALSE 0x00 + struct ee_keymap { u_char keymap[128]; /* PROM/EEPROM are 7 bit */ }; -- cgit v1.2.3