mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Move the HFS+ filesystem handler into its own new package /packages/hfsplus-files.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@810 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
committed by
Mark Cave-Ayland
parent
5ed6ff34fc
commit
d698673c6d
@@ -30,6 +30,9 @@ modules_init( void )
|
||||
#ifdef CONFIG_DISK_LABEL
|
||||
disklabel_init();
|
||||
#endif
|
||||
#ifdef CONFIG_HFSP
|
||||
hfsp_init();
|
||||
#endif
|
||||
#ifdef CONFIG_ISO9660
|
||||
iso9660_init();
|
||||
#endif
|
||||
|
||||
@@ -57,14 +57,8 @@ do_open( ihandle_t ih )
|
||||
err = (fd = open_ih(ih)) == -1;
|
||||
|
||||
if( !err ) {
|
||||
err = fs_hfsp_open(fd, fs);
|
||||
DPRINTF("--- HFSP returned %d\n", err);
|
||||
|
||||
if( err ) {
|
||||
err = fs_hfs_open(fd, fs);
|
||||
DPRINTF("--- HFS returned %d\n", err);
|
||||
}
|
||||
|
||||
err = fs_hfs_open(fd, fs);
|
||||
|
||||
if( err ) {
|
||||
err = fs_ext2_open(fd, fs);
|
||||
DPRINTF("--- ext2 returned %d\n", err);
|
||||
@@ -347,13 +341,8 @@ files_probe( files_info_t *mi )
|
||||
err = (fd = open_ih(ih)) == -1;
|
||||
if( !err ) {
|
||||
|
||||
err = fs_hfsp_probe(fd, offs);
|
||||
DPRINTF("--- HFSP returned %d\n", err);
|
||||
|
||||
if( err ) {
|
||||
err = fs_hfs_probe(fd, offs);
|
||||
DPRINTF("--- HFS returned %d\n", err);
|
||||
}
|
||||
err = fs_hfs_probe(fd, offs);
|
||||
DPRINTF("--- HFS returned %d\n", err);
|
||||
|
||||
if( err ) {
|
||||
err = fs_ext2_probe(fd, offs);
|
||||
|
||||
@@ -21,6 +21,7 @@ extern void deblocker_init( void );
|
||||
extern void disklabel_init( void );
|
||||
extern void files_init( void );
|
||||
extern void iso9660_init( void );
|
||||
extern void hfsp_init( void );
|
||||
extern void macparts_init( void );
|
||||
extern void pcparts_init( void );
|
||||
extern void sunparts_init( void );
|
||||
|
||||
Reference in New Issue
Block a user