Fix up parse word so that it can correctly handle empty arguments and (encode-bootpat...
[openbios.git] / utils / devbios / bios.h
blobb27372d04bb1841a19dc8e9ab9b1566c65ae1b91
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.
10 * Copyright (C) 1998-2004 Stefan Reinauer, <stepan@openbios.org>
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.
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.
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
27 #include <linux/spinlock.h>
29 #define BIOS_MAJOR 104
30 #define BIOS_MAXDEV 8
31 #define BIOS_VERSION "0.4rc1"
33 // #define UTC_BIOS
35 extern int write;
36 extern unsigned char *bios;
37 extern spinlock_t bios_lock;