]>
git.ipfire.org Git - people/ms/u-boot.git/blob - include/ext2fs.h
2 * GRUB -- GRand Unified Bootloader
3 * Copyright (C) 2000, 2001 Free Software Foundation, Inc.
5 * (C) Copyright 2003 Sysgo Real-Time Solutions, AG <www.elinos.com>
6 * Pavel Bartusek <pba@sysgo.de>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23 /* An implementation for the Ext2FS filesystem ported from GRUB.
24 * Some parts of this code (mainly the structures and defines) are
25 * from the original ext2 fs code, as found in the linux kernel.
29 #define SECTOR_SIZE 0x200
76 extern int ext2fs_set_blk_dev(block_dev_desc_t
*rbdd
, int part
);
77 extern int ext2fs_ls (char *dirname
);
78 extern int ext2fs_open (char *filename
);
79 extern int ext2fs_read (char *buf
, unsigned len
);
80 extern int ext2fs_mount (unsigned part_length
);
81 extern int ext2fs_close(void);