FreeDOS direct loading support.

* docs/grub.texi (Supported OS): Add FreeDOS.
	* grub-core/Makefile.core.def (freedos): New module.
	* grub-core/lib/i386/relocator.c (grub_relocator16_ebx): New extern
	variable.
	(grub_relocator16_boot): Handle %ebx.
	* grub-core/lib/i386/relocator16.S: Likewise.
	* grub-core/loader/i386/pc/freedos.c: New file.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-05-18 12:15:16 +02:00
commit e3a1073fd2
7 changed files with 167 additions and 1 deletions

View file

@ -46,6 +46,7 @@ struct grub_relocator16_state
grub_uint16_t ss;
grub_uint16_t sp;
grub_uint16_t ip;
grub_uint32_t ebx;
grub_uint32_t edx;
};