mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
2006-11-02 Hollis Blanchard <hollis@penguinppc.org>
* kern/ieee1275/ieee1275.c (grub_ieee1275_set_color): Add `catch_result' to struct set_color_args.
This commit is contained in:
1 parent
d976fc51e1
commit
a09d5aa53e
2 files changed
+8
-2
No files matched your search
@@ -1,3 +1,8 @@
|
|||||||
|
2006-11-02 Hollis Blanchard <hollis@penguinppc.org>
|
||||||
|
|
||||||
|
* kern/ieee1275/ieee1275.c (grub_ieee1275_set_color): Add
|
||||||
|
`catch_result' to struct set_color_args.
|
||||||
|
|
||||||
2006-10-28 Yoshinori K. Okuji <okuji@enbug.org>
|
2006-10-28 Yoshinori K. Okuji <okuji@enbug.org>
|
||||||
|
|
||||||
* normal/menu.c: Include grub/script.h.
|
* normal/menu.c: Include grub/script.h.
|
||||||
|
|||||||
@@ -553,10 +553,11 @@ grub_ieee1275_set_color (grub_ieee1275_ihandle_t ihandle,
|
|||||||
grub_ieee1275_cell_t b;
|
grub_ieee1275_cell_t b;
|
||||||
grub_ieee1275_cell_t g;
|
grub_ieee1275_cell_t g;
|
||||||
grub_ieee1275_cell_t r;
|
grub_ieee1275_cell_t r;
|
||||||
|
grub_ieee1275_cell_t catch_result;
|
||||||
}
|
}
|
||||||
args;
|
args;
|
||||||
|
|
||||||
INIT_IEEE1275_COMMON (&args.common, "call-method", 6, 0);
|
INIT_IEEE1275_COMMON (&args.common, "call-method", 6, 1);
|
||||||
args.method = "color!";
|
args.method = "color!";
|
||||||
args.ihandle = ihandle;
|
args.ihandle = ihandle;
|
||||||
args.index = index;
|
args.index = index;
|
||||||
@@ -566,7 +567,7 @@ grub_ieee1275_set_color (grub_ieee1275_ihandle_t ihandle,
|
|||||||
|
|
||||||
if (IEEE1275_CALL_ENTRY_FN (&args) == -1)
|
if (IEEE1275_CALL_ENTRY_FN (&args) == -1)
|
||||||
return -1;
|
return -1;
|
||||||
return 0;
|
return args.catch_result;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|||||||
Reference in new issue
Block a user