From: Ethan Benson Date: Wed, 27 Mar 2002 13:55:42 +0000 (+0000) Subject: Commit yaboot 1.3.6 X-Git-Tag: yaboot-1.3.13~60 X-Git-Url: http://git.ozlabs.org/?p=yaboot.git;a=commitdiff_plain;h=2ad0d7649e5042cad43a16b4a03bf53f39948316 Commit yaboot 1.3.6 Commit yaboot 1.3.6. git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-15 --- diff --git a/ChangeLog b/ChangeLog index 547d327..a3a4c8e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,29 @@ # tag: automatic-ChangeLog--erbenson@alaska.net--public/yaboot--devel--1.3 # +2002-03-27 13:55:42 GMT Ethan Benson patch-15 + + Summary: + Commit yaboot 1.3.6 + Revision: + yaboot--devel--1.3--patch-15 + + Commit yaboot 1.3.6. + + modified files: + ChangeLog Makefile changelog doc/README.rs6000 + doc/yaboot-howto.sgml include/bootinfo.h include/cfg.h + include/cmdline.h include/debug.h include/errors.h + include/fdisk-part.h include/file.h include/fs.h + include/mac-part.h include/partition.h include/prom.h + include/yaboot.h lib/malloc.c lib/string.S second/cache.S + second/cfg.c second/cmdline.c second/file.c second/fs.c + second/fs_ext2.c second/fs_iso.c second/fs_of.c + second/fs_reiserfs.c second/fs_xfs.c second/md5.c + second/partition.c second/prom.c second/yaboot.c + util/addnote.c util/elfextract.c ybin/ybin + + 2002-03-27 13:45:22 GMT Ethan Benson patch-14 Summary: diff --git a/Makefile b/Makefile index 5f6221e..bff91eb 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ include Config -VERSION = 1.3.6pre2 +VERSION = 1.3.6 # Debug mode (spam/verbose) DEBUG = 0 # make install vars diff --git a/changelog b/changelog index 16f0ea4..320b0c0 100644 --- a/changelog +++ b/changelog @@ -1,14 +1,14 @@ -2001-11-29 Ethan Benson +2001-12-01 Ethan Benson - * Version 1.3.6pre2 + * Version 1.3.6 * The "IBM needs to test prereleases" release. * Documentation: - New IGNORE^H^H^H^H^H^HREADME, thanks to Chris Tillman for cleaning up the pile of cruft that this thing was. - - yabootconfig man page was missing --kernel-args from SYSOPSIS. - - include README.rs6000 in the binary dist. + - yabootconfig man page was missing --kernel-args from SYNOPSIS. + - Include README.rs6000 in the binary dist. * ybin: - Automatically use fstype=raw on IBM CHRP, it no longer needs @@ -17,12 +17,13 @@ instead. * yaboot: + - Fix IBM CHRP support. - Fix device path parsing to support devices containing a comma, but not including a filename. - - Fix IBM CHRP support. - Add support for zImage.initrd (Peter Bergner). - help output no longer claims device=NULL if yaboot.conf does not define it. - Make password prompting a bit nicer looking. + - Short penalty delay on incorrect passwords. 2001-10-28 Ethan Benson diff --git a/doc/README.rs6000 b/doc/README.rs6000 index 342b99c..7219e62 100644 --- a/doc/README.rs6000 +++ b/doc/README.rs6000 @@ -36,7 +36,6 @@ C. Configuration File (/etc/yaboot.conf): ## example /etc/yaboot.conf for RS/6000 ## Timeout value is in tenths of a second boot=/dev/sda1 - fstype=raw install=/usr/local/lib/yaboot/yaboot nonvram partition=3 @@ -47,8 +46,8 @@ C. Configuration File (/etc/yaboot.conf): label=linux root=/dev/sda3 - image=/boot/vmlinux.new - label=new + image=/boot/vmlinux.old + label=old root=/dev/sda3 diff --git a/doc/yaboot-howto.sgml b/doc/yaboot-howto.sgml index d55dacb..a7a7576 100644 --- a/doc/yaboot-howto.sgml +++ b/doc/yaboot-howto.sgml @@ -695,7 +695,7 @@ How do I install Debian? - +

diff --git a/include/bootinfo.h b/include/bootinfo.h index c71f380..d0acd4e 100644 --- a/include/bootinfo.h +++ b/include/bootinfo.h @@ -1,11 +1,23 @@ /* - * Non-machine dependent bootinfo structure. Basic idea - * borrowed from the m68k. + * bootinfo.h - Non-machine dependent bootinfo structure. Basic idea from m68k * - * Copyright (C) 1999 Cort Dougan + * Copyright (C) 1999 Cort Dougan + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - #ifndef _PPC_BOOTINFO_H #define _PPC_BOOTINFO_H diff --git a/include/cfg.h b/include/cfg.h index 2cbdaf3..be34e0f 100644 --- a/include/cfg.h +++ b/include/cfg.h @@ -1,22 +1,22 @@ /* - Config definitions - - Copyright (C) 1999 Benjamin Herrenschmidt - - 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 - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * cfg.h - config file parsing definitions + * + * Copyright (C) 1999 Benjamin Herrenschmidt + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ #ifndef CFG_H #define CFG_H diff --git a/include/cmdline.h b/include/cmdline.h index e2baa61..5fb4e45 100644 --- a/include/cmdline.h +++ b/include/cmdline.h @@ -1,22 +1,24 @@ /* - Interface to command line - - Copyright (C) 1999 Benjamin Herrenschmidt - - 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 - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * cmdline.h - Prompt handling + * + * Copyright (C) 2001 Ethan Benson + * + * Copyright (C) 1999 Benjamin Herrenschmidt + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ #ifndef CMDLINE_H #define CMDLINE_H diff --git a/include/debug.h b/include/debug.h index 8fa1281..ed07b24 100644 --- a/include/debug.h +++ b/include/debug.h @@ -1,7 +1,7 @@ /* * Debug defines * - * Copyright (C) 2001 Ethan Benson + * Copyright (C) 2001 Ethan Benson * * 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 diff --git a/include/errors.h b/include/errors.h index 866b379..dfe7e5f 100644 --- a/include/errors.h +++ b/include/errors.h @@ -1,7 +1,7 @@ /* * errors.h - Definitions of error numbers returned by filesystems * - * Copyright (C) 2001 Ethan Benson + * Copyright (C) 2001 Ethan Benson * * Copyright (C) 1999 Benjamin Herrenschmidt * diff --git a/include/fdisk-part.h b/include/fdisk-part.h index 382df2d..c81b3fa 100644 --- a/include/fdisk-part.h +++ b/include/fdisk-part.h @@ -1,8 +1,22 @@ /* - * Structure of a fdisk driver descriptor (block 0) - * and partition table (blocks 1..n). + * fdisk-part.h - Structure of fdisk partition table * - * Copyright 2000 IBM / Peter Bergner / David Engebretsen + * Copyright (C) 2000 Peter Bergner + * 2000 David Engebretsen + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define ACTIVE_FLAG 0x80 diff --git a/include/file.h b/include/file.h index f395dc8..b6b9fe5 100644 --- a/include/file.h +++ b/include/file.h @@ -1,23 +1,28 @@ /* - Definitions for talking to the Open Firmware PROM on - Power Macintosh computers. - - Copyright (C) 1999 Benjamin Herrenschmidt - - 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 - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * file.h - Filesystem related interfaces + * + * Copyright (C) 2001 Ethan Benson + * + * parse_device_path() + * + * Copyright (C) 2001 Colin Walters + * + * Copyright (C) 1999 Benjamin Herrenschmidt + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ #ifndef FILE_H #define FILE_H diff --git a/include/fs.h b/include/fs.h index 6aad90e..5bc7eeb 100644 --- a/include/fs.h +++ b/include/fs.h @@ -1,22 +1,24 @@ /* - FileSystems common definitions - - Copyright (C) 1999 Benjamin Herrenschmidt - - 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 - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * fs.h - Filesystem common definitions + * + * Copyright (C) 2001 Ethan Benson + * + * Copyright (C) 1999 Benjamin Herrenschmidt + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ #ifndef FS_H #define FS_H diff --git a/include/mac-part.h b/include/mac-part.h index 428f623..8cda346 100644 --- a/include/mac-part.h +++ b/include/mac-part.h @@ -1,8 +1,21 @@ /* - * Structure of a Macintosh driver descriptor (block 0) - * and partition table (blocks 1..n). + * mac-part.h - Structure of Apple partition tables * - * Copyright 1996 Paul Mackerras. + * Copyright (C) 1996 Paul Mackerras + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define MAC_PARTITION_MAGIC 0x504d diff --git a/include/partition.h b/include/partition.h index cc4fc3a..c772483 100644 --- a/include/partition.h +++ b/include/partition.h @@ -1,22 +1,24 @@ /* - Partition map management - - Copyright (C) 1999 Benjamin Herrenschmidt - - 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 - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * partition.h - partition table support + * + * Copyright (C) 2001 Ethan Benson + * + * Copyright (C) 1999 Benjamin Herrenschmidt + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ #ifndef PARTITION_H #define PARTITION_H diff --git a/include/prom.h b/include/prom.h index 69a8120..9700803 100644 --- a/include/prom.h +++ b/include/prom.h @@ -1,24 +1,28 @@ /* - Definitions for talking to the Open Firmware PROM on - Power Macintosh computers. - - Copyright (C) 1999 Marius Vollmer - Copyright (C) 1996 Paul Mackerras. - - 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 - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * prom.h - Routines for talking to the Open Firmware PROM + * + * Copyright (C) 2001 Ethan Benson + * + * Copyright (C) 1999 Benjamin Herrenschmidt + * + * Copyright (C) 1999 Marius Vollmer + * + * Copyright (C) 1996 Paul Mackerras. + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ #ifndef PROM_H #define PROM_H diff --git a/include/yaboot.h b/include/yaboot.h index 99d60b7..94d3d6e 100644 --- a/include/yaboot.h +++ b/include/yaboot.h @@ -1,3 +1,46 @@ +/* + * Yaboot - secondary boot loader for Linux on PowerPC. + * + * Copyright (C) 2001 Ethan Benson + * + * Copyright (C) 1999, 2000, 2001 Benjamin Herrenschmidt + * + * IBM CHRP support + * + * Copyright (C) 2001 Peter Bergner + * + * portions based on poof + * + * Copyright (C) 1999 Marius Vollmer + * + * portions based on quik + * + * Copyright (C) 1996 Paul Mackerras. + * + * Because this program is derived from the corresponding file in the + * silo-0.64 distribution, it is also + * + * Copyright (C) 1996 Pete A. Zaitcev + * 1996 Maurizio Plaza + * 1996 David S. Miller + * 1996 Miguel de Icaza + * 1996 Jakub Jelinek + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + #ifndef __YABOOT_H__ #define __YABOOT_H__ diff --git a/lib/malloc.c b/lib/malloc.c index 4e3b248..3279c07 100644 --- a/lib/malloc.c +++ b/lib/malloc.c @@ -1,22 +1,23 @@ -/* Dumb memory allocation routines - - Copyright (C) 1997 Paul Mackerras - 1996 Maurizio Plaza - 1996 Jakub Jelinek - - 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 - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +/* malloc.c - Dumb memory allocation routines + * + * Copyright (C) 1997 Paul Mackerras + * 1996 Maurizio Plaza + * 1996 Jakub Jelinek + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ #include "types.h" #include "stddef.h" diff --git a/lib/string.S b/lib/string.S index 6c6b9b2..07913ab 100644 --- a/lib/string.S +++ b/lib/string.S @@ -1,13 +1,23 @@ /* - * String handling functions for PowerPC. + * string.S - String handling functions for PowerPC. * - * Copyright (C) 1996 Paul Mackerras. + * Copyright (C) 1996 Paul Mackerras. * - * 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 the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + #include "asm/processor.h" #include "asm/ppc_asm.tmpl" diff --git a/second/cache.S b/second/cache.S index de445d6..b62c32c 100644 --- a/second/cache.S +++ b/second/cache.S @@ -1,14 +1,25 @@ /* - * PowerPC version - * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) - * Copyright (C) 1996 Paul Mackerras. + * cache.S - PowerPC version * - * 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 the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. + * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) + * + * Copyright (C) 1996 Paul Mackerras + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - + #include "asm/ppc_asm.tmpl" #include "asm/processor.h" diff --git a/second/cfg.c b/second/cfg.c index ed58e38..9011467 100644 --- a/second/cfg.c +++ b/second/cfg.c @@ -1,21 +1,23 @@ -/* Handling and parsing of silo.conf - - Copyright (C) 1995 Werner Almesberger - 1996 Jakub Jelinek - - 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 - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +/* + * cfg.c - Handling and parsing of yaboot.conf + * + * Copyright (C) 1995 Werner Almesberger + * 1996 Jakub Jelinek + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ #include "setjmp.h" #include "stdarg.h" diff --git a/second/cmdline.c b/second/cmdline.c index bf73024..ec50f4f 100644 --- a/second/cmdline.c +++ b/second/cmdline.c @@ -1,21 +1,27 @@ -/* Prompt handling - - Copyright (C) 1996 Maurizio Plaza - 1996 Jakub Jelinek - - 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 - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +/* + * cmdline.c - Prompt handling + * + * Copyright (C) 2001 Ethan Benson + * + * Adapted from SILO + * + * Copyright (C) 1996 Maurizio Plaza + * 1996 Jakub Jelinek + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ #include "types.h" #include "stdarg.h" diff --git a/second/file.c b/second/file.c index 366d5ba..0278dfa 100644 --- a/second/file.c +++ b/second/file.c @@ -1,20 +1,28 @@ -/* File related stuff - - Copyright (C) 1999 Benjamin Herrenschmidt - - 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 - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +/* + * file.c - Filesystem related interfaces + * + * Copyright (C) 2001 Ethan Benson + * + * parse_device_path() + * + * Copyright (C) 2001 Colin Walters + * + * Copyright (C) 1999 Benjamin Herrenschmidt + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ #include "ctype.h" #include "types.h" diff --git a/second/fs.c b/second/fs.c index f54f424..b1a5c6e 100644 --- a/second/fs.c +++ b/second/fs.c @@ -1,22 +1,24 @@ /* - FileSystems common definitions - - Copyright (C) 1999 Benjamin Herrenschmidt - - 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 - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * fs.c - Filesystem common definitions + * + * Copyright (C) 2001 Ethan Benson + * + * Copyright (C) 1999 Benjamin Herrenschmidt + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ #include "stdlib.h" #include "fs.h" diff --git a/second/fs_ext2.c b/second/fs_ext2.c index 5aa9585..64e4459 100644 --- a/second/fs_ext2.c +++ b/second/fs_ext2.c @@ -1,29 +1,29 @@ -/* ext2 filesystem - - Copyright (C) 1999 Benjamin Herrenschmidt - - Adapted from quik/silo - - Copyright (C) 1996 Maurizio Plaza - 1996 Jakub Jelinek - - 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 - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - - Note: This version is way too slow due to the way we use bmap. This - should be replaced by an iterator. -*/ +/* + * fs_ext2.c - an implementation for the Ext2/Ext3 filesystem + * + * Copyright (C) 2001 Ethan Benson + * + * Copyright (C) 1999 Benjamin Herrenschmidt + * + * Adapted from quik/silo + * + * Copyright (C) 1996 Maurizio Plaza + * 1996 Jakub Jelinek + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ #include "ctype.h" #include "types.h" diff --git a/second/fs_iso.c b/second/fs_iso.c index e143549..6f30159 100644 --- a/second/fs_iso.c +++ b/second/fs_iso.c @@ -1,20 +1,22 @@ -/* iso9660 filesystem (placeholder) - - Copyright (C) 1999 Benjamin Herrenschnidt - - 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 - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +/* + * fs_iso.c - a non-implementation for the ISO9660 filesystem + * + * Copyright (C) 1999 Benjamin Herrenschnidt + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ #include "ctype.h" #include "types.h" diff --git a/second/fs_of.c b/second/fs_of.c index a316cd1..2c84826 100644 --- a/second/fs_of.c +++ b/second/fs_of.c @@ -1,30 +1,35 @@ -/* OpenFirmware-based filesystem - - Copyright (C) 1999 Benjamin Herrenschmidt - - 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 - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - - BrokenFirmware cannot "read" from the network. We use tftp "load" method - for network boot for now, we may provide our own NFS implementation in - a later version. That means that we allocate a huge block of memory for - the entire file before loading it. We use the location where the kernel puts - RTAS, it's not used by the bootloader and if freed when the kernel is booted. - This will have to be changed if we plan to instanciate RTAS in the bootloader - itself - -*/ +/* + * fs_of.c - an implementation for OpenFirmware supported filesystems + * + * Copyright (C) 2001 Ethan Benson + * + * Copyright (C) 1999 Benjamin Herrenschmidt + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +/* + * BrokenFirmware cannot "read" from the network. We use tftp "load" + * method for network boot for now, we may provide our own NFS + * implementation in a later version. That means that we allocate a + * huge block of memory for the entire file before loading it. We use + * the location where the kernel puts RTAS, it's not used by the + * bootloader and if freed when the kernel is booted. This will have + * to be changed if we plan to instanciate RTAS in the bootloader + * itself + */ #include "ctype.h" #include "types.h" diff --git a/second/fs_reiserfs.c b/second/fs_reiserfs.c index 969ea4d..9594237 100644 --- a/second/fs_reiserfs.c +++ b/second/fs_reiserfs.c @@ -1,26 +1,27 @@ -/* ReiserFS filesystem - - Copyright (C) 2001 Jeffrey Mahoney (jeffm@suse.com) - - Adapted from GRUB - - Copyright (C) 2000, 2001 Free Software Foundation, Inc. - - 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 - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +/* + * fs_reiserfs.c - an implementation for the Reiser filesystem + * + * Copyright (C) 2001 Jeffrey Mahoney (jeffm@suse.com) + * + * Adapted from Grub + * + * Copyright (C) 2000, 2001 Free Software Foundation, Inc. + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ -*/ #include "types.h" #include "ctype.h" #include "string.h" diff --git a/second/fs_xfs.c b/second/fs_xfs.c index 14793bb..ad27407 100644 --- a/second/fs_xfs.c +++ b/second/fs_xfs.c @@ -1,11 +1,11 @@ /* - * fsys_xfs.c - an implementation for the SGI XFS file system + * fs_xfs.c - an implementation for the SGI XFS file system * - * Copyright (C) 2001 Ethan Benson + * Copyright (C) 2001 Ethan Benson * * Adapted from Grub * - * Copyright (C) 2001 Serguei Tzukanov + * Copyright (C) 2001 Serguei Tzukanov * * 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 @@ -19,7 +19,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "types.h" diff --git a/second/md5.c b/second/md5.c index 3b67209..99e58ed 100644 --- a/second/md5.c +++ b/second/md5.c @@ -1,6 +1,10 @@ -/* md5.c - an implementation of the MD5 algorithm and MD5 crypt */ /* - * GRUB -- GRand Unified Bootloader + * md5.c - an implementation of the MD5 algorithm and MD5 crypt + * + * Copyright (C) 2001 Ethan Benson + * + * Adapted from GRUB + * * Copyright (C) 2000 Free Software Foundation, Inc. * * This program is free software; you can redistribute it and/or modify @@ -18,8 +22,7 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* See RFC 1321 for a description of the MD5 algorithm. - */ +/* See RFC 1321 for a description of the MD5 algorithm. */ #include "string.h" #include "md5.h" diff --git a/second/partition.c b/second/partition.c index 3055a5a..3990767 100644 --- a/second/partition.c +++ b/second/partition.c @@ -1,23 +1,29 @@ -/* File related stuff - - Copyright (C) 1999 Benjamin Herrenschmidt - - Todo: Add disklabel (or let OF do it ?). Eventually think about - fixing CDROM handling by directly using the ATAPI layer. - - 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 - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. +/* + * partition.c - partition table support + * + * Copyright (C) 2001 Ethan Benson + * + * Copyright (C) 1999 Benjamin Herrenschmidt + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +/* + * Todo: Add disklabel (or let OF do it ?). Eventually think about + * fixing CDROM handling by directly using the ATAPI layer. + */ #include "ctype.h" #include "types.h" diff --git a/second/prom.c b/second/prom.c index c89182c..82e6151 100644 --- a/second/prom.c +++ b/second/prom.c @@ -1,25 +1,27 @@ /* - Routines for talking to the Open Firmware PROM on - Power Macintosh computers. - - Copyright (C) 1999 Benjamin Herrenschmidt - Copyright (C) 1999 Marius Vollmer - Copyright (C) 1996 Paul Mackerras. - - 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 - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - + * prom.c - Routines for talking to the Open Firmware PROM + * + * Copyright (C) 2001 Ethan Benson + * + * Copyright (C) 1999 Benjamin Herrenschmidt + * + * Copyright (C) 1999 Marius Vollmer + * + * Copyright (C) 1996 Paul Mackerras. + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "prom.h" diff --git a/second/yaboot.c b/second/yaboot.c index a061275..a292c73 100644 --- a/second/yaboot.c +++ b/second/yaboot.c @@ -1,38 +1,45 @@ -/* Yaboot - secondary boot loader for Linux on ppc. - - Copyright (C) 1999 Benjamin Herrenschmidt - - portions based on poof - - Copyright (C) 1999 Marius Vollmer - - portions based on quik - - Copyright (C) 1996 Paul Mackerras. - - Because this program is derived from the corresponding file in the - silo-0.64 distribution, it is also - - Copyright (C) 1996 Pete A. Zaitcev - 1996 Maurizio Plaza - 1996 David S. Miller - 1996 Miguel de Icaza - 1996 Jakub Jelinek - - 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 - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * Yaboot - secondary boot loader for Linux on PowerPC. + * + * Copyright (C) 2001 Ethan Benson + * + * Copyright (C) 1999, 2000, 2001 Benjamin Herrenschmidt + * + * IBM CHRP support + * + * Copyright (C) 2001 Peter Bergner + * + * portions based on poof + * + * Copyright (C) 1999 Marius Vollmer + * + * portions based on quik + * + * Copyright (C) 1996 Paul Mackerras. + * + * Because this program is derived from the corresponding file in the + * silo-0.64 distribution, it is also + * + * Copyright (C) 1996 Pete A. Zaitcev + * 1996 Maurizio Plaza + * 1996 David S. Miller + * 1996 Miguel de Icaza + * 1996 Jakub Jelinek + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ #include "stdarg.h" #include "string.h" diff --git a/util/addnote.c b/util/addnote.c index 23022a7..90434c8 100644 --- a/util/addnote.c +++ b/util/addnote.c @@ -1,19 +1,28 @@ /* - * Program to hack in a PT_NOTE program header entry in an ELF file. - * This is needed for OF on RS/6000s to load an image correctly. - * Note that OF needs a program header entry for the note, not an - * ELF section. + * addnote.c - Program to hack in a PT_NOTE program header entry in an ELF file. + * This is needed for OF on RS/6000s to load an image correctly. + * Note that OF needs a program header entry for the note, not an + * ELF section. * - * Copyright 2000 Paul Mackerras. + * Copyright 2000 Paul Mackerras. * - * 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 the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * - * Usage: addnote zImage + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* Usage: addnote zImage */ + #include #include #include diff --git a/util/elfextract.c b/util/elfextract.c index a153017..98604f9 100644 --- a/util/elfextract.c +++ b/util/elfextract.c @@ -1,8 +1,23 @@ /* - * Extract the loadable program segment from an elf file. + * elfextract.c - Extract the loadable program segment from an elf file. * - * Copyright 1996 Paul Mackerras. + * Copyright 1996 Paul Mackerras. + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + #include #include diff --git a/ybin/ybin b/ybin/ybin index a479bb5..b333e91 100755 --- a/ybin/ybin +++ b/ybin/ybin @@ -28,7 +28,7 @@ if [ -n "$PATH_PREFIX" ] ; then fi PRG="${0##*/}" SIGINT="$PRG: Interrupt caught ... exiting" -VERSION=1.3.6pre2 +VERSION=1.3.6 DEBUG=0 VERBOSE=0 TMP="${TMPDIR:-/tmp}"