2005-01-20 Hollis Blanchard <hollis@penguinppc.org>

* boot/powerpc/ieee1275/ieee1275.c (grub_ieee1275_enter): New
	function.
	* conf/powerpc-ieee1275.rmk (pkgdata_MODULES): Add suspend.mod.
	(suspend_mod_SOURCES): New variable.
	(suspend_mod_CFLAGS): Likewise.
	* include/grub/powerpc/ieee1275/ieee1275.h (grub_ieee1275_enter):
	New prototype.
	* commands/ieee1275/suspend.c: New file.
This commit is contained in:
hollisb 2005-01-21 02:45:03 +00:00
parent b38551dabe
commit 6f1c18bd82
5 changed files with 96 additions and 1 deletions

View file

@ -331,6 +331,20 @@ grub_ieee1275_parent (grub_ieee1275_phandle_t node,
return 0;
}
int
grub_ieee1275_enter (void)
{
struct enter_args {
struct grub_ieee1275_common_hdr common;
} args;
INIT_IEEE1275_COMMON (&args.common, "enter", 0, 0);
if (IEEE1275_CALL_ENTRY_FN (&args) == -1)
return -1;
return 0;
}
int
grub_ieee1275_exit (void)
{