Handle big-endian minixfs (fixes minixfs tests on bigendian).

* grub-core/fs/minix.c: Replace le with minix. Add necessary defines,
	modify names. Introduce MODE_BIGENDIAN.
	* grub-core/fs/minix_be.c: New file.
	* grub-core/fs/minix2_be.c: Likewise
	* grub-core/fs/minix3_be.c: Likewise.
	* Makefile.util.def (libgrubmods): Add minix_be, minix2_be and
	minix3_be.
	* grub-core/Makefile.core.def (minix_be): New module.
	(minix2_be): Likewise.
	(minix3_be): Likewise.
This commit is contained in:
Vladimir 'phcoder' Serbinenko committed 2012-04-01 21:35:18 +02:00
1 parent f65a829e41
commit ac66b453df
7 files changed
+108 -21

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
#define MODE_MINIX3 1
#define MODE_BIGENDIAN 1
#include "minix.c"