Handle big-endian mdraid.

* Makefile.util.def (libgrubkern): Add mdraid_linux_be.c.
	* grub-core/Makefile.core.def (mdraid09_be): New module.
	* grub-core/disk/mdraid_linux.c: Use grub_md_to_cpu* and grub_cpu_to_md*
	rather than grub_le_to_cpu* and grub_cpu_to_le*.
	* grub-core/disk/mdraid_linux_be.c: New file.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-03-26 16:10:40 +02:00
parent 3c0eae66fa
commit 22e6a774f9
5 changed files with 59 additions and 13 deletions

View file

@ -0,0 +1,2 @@
#define MODE_BIGENDIAN 1
#include "mdraid_linux.c"