1N/A * GRUB -- GRand Unified Bootloader 1N/A * Copyright (C) 2000, 2001 Free Software Foundation, Inc. 1N/A * Copyright (c) 2004 Valery Hromov 1N/A * This program is free software; you can redistribute it and/or modify 1N/A * it under the terms of the GNU General Public License as published by 1N/A * the Free Software Foundation; either version 2 of the License, or 1N/A * (at your option) any later version. 1N/A * This program is distributed in the hope that it will be useful, 1N/A * but WITHOUT ANY WARRANTY; without even the implied warranty of 1N/A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1N/A * GNU General Public License for more details. 1N/A * You should have received a copy of the GNU General Public License 1N/A * along with this program; if not, write to the Free Software 1N/A * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 1N/A * Elements of this file were originally from the FreeBSD "biosboot" 1N/A * The license and header comments from that file are included here. 1N/A * Mach Operating System 1N/A * Copyright (c) 1992, 1991 Carnegie Mellon University 1N/A * All Rights Reserved. 1N/A * Permission to use, copy, modify and distribute this software and its 1N/A * documentation is hereby granted, provided that both the copyright 1N/A * notice and this permission notice appear in all copies of the 1N/A * software, derivative works or modified versions, and any portions 1N/A * thereof, and that both notices appear in supporting documentation. 1N/A * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" 1N/A * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR 1N/A * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. 1N/A * Carnegie Mellon requests users of this software to return to 1N/A * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 1N/A * School of Computer Science 1N/A * Carnegie Mellon University 1N/A * Pittsburgh PA 15213-3890 1N/A * any improvements or extensions that they make and grant Carnegie Mellon 1N/A * the rights to redistribute these changes. 1N/A * from: Mach, Revision 2.2 92/04/04 11:35:49 rpd 1N/A/* used for filesystem map blocks */ 1N/A/* pointer to superblock */ 1N/A (SUPERBLOCK->fs_sblockloc == sblockloc || 1N/A (SUPERBLOCK->fs_old_flags & FS_FLAGS_UPDATED) == 0)*/)
1N/A /* If the blockmap loaded does not include FILE_BLOCK, 1N/A load a new blockmap. */ 1N/A/* main loop to find destination inode */ 1N/A /* load current inode (defaults to the root inode) */ 1N/A return 0;
/* XXX what return value? */ 1N/A /* if we have a real file (and we're not just printing possibilities), 1N/A then this is where we want to exit */ 1N/A /* incomplete implementation requires this! */ 1N/A /* loop for reading a the entries in a directory */ 1N/A#
endif /* STAGE1_5 */ 1N/A /* only get here if we have a matching directory entry */ 1N/A /* go back to main loop at top of function */ 1N/A /* XXX: I don't know if this is really correct. Someone who is 1N/A familiar with BSD should check for this. */ 1N/A /* FIXME: Disable the embedding in FFS until someone checks if 1N/A the code above is correct. */ 1N/A#
endif /* FSYS_UFS2 */