Add loongson tests.

* tests/util/grub-shell.in: Handle loongson.
	* tests/partmap_test.in: Add loongson to the list of platform using ATA
	drivers.
	* grub-core/tests/boot/linux.init-mips.S (SHUTDOWN_MAGIC3) [REBOOT]:
	Reboot instead of shutdown if REBOOT is defined.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-06-15 19:42:25 +02:00
parent 0321415e86
commit eac49cffc8
5 changed files with 55 additions and 8 deletions

View file

@ -23,8 +23,11 @@
#define STDOUT 1
#define SHUTDOWN_MAGIC1 0xfee1dead
#define SHUTDOWN_MAGIC2 0x28121969
#ifdef REBOOT
#define SHUTDOWN_MAGIC3 0x01234567
#else
#define SHUTDOWN_MAGIC3 0x4321fedc
#endif
.text
.global start, _start, __start
__start: