From: Vladimir 'phcoder' Serbinenko Date: Sun, 23 May 2010 12:16:17 +0000 (+0200) Subject: cmostest support. X-Git-Tag: 1.99~878 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f24f430030538d234900a6bff02281b042432658;p=thirdparty%2Fgrub.git cmostest support. * commands/i386/cmostest.c: New file. * conf/i386-coreboot.rmk (pkglib_MODULES): Add cmostest.mod. (cmostest_mod_SOURCES): New variable. (cmostest_mod_CFLAGS): Likewise. (cmostest_mod_LDFLAGS): Likewise. * conf/i386-pc.rmk: Likewise. * docs/grub.texi (Vendor power-on keys): New section. * util/grub-mkconfig.in: export GRUB_DEFAULT_BUTTON, GRUB_HIDDEN_TIMEOUT_BUTTON, GRUB_TIMEOUT_BUTTON and GRUB_BUTTON_CMOS_ADDRESS. * util/grub.d/00_header.in: Handle powering-on by separate button. --- f24f430030538d234900a6bff02281b042432658 diff --cc ChangeLog index 65bd6ad03,02d16e835..39a658288 --- a/ChangeLog +++ b/ChangeLog @@@ -1,20 -1,3 +1,36 @@@ ++2010-05-23 Vladimir Serbinenko ++ ++ cmostest support. ++ ++ * commands/i386/cmostest.c: New file. ++ * conf/i386-coreboot.rmk (pkglib_MODULES): Add cmostest.mod. ++ (cmostest_mod_SOURCES): New variable. ++ (cmostest_mod_CFLAGS): Likewise. ++ (cmostest_mod_LDFLAGS): Likewise. ++ * conf/i386-pc.rmk: Likewise. ++ * docs/grub.texi (Vendor power-on keys): New section. ++ * util/grub-mkconfig.in: export GRUB_DEFAULT_BUTTON, ++ GRUB_HIDDEN_TIMEOUT_BUTTON, GRUB_TIMEOUT_BUTTON ++ and GRUB_BUTTON_CMOS_ADDRESS. ++ * util/grub.d/00_header.in: Handle powering-on by separate button. ++ +2010-05-23 Vladimir Serbinenko + + * gfxmenu/gui_list.c (draw_menu): Don't add scrollbar width to padding. + Removed drawing_scrollbar argument. All users updated + Fixes #29792. + Reported by Jo Shields + +2010-05-23 Vladimir Serbinenko + + * gfxmenu/view.c (grub_gfxmenu_draw_terminal_box): Apply only to current + buffer since gfxterm handles double repaint. + +2010-05-23 Vladimir Serbinenko + + * gfxmenu/gfxmenu.c (grub_gfxmenu_try): Change viewport on both buffers. + * term/gfxterm.c (real_scroll): Likewise. + 2010-05-21 Vladimir Serbinenko * kern/i386/pc/mmap.c (grub_machine_mmap_iterate): Zero-fill entry diff --cc docs/grub.texi index 704f8b2a3,938fedbaf..bcc05c1f8 --- a/docs/grub.texi +++ b/docs/grub.texi @@@ -747,7 -748,22 +748,24 @@@ implements few VT100 escape sequences. GRUB provides you with an alternative menu interface, because the normal menu requires several fancy features of your terminal. + @node Vendor power-on keys + @chapter Using GRUB with vendor power-on keys + Some laptop vendor provide an additional power-on button which boots another OS. + GRUB supports such buttons with GRUB_TIMEOUT_BUTTON, GRUB_DEFAULT_BUTTON, + GRUB_HIDDEN_TIMEOUT_BUTTON and GRUB_BUTTON_CMOS_ADDRESS variables in + default/grub. GRUB_TIMEOUT_BUTTON, GRUB_DEFAULT_BUTTON and + GRUB_HIDDEN_TIMEOUT_BUTTON are used instead of corresponding variables without + _BUTTON suffix when powered using special button. + GRUB_BUTTON_CMOS_ADDRESS is vendor specific and partially model-specific. + Values known to GRUB team are: + + @table @key + @item Dell XPS M1530 + 85:3 + @end table + ++To take full advantage of this function install GRUB into MBR. + @node Filesystem @chapter Filesystem syntax and semantics