Inline setcolorstate and move grub_Cls out of kernel.img

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-07-02 18:20:48 +02:00
parent a68c419413
commit 919e37b0ac
5 changed files with 45 additions and 43 deletions

View file

@ -126,32 +126,6 @@ grub_getkeystatus (void)
return status;
}
void
grub_cls (void)
{
struct grub_term_output *term;
FOR_ACTIVE_TERM_OUTPUTS(term)
{
if ((term->flags & GRUB_TERM_DUMB) || (grub_env_get ("debug")))
{
grub_putcode_dumb ('\n', term);
grub_term_refresh (term);
}
else
(term->cls) (term);
}
}
void
grub_setcolorstate (grub_term_color_state state)
{
struct grub_term_output *term;
FOR_ACTIVE_TERM_OUTPUTS(term)
grub_term_setcolorstate (term, state);
}
void
grub_refresh (void)
{