2004-07-27 Marco Gerards <metgerards@student.han.nl>

* boot/powerpc/ieee1275/ieee1275.c (grub_ieee1275_release): New
	function.
	* commands/boot.c: Remove the check for `GRUB_UTIL'.
	* conf/powerpc-ieee1275.rmk (grubof_SOURCES): Add
	`loader/powerpc/ieee1275/linux.c',
	`loader/powerpc/ieee1275/linux_normal.c' and `commands/boot.c'.
	* include/grub/powerpc/ieee1275/ieee1275.h
	(grub_ieee1275_release): New prototype.
	* include/grub/powerpc/ieee1275/loader.h: Rewritten.
	* kern/powerpc/ieee1275/init.c (grub_machine_init): Initialize
	normal, boot, linux and linux_normal.
	* loader/powerpc/ieee1275/linux.c: New file.
	* loader/powerpc/ieee1275/linux_normal.c: Likewise.
This commit is contained in:
marco_g 2004-07-27 17:47:37 +00:00
parent 5a9e354626
commit a447c5dfb2
9 changed files with 398 additions and 31 deletions

View file

@ -37,7 +37,7 @@ grub_cmd_boot (struct grub_arg_list *state __attribute__ ((unused)),
}
#ifdef GRUB_UTIL
void
grub_boot_init (void)
{
@ -50,7 +50,7 @@ grub_boot_fini (void)
{
grub_unregister_command ("boot");
}
#else /* ! GRUB_UTIL */
GRUB_MOD_INIT
{
(void)mod; /* To stop warning. */
@ -62,4 +62,4 @@ GRUB_MOD_FINI
{
grub_unregister_command ("boot");
}
#endif /* ! GRUB_UTIL */