OpenBIOS
Threads by month
- ----- 2025 -----
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2004 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2003 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2002 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2001 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2000 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1999 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1998 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1997 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1996 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1995 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1994 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1993 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1992 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1991 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1990 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1989 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1988 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1987 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1986 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1985 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1984 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1983 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1982 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1981 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1980 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1979 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1978 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1977 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1976 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1975 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1974 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1973 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1972 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1971 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1970 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1969 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1968 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1967 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1966 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1965 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1964 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1963 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1962 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1961 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1960 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1959 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1958 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1957 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1956 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1955 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1954 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1953 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1952 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1951 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1950 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1949 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1948 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1947 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1946 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1945 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1944 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1943 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1942 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1941 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1940 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1939 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1938 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1937 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1936 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1935 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1934 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1933 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1932 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1931 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1930 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1929 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1928 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1927 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1926 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1925 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1924 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1923 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1922 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1921 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1920 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1919 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1918 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1917 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1916 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1915 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1914 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1913 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1912 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1911 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1910 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1909 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1908 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1907 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1906 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1905 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1904 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
April 2010
- 14 participants
- 65 discussions

April 26, 2010
Author: stepan
Date: Mon Apr 26 19:07:49 2010
New Revision: 760
URL: http://tracker.coreboot.org/trac/openbios/changeset/760
Log:
push version number.
Modified:
trunk/fcode-utils-devel/detok/detok.c
trunk/fcode-utils-devel/toke/toke.c
Modified: trunk/fcode-utils-devel/detok/detok.c
==============================================================================
--- trunk/fcode-utils-devel/detok/detok.c Mon Apr 26 19:01:01 2010 (r759)
+++ trunk/fcode-utils-devel/detok/detok.c Mon Apr 26 19:07:49 2010 (r760)
@@ -45,9 +45,9 @@
#include "stream.h"
#include "addfcodes.h"
-#define DETOK_VERSION "1.0.2"
+#define DETOK_VERSION "1.0.3"
-#define CORE_COPYR "(C) Copyright 2001-2006 Stefan Reinauer.\n" \
+#define CORE_COPYR "(C) Copyright 2001-2010 Stefan Reinauer.\n" \
"(C) Copyright 2006 coresystems GmbH <info(a)coresystems.de>"
#define IBM_COPYR "(C) Copyright 2005 IBM Corporation. All Rights Reserved."
@@ -65,9 +65,9 @@
char buffr[512];
sprintf(buffr,
- "Welcome to detok - OpenBIOS detokenizer v" DETOK_VERSION "\n"
+ "Welcome to detok - FCode detokenizer v" DETOK_VERSION "\n"
CORE_COPYR "\n" IBM_COPYR "\n"
- "Written by Stefan Reinauer, <stepan(a)openbios.org>\n"
+ "Written by Stefan Reinauer <stepan(a)openbios.org>\n"
"This program is free software; you may redistribute it "
"under the terms of\nthe GNU General Public License v2. "
"This program has absolutely no warranty.\n\n");
Modified: trunk/fcode-utils-devel/toke/toke.c
==============================================================================
--- trunk/fcode-utils-devel/toke/toke.c Mon Apr 26 19:01:01 2010 (r759)
+++ trunk/fcode-utils-devel/toke/toke.c Mon Apr 26 19:07:49 2010 (r760)
@@ -46,8 +46,7 @@
#include "stack.h"
#include "emit.h"
-#define TOKE_VERSION "1.0.2"
-#define TOKE_COPYRIGHT_DATE "2001-2006"
+#define TOKE_VERSION "1.0.3"
#include "vocabfuncts.h"
#include "scanner.h"
@@ -56,7 +55,7 @@
#include "clflags.h"
#include "tracesyms.h"
-#define CORE_COPYR "(C) Copyright 2001-2006 Stefan Reinauer.\n" \
+#define CORE_COPYR "(C) Copyright 2001-2010 Stefan Reinauer.\n" \
"(C) Copyright 2006 coresystems GmbH <info(a)coresystems.de>"
#define IBM_COPYR "(C) Copyright 2005 IBM Corporation. All Rights Reserved."
@@ -100,7 +99,7 @@
**************************************************************************** */
static void print_copyright(void)
{
- printf( "Welcome to toke - OpenBIOS tokenizer v" TOKE_VERSION "\n"
+ printf( "Welcome to toke - FCode tokenizer v" TOKE_VERSION "\n"
CORE_COPYR "\n" IBM_COPYR "\n"
"This program is free software; you may redistribute it "
"under the terms of\nthe GNU General Public License v2. "
1
0

[commit] r758 - in trunk/fcode-utils-devel: detok romheaders toke
by repository service April 26, 2010
by repository service April 26, 2010
April 26, 2010
Author: stepan
Date: Mon Apr 26 17:57:21 2010
New Revision: 758
URL: http://tracker.coreboot.org/trac/openbios/changeset/758
Log:
update headers
Modified:
trunk/fcode-utils-devel/detok/Makefile
trunk/fcode-utils-devel/detok/addfcodes.c
trunk/fcode-utils-devel/detok/addfcodes.h
trunk/fcode-utils-devel/detok/decode.c
trunk/fcode-utils-devel/detok/detok.c
trunk/fcode-utils-devel/detok/detok.h
trunk/fcode-utils-devel/detok/dictionary.c
trunk/fcode-utils-devel/detok/pcihdr.c
trunk/fcode-utils-devel/detok/printformats.c
trunk/fcode-utils-devel/detok/stream.c
trunk/fcode-utils-devel/detok/stream.h
trunk/fcode-utils-devel/romheaders/Makefile
trunk/fcode-utils-devel/romheaders/romheaders.c
trunk/fcode-utils-devel/toke/conditl.c
trunk/fcode-utils-devel/toke/conditl.h
trunk/fcode-utils-devel/toke/devnode.c
trunk/fcode-utils-devel/toke/devnode.h
trunk/fcode-utils-devel/toke/dictionary.c
trunk/fcode-utils-devel/toke/dictionary.h
trunk/fcode-utils-devel/toke/emit.h
trunk/fcode-utils-devel/toke/errhandler.c
trunk/fcode-utils-devel/toke/errhandler.h
trunk/fcode-utils-devel/toke/flowcontrol.c
trunk/fcode-utils-devel/toke/flowcontrol.h
trunk/fcode-utils-devel/toke/macros.c
trunk/fcode-utils-devel/toke/macros.h
trunk/fcode-utils-devel/toke/nextfcode.c
trunk/fcode-utils-devel/toke/nextfcode.h
trunk/fcode-utils-devel/toke/parselocals.c
trunk/fcode-utils-devel/toke/parselocals.h
trunk/fcode-utils-devel/toke/scanner.c
trunk/fcode-utils-devel/toke/scanner.h
trunk/fcode-utils-devel/toke/stack.c
trunk/fcode-utils-devel/toke/stack.h
trunk/fcode-utils-devel/toke/stream.c
trunk/fcode-utils-devel/toke/stream.h
trunk/fcode-utils-devel/toke/strsubvocab.c
trunk/fcode-utils-devel/toke/strsubvocab.h
trunk/fcode-utils-devel/toke/ticvocab.c
trunk/fcode-utils-devel/toke/ticvocab.h
trunk/fcode-utils-devel/toke/toke.c
trunk/fcode-utils-devel/toke/toke.h
trunk/fcode-utils-devel/toke/tokzesc.c
trunk/fcode-utils-devel/toke/tokzesc.h
trunk/fcode-utils-devel/toke/tracesyms.c
trunk/fcode-utils-devel/toke/tracesyms.h
trunk/fcode-utils-devel/toke/usersymbols.c
trunk/fcode-utils-devel/toke/usersymbols.h
trunk/fcode-utils-devel/toke/vocabfuncts.h
Modified: trunk/fcode-utils-devel/detok/Makefile
==============================================================================
--- trunk/fcode-utils-devel/detok/Makefile Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/detok/Makefile Mon Apr 26 17:57:21 2010 (r758)
@@ -1,11 +1,11 @@
#
# OpenBIOS - free your system!
-# ( Utilities )
+# ( FCode detokenizer )
#
# This program is part of a free implementation of the IEEE 1275-1994
# Standard for Boot (Initialization Configuration) Firmware.
#
-# Copyright (C) 2001-2006 Stefan Reinauer <stepan(a)openbios.org>
+# Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
# Copyright (C) 2006-2009 coresystems GmbH <info(a)coresystems.de>
#
# This program is free software; you can redistribute it and/or modify
Modified: trunk/fcode-utils-devel/detok/addfcodes.c
==============================================================================
--- trunk/fcode-utils-devel/detok/addfcodes.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/detok/addfcodes.c Mon Apr 26 17:57:21 2010 (r758)
@@ -1,11 +1,11 @@
/*
* OpenBIOS - free your system!
- * ( FCode tokenizer )
+ * ( FCode detokenizer )
*
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/detok/addfcodes.h
==============================================================================
--- trunk/fcode-utils-devel/detok/addfcodes.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/detok/addfcodes.h Mon Apr 26 17:57:21 2010 (r758)
@@ -1,14 +1,11 @@
-#ifndef _DETOK_VSFCODES_H
-#define _DETOK_VSFCODES_H
-
/*
* OpenBIOS - free your system!
- * ( FCode tokenizer )
+ * ( FCode detokenizer )
*
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -35,6 +32,9 @@
*
**************************************************************************** */
+#ifndef _DETOK_VSFCODES_H
+#define _DETOK_VSFCODES_H
+
#include "types.h"
/* ************************************************************************** *
Modified: trunk/fcode-utils-devel/detok/decode.c
==============================================================================
--- trunk/fcode-utils-devel/detok/decode.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/detok/decode.c Mon Apr 26 17:57:21 2010 (r758)
@@ -1,13 +1,13 @@
/*
* OpenBIOS - free your system!
- * ( detokenizer )
+ * ( FCode detokenizer )
*
* decode.c - contains output wrappers for fcode words.
*
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/detok/detok.c
==============================================================================
--- trunk/fcode-utils-devel/detok/detok.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/detok/detok.c Mon Apr 26 17:57:21 2010 (r758)
@@ -1,13 +1,13 @@
/*
* OpenBIOS - free your system!
- * ( detokenizer )
+ * ( FCode detokenizer )
*
* detok.c parameter parsing and main detokenizer loop.
*
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2006 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
* Copyright (C) 2006 coresystems GmbH <info(a)coresystems.de>
*
* This program is free software; you can redistribute it and/or modify
Modified: trunk/fcode-utils-devel/detok/detok.h
==============================================================================
--- trunk/fcode-utils-devel/detok/detok.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/detok/detok.h Mon Apr 26 17:57:21 2010 (r758)
@@ -3,14 +3,14 @@
/*
* OpenBIOS - free your system!
- * ( detokenizer )
+ * ( FCode detokenizer )
*
* detok.h - detokenizer base macros.
*
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/detok/dictionary.c
==============================================================================
--- trunk/fcode-utils-devel/detok/dictionary.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/detok/dictionary.c Mon Apr 26 17:57:21 2010 (r758)
@@ -1,13 +1,13 @@
/*
* OpenBIOS - free your system!
- * ( detokenizer )
+ * ( FCode detokenizer )
*
* dictionary.c - dictionary initialization and functions.
*
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/detok/pcihdr.c
==============================================================================
--- trunk/fcode-utils-devel/detok/pcihdr.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/detok/pcihdr.c Mon Apr 26 17:57:21 2010 (r758)
@@ -1,11 +1,11 @@
/*
* OpenBIOS - free your system!
- * ( FCode tokenizer )
+ * ( FCode detokenizer )
*
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/detok/printformats.c
==============================================================================
--- trunk/fcode-utils-devel/detok/printformats.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/detok/printformats.c Mon Apr 26 17:57:21 2010 (r758)
@@ -1,11 +1,11 @@
/*
* OpenBIOS - free your system!
- * ( FCode tokenizer )
+ * ( FCode detokenizer )
*
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/detok/stream.c
==============================================================================
--- trunk/fcode-utils-devel/detok/stream.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/detok/stream.c Mon Apr 26 17:57:21 2010 (r758)
@@ -1,13 +1,13 @@
/*
* OpenBIOS - free your system!
- * ( detokenizer )
+ * ( FCode detokenizer )
*
* stream.c - FCode program bytecode streaming from file.
*
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/detok/stream.h
==============================================================================
--- trunk/fcode-utils-devel/detok/stream.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/detok/stream.h Mon Apr 26 17:57:21 2010 (r758)
@@ -1,16 +1,13 @@
-#ifndef _UTILS_DETOK_STREAM_H
-#define _UTILS_DETOK_STREAM_H
-
/*
* OpenBIOS - free your system!
- * ( detokenizer )
+ * ( FCode detokenizer )
*
* stream.h - prototypes for fcode streaming functions.
*
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -33,6 +30,9 @@
* Modifications Author: David L. Paktor dlpaktor(a)us.ibm.com
**************************************************************************** */
+#ifndef _UTILS_DETOK_STREAM_H
+#define _UTILS_DETOK_STREAM_H
+
#include "types.h"
/* Prototypes for functions exported from stream.c */
Modified: trunk/fcode-utils-devel/romheaders/Makefile
==============================================================================
--- trunk/fcode-utils-devel/romheaders/Makefile Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/romheaders/Makefile Mon Apr 26 17:57:21 2010 (r758)
@@ -5,7 +5,7 @@
# This program is part of a free implementation of the IEEE 1275-1994
# Standard for Boot (Initialization Configuration) Firmware.
#
-# Copyright (C) 2002 Stefan Reinauer, <stepan(a)openbios.org>
+# Copyright (C) 2002-2010 Stefan Reinauer <stepan(a)openbios.org>
# Copyright (C) 2009 coresystems GmbH <info(a)coresystems.de>
#
# This program is free software; you can redistribute it and/or modify
Modified: trunk/fcode-utils-devel/romheaders/romheaders.c
==============================================================================
--- trunk/fcode-utils-devel/romheaders/romheaders.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/romheaders/romheaders.c Mon Apr 26 17:57:21 2010 (r758)
@@ -5,7 +5,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
* Copyright (C) 2006 coresystems GmbH <info(a)coresystems.de>
*
* This program is free software; you can redistribute it and/or modify
@@ -240,5 +240,4 @@
return 0;
}
-
-
+
Modified: trunk/fcode-utils-devel/toke/conditl.c
==============================================================================
--- trunk/fcode-utils-devel/toke/conditl.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/conditl.c Mon Apr 26 17:57:21 2010 (r758)
@@ -5,7 +5,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/conditl.h
==============================================================================
--- trunk/fcode-utils-devel/toke/conditl.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/conditl.h Mon Apr 26 17:57:21 2010 (r758)
@@ -8,7 +8,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/devnode.c
==============================================================================
--- trunk/fcode-utils-devel/toke/devnode.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/devnode.c Mon Apr 26 17:57:21 2010 (r758)
@@ -5,7 +5,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/devnode.h
==============================================================================
--- trunk/fcode-utils-devel/toke/devnode.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/devnode.h Mon Apr 26 17:57:21 2010 (r758)
@@ -8,7 +8,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/dictionary.c
==============================================================================
--- trunk/fcode-utils-devel/toke/dictionary.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/dictionary.c Mon Apr 26 17:57:21 2010 (r758)
@@ -7,7 +7,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/dictionary.h
==============================================================================
--- trunk/fcode-utils-devel/toke/dictionary.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/dictionary.h Mon Apr 26 17:57:21 2010 (r758)
@@ -10,7 +10,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/emit.h
==============================================================================
--- trunk/fcode-utils-devel/toke/emit.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/emit.h Mon Apr 26 17:57:21 2010 (r758)
@@ -10,7 +10,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/errhandler.c
==============================================================================
--- trunk/fcode-utils-devel/toke/errhandler.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/errhandler.c Mon Apr 26 17:57:21 2010 (r758)
@@ -5,7 +5,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/errhandler.h
==============================================================================
--- trunk/fcode-utils-devel/toke/errhandler.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/errhandler.h Mon Apr 26 17:57:21 2010 (r758)
@@ -8,7 +8,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/flowcontrol.c
==============================================================================
--- trunk/fcode-utils-devel/toke/flowcontrol.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/flowcontrol.c Mon Apr 26 17:57:21 2010 (r758)
@@ -5,7 +5,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/flowcontrol.h
==============================================================================
--- trunk/fcode-utils-devel/toke/flowcontrol.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/flowcontrol.h Mon Apr 26 17:57:21 2010 (r758)
@@ -8,7 +8,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/macros.c
==============================================================================
--- trunk/fcode-utils-devel/toke/macros.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/macros.c Mon Apr 26 17:57:21 2010 (r758)
@@ -7,7 +7,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 by Stefan Reinauer <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 by Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/macros.h
==============================================================================
--- trunk/fcode-utils-devel/toke/macros.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/macros.h Mon Apr 26 17:57:21 2010 (r758)
@@ -8,7 +8,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/nextfcode.c
==============================================================================
--- trunk/fcode-utils-devel/toke/nextfcode.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/nextfcode.c Mon Apr 26 17:57:21 2010 (r758)
@@ -5,7 +5,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/nextfcode.h
==============================================================================
--- trunk/fcode-utils-devel/toke/nextfcode.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/nextfcode.h Mon Apr 26 17:57:21 2010 (r758)
@@ -8,7 +8,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/parselocals.c
==============================================================================
--- trunk/fcode-utils-devel/toke/parselocals.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/parselocals.c Mon Apr 26 17:57:21 2010 (r758)
@@ -5,7 +5,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/parselocals.h
==============================================================================
--- trunk/fcode-utils-devel/toke/parselocals.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/parselocals.h Mon Apr 26 17:57:21 2010 (r758)
@@ -8,7 +8,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/scanner.c
==============================================================================
--- trunk/fcode-utils-devel/toke/scanner.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/scanner.c Mon Apr 26 17:57:21 2010 (r758)
@@ -7,7 +7,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 by Stefan Reinauer <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 by Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/scanner.h
==============================================================================
--- trunk/fcode-utils-devel/toke/scanner.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/scanner.h Mon Apr 26 17:57:21 2010 (r758)
@@ -8,7 +8,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/stack.c
==============================================================================
--- trunk/fcode-utils-devel/toke/stack.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/stack.c Mon Apr 26 17:57:21 2010 (r758)
@@ -7,7 +7,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 by Stefan Reinauer <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 by Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/stack.h
==============================================================================
--- trunk/fcode-utils-devel/toke/stack.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/stack.h Mon Apr 26 17:57:21 2010 (r758)
@@ -10,7 +10,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/stream.c
==============================================================================
--- trunk/fcode-utils-devel/toke/stream.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/stream.c Mon Apr 26 17:57:21 2010 (r758)
@@ -7,7 +7,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 by Stefan Reinauer <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 by Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/stream.h
==============================================================================
--- trunk/fcode-utils-devel/toke/stream.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/stream.h Mon Apr 26 17:57:21 2010 (r758)
@@ -10,7 +10,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/strsubvocab.c
==============================================================================
--- trunk/fcode-utils-devel/toke/strsubvocab.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/strsubvocab.c Mon Apr 26 17:57:21 2010 (r758)
@@ -5,7 +5,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/strsubvocab.h
==============================================================================
--- trunk/fcode-utils-devel/toke/strsubvocab.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/strsubvocab.h Mon Apr 26 17:57:21 2010 (r758)
@@ -9,7 +9,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/ticvocab.c
==============================================================================
--- trunk/fcode-utils-devel/toke/ticvocab.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/ticvocab.c Mon Apr 26 17:57:21 2010 (r758)
@@ -5,7 +5,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/ticvocab.h
==============================================================================
--- trunk/fcode-utils-devel/toke/ticvocab.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/ticvocab.h Mon Apr 26 17:57:21 2010 (r758)
@@ -8,7 +8,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/toke.c
==============================================================================
--- trunk/fcode-utils-devel/toke/toke.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/toke.c Mon Apr 26 17:57:21 2010 (r758)
@@ -7,7 +7,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2006 by Stefan Reinauer <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 by Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/toke.h
==============================================================================
--- trunk/fcode-utils-devel/toke/toke.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/toke.h Mon Apr 26 17:57:21 2010 (r758)
@@ -10,7 +10,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/tokzesc.c
==============================================================================
--- trunk/fcode-utils-devel/toke/tokzesc.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/tokzesc.c Mon Apr 26 17:57:21 2010 (r758)
@@ -5,7 +5,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/tokzesc.h
==============================================================================
--- trunk/fcode-utils-devel/toke/tokzesc.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/tokzesc.h Mon Apr 26 17:57:21 2010 (r758)
@@ -8,7 +8,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/tracesyms.c
==============================================================================
--- trunk/fcode-utils-devel/toke/tracesyms.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/tracesyms.c Mon Apr 26 17:57:21 2010 (r758)
@@ -5,7 +5,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/tracesyms.h
==============================================================================
--- trunk/fcode-utils-devel/toke/tracesyms.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/tracesyms.h Mon Apr 26 17:57:21 2010 (r758)
@@ -8,7 +8,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/usersymbols.c
==============================================================================
--- trunk/fcode-utils-devel/toke/usersymbols.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/usersymbols.c Mon Apr 26 17:57:21 2010 (r758)
@@ -5,7 +5,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/usersymbols.h
==============================================================================
--- trunk/fcode-utils-devel/toke/usersymbols.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/usersymbols.h Mon Apr 26 17:57:21 2010 (r758)
@@ -9,7 +9,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/vocabfuncts.h
==============================================================================
--- trunk/fcode-utils-devel/toke/vocabfuncts.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/vocabfuncts.h Mon Apr 26 17:57:21 2010 (r758)
@@ -8,7 +8,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
1
0
Author: stepan
Date: Mon Apr 26 17:43:25 2010
New Revision: 757
URL: http://tracker.coreboot.org/trac/openbios/changeset/757
Log:
SUN OPB on the SPARC (Enterprise) platforms (especially):
M3000, M4000, M9000 expects a checksum algorithm that is
not compliant with IEEE 1275-1994 section 5.2.2.5.
Add flag "Sun-Style-Checksum" to switch to the other algorithm.
Modified:
trunk/fcode-utils-devel/toke/clflags.c
trunk/fcode-utils-devel/toke/clflags.h
trunk/fcode-utils-devel/toke/emit.c
Modified: trunk/fcode-utils-devel/toke/clflags.c
==============================================================================
--- trunk/fcode-utils-devel/toke/clflags.c Mon Apr 26 17:40:54 2010 (r756)
+++ trunk/fcode-utils-devel/toke/clflags.c Mon Apr 26 17:43:25 2010 (r757)
@@ -5,7 +5,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -94,6 +94,7 @@
bool ibm_legacy_separator_message = TRUE ;
bool enable_abort_quote = TRUE ;
bool sun_style_abort_quote = TRUE ;
+bool sun_style_checksum = FALSE ;
bool abort_quote_throw = TRUE ;
bool string_remark_escape = TRUE ;
bool hex_remark_escape = TRUE ;
@@ -181,6 +182,11 @@
"\t",
"Use -2 THROW in an Abort\" phrase, rather than ABORT" } ,
+ { "Sun-Style-Checksum",
+ &sun_style_checksum,
+ "\t\t",
+ "Use this for SPARC (Enterprise) platforms (especially): M3000, M4000, M9000" } ,
+
{ "String-remark-escape",
&string_remark_escape,
"\t",
@@ -640,7 +646,7 @@
for ( indx = 0 ; indx < number_of_cl_flags ; indx++ )
{
- printf(" %s %s%s%s\n",
+ printf(" %s %s%s%s\n",
*(cl_flags_list[indx].flag_var) ? " " : "no" ,
cl_flags_list[indx].clflag_name,
cl_flags_list[indx].clflag_tabs,
Modified: trunk/fcode-utils-devel/toke/clflags.h
==============================================================================
--- trunk/fcode-utils-devel/toke/clflags.h Mon Apr 26 17:40:54 2010 (r756)
+++ trunk/fcode-utils-devel/toke/clflags.h Mon Apr 26 17:43:25 2010 (r757)
@@ -8,7 +8,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -56,6 +56,7 @@
* ibm_legacy_separator_message
* enable_abort_quote
* sun_style_abort_quote
+ * sun_style_checksum
* string_remark_escape
* hex_remark_escape
* c_style_string_escape
@@ -111,6 +112,7 @@
extern bool ibm_legacy_separator_message;
extern bool enable_abort_quote;
extern bool sun_style_abort_quote;
+extern bool sun_style_checksum;
extern bool abort_quote_throw;
extern bool string_remark_escape;
extern bool hex_remark_escape;
Modified: trunk/fcode-utils-devel/toke/emit.c
==============================================================================
--- trunk/fcode-utils-devel/toke/emit.c Mon Apr 26 17:40:54 2010 (r756)
+++ trunk/fcode-utils-devel/toke/emit.c Mon Apr 26 17:43:25 2010 (r757)
@@ -7,7 +7,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -317,7 +317,7 @@
/* Calculate and place checksum and length, if haven't already */
if ( fcode_start_ob_off != -1 )
{
- u16 checksum;
+ u32 checksum;
int length;
u8 *fcode_body = ostart+fcode_body_ob_off;
@@ -331,13 +331,23 @@
fcode_body < ob_end ;
checksum += *(fcode_body++) ) ;
- BIG_ENDIAN_WORD_STORE(fcode_hdr->checksum , checksum);
+ if (sun_style_checksum) {
+ /* SUN OPB on the SPARC (Enterprise) platforms (especially):
+ * M3000, M4000, M9000 expects a checksum algorithm that is
+ * not compliant with IEEE 1275-1994 section 5.2.2.5.
+ */
+ checksum = (checksum & 0xffff) + (checksum >> 16);
+ checksum = (checksum & 0xffff) + (checksum >> 16);
+ }
+
+ BIG_ENDIAN_WORD_STORE(fcode_hdr->checksum,
+ (u16)(checksum & 0xffff));
BIG_ENDIAN_LONG_STORE(fcode_hdr->length , length);
if (verbose)
{
printf( "toke: checksum is 0x%04x (%d bytes). ",
- checksum, length);
+ (u16)checksum, length);
list_fcode_ranges( TRUE);
}
}
1
0

April 26, 2010
Author: stepan
Date: Mon Apr 26 17:40:54 2010
New Revision: 756
URL: http://tracker.coreboot.org/trac/openbios/changeset/756
Log:
fcode-utils/romheaders: separate INCLUDES and CFLAGS
Modified:
trunk/fcode-utils-devel/romheaders/Makefile
Modified: trunk/fcode-utils-devel/romheaders/Makefile
==============================================================================
--- trunk/fcode-utils-devel/romheaders/Makefile Mon Apr 26 17:39:51 2010 (r755)
+++ trunk/fcode-utils-devel/romheaders/Makefile Mon Apr 26 17:40:54 2010 (r756)
@@ -22,9 +22,10 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA, 02110-1301 USA
#
-CC ?= gcc
-STRIP = strip
-CFLAGS = -O2 -Wall -W -ansi -I../shared
+CC ?= gcc
+STRIP = strip
+CFLAGS = -O2 -Wall -W -ansi
+INCLUDES = -I../shared
SOURCES = romheaders.c ../shared/classcodes.c
@@ -33,10 +34,9 @@
all: romheaders
romheaders: $(SOURCES)
- $(CC) $(CFLAGS) $(SOURCES) -o $@
+ $(CC) $(CFLAGS) $(INCLUDES) $(SOURCES) -o $@
$(STRIP) romheaders
-
+
clean:
rm -f *~
rm -f romheaders
-
1
0
Author: stepan
Date: Mon Apr 26 17:39:51 2010
New Revision: 755
URL: http://tracker.coreboot.org/trac/openbios/changeset/755
Log:
fcode-utils: separate CFLAGS and INCLUDES so CFLAGS can be overridden
Modified:
trunk/fcode-utils-devel/Makefile
Modified: trunk/fcode-utils-devel/Makefile
==============================================================================
--- trunk/fcode-utils-devel/Makefile Mon Apr 26 17:39:20 2010 (r754)
+++ trunk/fcode-utils-devel/Makefile Mon Apr 26 17:39:51 2010 (r755)
@@ -21,7 +21,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA, 02110-1301 USA
#
-VERSION:=$(shell grep ^\#.*TOKE_VERSION < toke/toke.c |cut -f2 -d\" )
+VERSION:=$(shell grep "^\#.*TOKE_VERSION" < toke/toke.c |cut -f2 -d\" )
all:
$(MAKE) -C toke
1
0

[commit] r753 - in trunk/fcode-utils-devel: . detok toke toke/examples toke/examples/scsi-sample
by repository service April 26, 2010
by repository service April 26, 2010
April 26, 2010
Author: stepan
Date: Mon Apr 26 15:06:48 2010
New Revision: 753
URL: http://tracker.coreboot.org/trac/openbios/changeset/753
Log:
This is toke / detok update from Matthias Kapffer:
- display-status is obsolete
- fix the three broken examples under toke/examples
- drop calls to non-existent distclean
Modified:
trunk/fcode-utils-devel/Makefile
trunk/fcode-utils-devel/detok/Makefile
trunk/fcode-utils-devel/detok/dictionary.c
trunk/fcode-utils-devel/toke/Makefile
trunk/fcode-utils-devel/toke/dictionary.c
trunk/fcode-utils-devel/toke/examples/date.fs
trunk/fcode-utils-devel/toke/examples/scsi-sample/overall.fs
trunk/fcode-utils-devel/toke/examples/scsi-sample/scsitape.fs
Modified: trunk/fcode-utils-devel/Makefile
==============================================================================
--- trunk/fcode-utils-devel/Makefile Sun Apr 25 14:53:39 2010 (r752)
+++ trunk/fcode-utils-devel/Makefile Mon Apr 26 15:06:48 2010 (r753)
@@ -40,9 +40,6 @@
$(MAKE) -C testsuite clean
distclean: clean
- $(MAKE) -C toke distclean
- $(MAKE) -C detok distclean
- $(MAKE) -C romheaders distclean
$(MAKE) -C testsuite distclean
find . -name "*.gcda" -exec rm -f \{\} \;
find . -name "*.gcno" -exec rm -f \{\} \;
Modified: trunk/fcode-utils-devel/detok/Makefile
==============================================================================
--- trunk/fcode-utils-devel/detok/Makefile Sun Apr 25 14:53:39 2010 (r752)
+++ trunk/fcode-utils-devel/detok/Makefile Mon Apr 26 15:06:48 2010 (r753)
@@ -52,11 +52,11 @@
clean:
rm -f $(OBJS) *~
rm -f $(PROGRAM) .dependencies
-
+
.dependencies: *.c
@$(CC) $(CFLAGS) $(INCLUDES) -MM *.c > .dependencies
-.PHONY: all clean distclean
+.PHONY: all clean
-include .dependencies
Modified: trunk/fcode-utils-devel/detok/dictionary.c
==============================================================================
--- trunk/fcode-utils-devel/detok/dictionary.c Sun Apr 25 14:53:39 2010 (r752)
+++ trunk/fcode-utils-devel/detok/dictionary.c Mon Apr 26 15:06:48 2010 (r753)
@@ -361,7 +361,7 @@
TOKEN_ENTRY(0x0da, "get-token"),
TOKEN_ENTRY(0x0db, "set-token"),
TOKEN_ENTRY(0x0dc, "state"),
- TOKEN_ENTRY(0x0dd, "compile"),
+ TOKEN_ENTRY(0x0dd, "compile,"),
TOKEN_ENTRY(0x0de, "behavior"),
TOKEN_ENTRY(0x0f0, "start0"),
TOKEN_ENTRY(0x0f1, "start1"),
Modified: trunk/fcode-utils-devel/toke/Makefile
==============================================================================
--- trunk/fcode-utils-devel/toke/Makefile Sun Apr 25 14:53:39 2010 (r752)
+++ trunk/fcode-utils-devel/toke/Makefile Mon Apr 26 15:06:48 2010 (r753)
@@ -60,7 +60,7 @@
documentation:: *.c *.h toke.doxygen
@doxygen toke.doxygen
-.PHONY: all clean distclean
+.PHONY: all clean
-include .dependencies
Modified: trunk/fcode-utils-devel/toke/dictionary.c
==============================================================================
--- trunk/fcode-utils-devel/toke/dictionary.c Sun Apr 25 14:53:39 2010 (r752)
+++ trunk/fcode-utils-devel/toke/dictionary.c Mon Apr 26 15:06:48 2010 (r753)
@@ -1119,7 +1119,7 @@
BUILTIN_FCODE( 0x0da, "get-token" ) ,
BUILTIN_FCODE( 0x0db, "set-token" ) ,
BI_FCODE_VRBLE( 0x0dc, "state" ) ,
- BUILTIN_FCODE( 0x0dd, "compile" ) ,
+ BUILTIN_FCODE( 0x0dd, "compile," ) ,
BUILTIN_FCODE( 0x0de, "behavior" ) ,
BUILTIN_FCODE( 0x0f0, "start0" ) ,
BUILTIN_FCODE( 0x0f1, "start1" ) ,
@@ -1160,7 +1160,7 @@
BUILTIN_FCODE( 0x11e, "is-selftest" ) ,
BUILTIN_FCODE( 0x11f, "new-device" ) ,
BUILTIN_FCODE( 0x120, "diagnostic-mode?" ) ,
- BUILTIN_FCODE( 0x121, "display-status" ) ,
+ OBSOLETE_FCODE( 0x121, "display-status" ) ,
BUILTIN_FCODE( 0x122, "memory-test-issue" ) ,
OBSOLETE_FCODE( 0x123, "group-code" ) ,
BI_FCODE_VRBLE( 0x124, "mask" ) ,
Modified: trunk/fcode-utils-devel/toke/examples/date.fs
==============================================================================
--- trunk/fcode-utils-devel/toke/examples/date.fs Sun Apr 25 14:53:39 2010 (r752)
+++ trunk/fcode-utils-devel/toke/examples/date.fs Mon Apr 26 15:06:48 2010 (r753)
@@ -2,8 +2,8 @@
fcode-version2
." This program was tokenized on "
- fcode-date type
+ [fcode-date] type
." at "
- fcode-time type
+ [fcode-time] type
fcode-end
Modified: trunk/fcode-utils-devel/toke/examples/scsi-sample/overall.fs
==============================================================================
--- trunk/fcode-utils-devel/toke/examples/scsi-sample/overall.fs Sun Apr 25 14:53:39 2010 (r752)
+++ trunk/fcode-utils-devel/toke/examples/scsi-sample/overall.fs Mon Apr 26 15:06:48 2010 (r753)
@@ -1,5 +1,6 @@
\ FCode driver for hypothetical SCSI host adapter
+fcode-version2
hex
" XYZI,scsi" name \ Name of device node
" XYZI,12346-01" model \ Manufacturer's model number
Modified: trunk/fcode-utils-devel/toke/examples/scsi-sample/scsitape.fs
==============================================================================
--- trunk/fcode-utils-devel/toke/examples/scsi-sample/scsitape.fs Sun Apr 25 14:53:39 2010 (r752)
+++ trunk/fcode-utils-devel/toke/examples/scsi-sample/scsitape.fs Mon Apr 26 15:06:48 2010 (r753)
@@ -111,9 +111,9 @@
0 false ( 0 false )
else \ Decode status buffer ( xstatbuf )
>r #requested ( #requested ) ( r: xstatbuf )
- r@ ili? r@ eof? or if ( #requested ) ( r: xstatbuf
- r@ residue - ( #xfered ) ( r: xstatbuf
- then ( #xfered ) ( r: xstatbuf
+ r@ ili? r@ eof? or if ( #requested ) ( r: xstatbuf )
+ r@ residue - ( #xfered ) ( r: xstatbuf )
+ then ( #xfered ) ( r: xstatbuf )
r> eof? ( #xfered flag )
then
else \ no error, #request = #xfered ( )
3
3

April 25, 2010
Author: blueswirl
Date: Sun Apr 25 14:53:39 2010
New Revision: 752
URL: http://tracker.coreboot.org/trac/openbios/changeset/752
Log:
Fix NULL pointer dereferences, spotted by clang analyzer
Fix clang warnings:
../packages/disk-label.c:83:6: warning: Dereference of null pointer
if( *s == '-' || isdigit(*s) ||
../libopenbios/elf_load.c:267:5: warning: Null pointer passed as an argument to a 'nonnull' parameter
memcpy(addr, name, nhdr.n_namesz);
Signed-off-by: Blue Swirl <blauwirbel(a)gmail.com>
Modified:
trunk/openbios-devel/libopenbios/elf_load.c
trunk/openbios-devel/packages/disk-label.c
Modified: trunk/openbios-devel/libopenbios/elf_load.c
==============================================================================
--- trunk/openbios-devel/libopenbios/elf_load.c Sun Apr 25 14:53:37 2010 (r751)
+++ trunk/openbios-devel/libopenbios/elf_load.c Sun Apr 25 14:53:39 2010 (r752)
@@ -264,11 +264,13 @@
memcpy(addr, &nhdr, sizeof(nhdr));
addr += sizeof(nhdr);
- memcpy(addr, name, nhdr.n_namesz);
- addr += nhdr.n_namesz;
- pad = padded(nhdr.n_namesz) - nhdr.n_namesz;
- memset(addr, 0, pad);
- addr += pad;
+ if (name && nhdr.n_namesz) {
+ memcpy(addr, name, nhdr.n_namesz);
+ addr += nhdr.n_namesz;
+ pad = padded(nhdr.n_namesz) - nhdr.n_namesz;
+ memset(addr, 0, pad);
+ addr += pad;
+ }
memcpy(addr, desc, nhdr.n_descsz);
addr += nhdr.n_descsz;
Modified: trunk/openbios-devel/packages/disk-label.c
==============================================================================
--- trunk/openbios-devel/packages/disk-label.c Sun Apr 25 14:53:37 2010 (r751)
+++ trunk/openbios-devel/packages/disk-label.c Sun Apr 25 14:53:39 2010 (r752)
@@ -68,6 +68,9 @@
if (!path) {
path = strdup("");
}
+ if (!path) {
+ goto out;
+ }
DPRINTF("dlabel-open '%s'\n", path );
/* open disk interface */
1
0

[commit] r751 - in trunk/openbios-devel: drivers fs/hfsplus kernel libopenbios packages
by repository service April 25, 2010
by repository service April 25, 2010
April 25, 2010
Author: blueswirl
Date: Sun Apr 25 14:53:37 2010
New Revision: 751
URL: http://tracker.coreboot.org/trac/openbios/changeset/751
Log:
Fix dead variable assignment, spotted by clang analyzer
Fix clang warnings:
../kernel/dict.c:289:2: warning: Value stored to 'len' is never read
len -= sizeof(dictionary_header_t);
../packages/cmdline.c:181:8: warning: Value stored to 'buf' during its
initialization is never read
char *buf = ci->buf;
../libopenbios/elf_info.c:126:2: warning: Value stored to 'name' is never read
name = addr;
../libopenbios/elf_load.c:277:5: warning: Value stored to 'addr' is never read
addr += pad;
../drivers/ide.c:209:3: warning: Value stored to 'err' is never read
err = ob_ide_pio_readb(drive, IDEREG_ERROR);
../drivers/ide.c:219:17: warning: Value stored to 'old_cdb' during its initialization is never read
unsigned char old_cdb = cmd->cdb[0];
../drivers/ide.c:222:4: warning: Value stored to 'old_cdb' is never read
old_cdb = cmd->old_cdb;
../drivers/pci.c:103:2: warning: Value stored to 'ss' is never read
ss = 0;
../drivers/pci.c:100:2: warning: Value stored to 'dev' is never read
dev = 0;
../drivers/pci.c:212:2: warning: Value stored to 'bus' is never read
bus = (hi >> 16) & 0xFF;
../drivers/pci.c:953:4: warning: Value stored to 'rev' is never read
rev = pci_config_read8(addr, PCI_REVISION_ID);
../packages/video.c:331:2: warning: Value stored to 's' is never read
s = video.fb.mphys - s;
../packages/video.c:330:2: warning: Value stored to 'size' is never read
size = ((video.fb.h * video.fb.rb + s) + 0xfff) & ~0xfff;
../fs/hfsplus/btree.c:229:5: warning: Value stored to 'p' is never read
p = btree_readhead(&bt->head, p);
../fs/hfsplus/volume.c:149:2: warning: Value stored to 'p' is never read
p = volume_readfork(p, &vh->start_file );
Signed-off-by: Blue Swirl <blauwirbel(a)gmail.com>
Modified:
trunk/openbios-devel/drivers/ide.c
trunk/openbios-devel/drivers/pci.c
trunk/openbios-devel/fs/hfsplus/btree.c
trunk/openbios-devel/fs/hfsplus/volume.c
trunk/openbios-devel/kernel/dict.c
trunk/openbios-devel/libopenbios/elf_info.c
trunk/openbios-devel/libopenbios/elf_load.c
trunk/openbios-devel/packages/cmdline.c
trunk/openbios-devel/packages/video.c
Modified: trunk/openbios-devel/drivers/ide.c
==============================================================================
--- trunk/openbios-devel/drivers/ide.c Sun Apr 25 14:53:32 2010 (r750)
+++ trunk/openbios-devel/drivers/ide.c Sun Apr 25 14:53:37 2010 (r751)
@@ -196,8 +196,10 @@
static void
ob_ide_error(struct ide_drive *drive, unsigned char stat, const char *msg)
{
+#ifdef CONFIG_DEBUG_IDE
struct ide_channel *chan = drive->channel;
unsigned char err;
+#endif
if (!stat)
stat = ob_ide_pio_readb(drive, IDEREG_STATUS);
@@ -206,11 +208,15 @@
IDE_DPRINTF(" cmd=%x, stat=%x", chan->ata_cmd.command, stat);
if ((stat & (BUSY_STAT | ERR_STAT)) == ERR_STAT) {
- err = ob_ide_pio_readb(drive, IDEREG_ERROR);
+#ifdef CONFIG_DEBUG_IDE
+ err =
+#endif
+ ob_ide_pio_readb(drive, IDEREG_ERROR);
IDE_DPRINTF(", err=%x", err);
}
IDE_DPRINTF("\n");
+#ifdef CONFIG_DEBUG_IDE
/*
* see if sense is valid and dump that
*/
@@ -237,6 +243,7 @@
IDE_DPRINTF(", no sense");
IDE_DPRINTF("\n");
}
+#endif
}
/*
Modified: trunk/openbios-devel/drivers/pci.c
==============================================================================
--- trunk/openbios-devel/drivers/pci.c Sun Apr 25 14:53:32 2010 (r750)
+++ trunk/openbios-devel/drivers/pci.c Sun Apr 25 14:53:37 2010 (r751)
@@ -97,10 +97,8 @@
int bus = 0; /* no information */
char *ptr;
- dev = 0;
fn = 0;
reg = 0;
- ss = 0;
n = 0;
p = 0;
t = 0;
@@ -202,14 +200,13 @@
cell hi = POP();
cell mid = POP();
cell lo = POP();
- int n, p, t, ss, bus, dev, fn, reg;
+ int n, p, t, ss, dev, fn, reg;
n = hi & IS_NOT_RELOCATABLE;
p = hi & IS_PREFETCHABLE;
t = hi & IS_ALIASED;
ss = (hi >> 24) & 0x03;
- bus = (hi >> 16) & 0xFF;
dev = (hi >> 11) & 0x1F;
fn = (hi >> 8) & 0x07;
reg = hi & 0xFF;
@@ -928,7 +925,7 @@
pci_config_t config;
const pci_dev_t *pci_dev;
uint32_t ccode;
- uint8_t class, subclass, iface, rev;
+ uint8_t class, subclass, iface;
int num_bars, rom_bar;
activate_device("/");
@@ -950,7 +947,6 @@
class = ccode >> 8;
subclass = ccode;
iface = pci_config_read8(addr, PCI_CLASS_PROG);
- rev = pci_config_read8(addr, PCI_REVISION_ID);
pci_dev = pci_find_device(class, subclass, iface,
vid, did);
Modified: trunk/openbios-devel/fs/hfsplus/btree.c
==============================================================================
--- trunk/openbios-devel/fs/hfsplus/btree.c Sun Apr 25 14:53:32 2010 (r750)
+++ trunk/openbios-devel/fs/hfsplus/btree.c Sun Apr 25 14:53:37 2010 (r751)
@@ -226,7 +226,7 @@
p = btree_readnode(&node, p);
if (node.kind != HFSP_NODE_HEAD)
return -1; // should not happen ?
- p = btree_readhead(&bt->head, p);
+ btree_readhead(&bt->head, p);
node_size = bt->head.node_size;
bt->blkpernode = node_size / vol->blksize;
Modified: trunk/openbios-devel/fs/hfsplus/volume.c
==============================================================================
--- trunk/openbios-devel/fs/hfsplus/volume.c Sun Apr 25 14:53:32 2010 (r750)
+++ trunk/openbios-devel/fs/hfsplus/volume.c Sun Apr 25 14:53:37 2010 (r751)
@@ -146,7 +146,7 @@
p = volume_readfork(p, &vh->ext_file );
p = volume_readfork(p, &vh->cat_file );
p = volume_readfork(p, &vh->attr_file );
- p = volume_readfork(p, &vh->start_file );
+ volume_readfork(p, &vh->start_file );
return 0;
fail:
return -1;
Modified: trunk/openbios-devel/kernel/dict.c
==============================================================================
--- trunk/openbios-devel/kernel/dict.c Sun Apr 25 14:53:32 2010 (r750)
+++ trunk/openbios-devel/kernel/dict.c Sun Apr 25 14:53:37 2010 (r751)
@@ -286,7 +286,6 @@
}
data += sizeof(dictionary_header_t);
- len -= sizeof(dictionary_header_t);
dicthead = target_long(header->length);
Modified: trunk/openbios-devel/libopenbios/elf_info.c
==============================================================================
--- trunk/openbios-devel/libopenbios/elf_info.c Sun Apr 25 14:53:32 2010 (r750)
+++ trunk/openbios-devel/libopenbios/elf_info.c Sun Apr 25 14:53:37 2010 (r751)
@@ -103,7 +103,7 @@
Elf_Bhdr *hdr = NULL;
char *addr, *end;
Elf_Nhdr *nhdr;
- char *name, *desc;
+ char *desc;
if (info->boot_type == ELF_BHDR_MAGIC)
hdr = phys_to_virt(info->boot_data);
@@ -123,7 +123,6 @@
while (addr < end) {
nhdr = (Elf_Nhdr *) addr;
addr += sizeof(Elf_Nhdr);
- name = addr;
addr += (nhdr->n_namesz + 3) & ~3;
desc = addr;
addr += (nhdr->n_descsz + 3) & ~3;
Modified: trunk/openbios-devel/libopenbios/elf_load.c
==============================================================================
--- trunk/openbios-devel/libopenbios/elf_load.c Sun Apr 25 14:53:32 2010 (r750)
+++ trunk/openbios-devel/libopenbios/elf_load.c Sun Apr 25 14:53:37 2010 (r751)
@@ -274,7 +274,6 @@
addr += nhdr.n_descsz;
pad = padded(nhdr.n_descsz) - nhdr.n_descsz;
memset(addr, 0, pad);
- addr += pad;
bhdr->b_size += ent_size;
bhdr->b_records++;
Modified: trunk/openbios-devel/packages/cmdline.c
==============================================================================
--- trunk/openbios-devel/packages/cmdline.c Sun Apr 25 14:53:32 2010 (r750)
+++ trunk/openbios-devel/packages/cmdline.c Sun Apr 25 14:53:37 2010 (r751)
@@ -178,7 +178,7 @@
cmdline_prompt( cmdline_info_t *ci )
{
int cur_added=0, histind=0, ch, i, pos=0, n=0, prompt=1;
- char *buf = ci->buf;
+ char *buf;
int terminate = 0;
buf = ci->buf;
Modified: trunk/openbios-devel/packages/video.c
==============================================================================
--- trunk/openbios-devel/packages/video.c Sun Apr 25 14:53:32 2010 (r750)
+++ trunk/openbios-devel/packages/video.c Sun Apr 25 14:53:37 2010 (r751)
@@ -308,7 +308,10 @@
void
init_video( unsigned long fb, int width, int height, int depth, int rb )
{
- int i, s, size;
+ int i;
+#ifdef CONFIG_PPC
+ int s, size;
+#endif
phandle_t ph=0;
video.fb.mphys = fb;
@@ -326,11 +329,10 @@
video.has_video = 1;
video.pal = malloc( 256 * sizeof(ulong) );
- s = (video.fb.mphys & 0xfff);
- size = ((video.fb.h * video.fb.rb + s) + 0xfff) & ~0xfff;
- s = video.fb.mphys - s;
-
#ifdef CONFIG_PPC
+ s = (video.fb.mphys & 0xfff);
+ size = ((video.fb.h * video.fb.rb + s) + 0xfff) & ~0xfff;
+
ofmem_claim_phys( video.fb.mphys, size, 0 );
ofmem_claim_virt( video.fb.mphys, size, 0 );
ofmem_map( video.fb.mphys, video.fb.mphys, size, -1 );
1
0
Author: blueswirl
Date: Sun Apr 25 14:53:32 2010
New Revision: 750
URL: http://tracker.coreboot.org/trac/openbios/changeset/750
Log:
Fix clang errors about undefined llong etc.
Signed-off-by: Blue Swirl <blauwirbel(a)gmail.com>
Modified:
trunk/openbios-devel/include/config.h
Modified: trunk/openbios-devel/include/config.h
==============================================================================
--- trunk/openbios-devel/include/config.h Fri Apr 16 12:20:06 2010 (r749)
+++ trunk/openbios-devel/include/config.h Sun Apr 25 14:53:32 2010 (r750)
@@ -23,25 +23,25 @@
#define PROGRAM_NAME "OpenBIOS"
+typedef unsigned long ulong;
+typedef unsigned int uint;
+typedef unsigned short ushort;
+typedef unsigned char uchar;
+
+typedef unsigned long long ullong;
+typedef long long llong;
+
#ifndef BOOTSTRAP
#ifndef NULL
#define NULL ((void*)0)
#endif
-typedef unsigned long ulong;
-typedef unsigned int uint;
-typedef unsigned short ushort;
-typedef unsigned char uchar;
-
typedef unsigned int size_t;
typedef unsigned int usize_t;
typedef signed int ssize_t;
typedef signed int off_t;
-typedef unsigned long long ullong;
-typedef long long llong;
-
typedef unsigned int time_t;
#define UINT_MAX ((uint)-1)
1
0

April 23, 2010
On 4/23/10, Andreas Färber <andreas.faerber(a)web.de> wrote:
> Am 23.04.2010 um 14:44 schrieb Andreas Färber:
>
>
> > On Ubuntu Karmic `./config/scripts/switch-arch cross-ppc` did not
> recognize my powerpc-elf-gcc. The GNOME Terminal appears to use bash, where
> `type -p powerpc-elf-gcc && echo yah` works, but /bin/sh is dash, where it
> does not:
> > echo "type -p powerpc-elf-gcc && echo yah" | /bin/sh
> >
>
> ...and if we actually do it like that, without 2>/dev/null, we see:
> -p: not found
>
> So dash's `type` does not seem to support the -p parameter, whatever that
> does. Without -p it works, too.
-p makes the output either the path or nothing if not found. Without
-p there may be messages to stderr, so the patch should also add 2>&1.
> Andreas
>
> diff --git a/config/scripts/switch-arch b/config/scripts/switch-arch
> index c145e86..b7511e7 100755
> --- a/config/scripts/switch-arch
> +++ b/config/scripts/switch-arch
> @@ -88,7 +88,7 @@ select_prefix()
> {
> for TARGET in ${1}-linux-gnu- ${1}-elf- ${1}-eabi-
> do
> - if type -p ${TARGET}gcc > /dev/null
> + if type ${TARGET}gcc > /dev/null
>
> then
> return
> fi
>
>
> --
> OpenBIOS http://openbios.org/
> Mailinglist:
> http://lists.openbios.org/mailman/listinfo
> Free your System - May the Forth be with you
>
1
0