1 /* 2 * OpenBIOS - free your system! 3 * ( firmware/flash device driver for Linux ) 4 * 5 * bios.h - compile time configuration and globals 6 * 7 * This program is part of a free implementation of the IEEE 1275-1994 8 * Standard for Boot (Initialization Configuration) Firmware. 9 * 10 * Copyright (C) 1998-2004 Stefan Reinauer 11 * 12 * This program is free software; you can redistribute it and/or modify 13 * it under the terms of the GNU General Public License as published by 14 * the Free Software Foundation; version 2 of the License. 15 * 16 * This program is distributed in the hope that it will be useful, 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 * GNU General Public License for more details. 20 * 21 * You should have received a copy of the GNU General Public License 22 * along with this program; if not, write to the Free Software 23 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA, 02110-1301 USA 24 * 25 */ 26 27 #include <linux/spinlock.h> 28 29 #define BIOS_MAJOR 104 30 #define BIOS_MAXDEV 8 31 #define BIOS_VERSION "0.4rc1" 32 33 // #define UTC_BIOS 34 35 extern int write; 36 extern unsigned char *bios; 37 extern spinlock_t bios_lock; 38 39