2004-08-28 Marco Gerards <metgerards@student.han.nl>

Add support for the JFS filesystem.

	* fs/jfs.c: New file.
	* include/grub/fs.h (grub_jfs_init): New prototype.
	(grub_jfs_fini): New prototype.
	* conf/i386-pc.rmk (grub_setup_SOURCES): Add fs/jfs.c.
	(grub_emu_SOURCES): Likewise.
	(pkgdata_MODULES): Add jfs.mod.
	(jfs_mod_SOURCES): New variable.
	(jfs_mod_CFLAGS): Likewise.
	* conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add fs.jfs.c.
	(grubof_SOURCES): Likewise.
	* util/grub-emu.c (main): Initialize and deinitialize JFS support.

	* fs/fat.c (grub_fat_find_dir): Convert the filename little
	endian to the host endian.
	(grub_fat_utf16_to_utf8): Move function from there...
	* kern/misc.c (grub_utf16_to_utf8): ...to here.  Do not convert
	the endianess of the source string anymore.
	* include/grub/misc.h (grub_utf16_to_utf8): New prototype.
This commit is contained in:
marco_g 2004-08-28 13:14:29 +00:00
parent 94bc45af05
commit aa0335603c
11 changed files with 1088 additions and 85 deletions

View file

@ -161,6 +161,7 @@ main (int argc, char *argv[])
grub_ufs_init ();
grub_minix_init ();
grub_hfs_init ();
grub_jfs_init ();
grub_ls_init ();
grub_boot_init ();
grub_cmp_init ();
@ -179,6 +180,7 @@ main (int argc, char *argv[])
grub_ext2_fini ();
grub_minix_fini ();
grub_hfs_fini ();
grub_jfs_fini ();
grub_fat_fini ();
grub_boot_fini ();
grub_cmp_fini ();