]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
cmostest support.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 23 May 2010 12:16:17 +0000 (14:16 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 23 May 2010 12:16:17 +0000 (14:16 +0200)
* 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.

1  2 
ChangeLog
docs/grub.texi

diff --cc ChangeLog
index 65bd6ad0391cd2e3c05c7c54e191706488bce173,02d16e83538705dca6babcc2e2e0998e22b72bb7..39a658288f967b1001d4a40708f7af465efef98f
+++ b/ChangeLog
@@@ -1,20 -1,3 +1,36 @@@
++2010-05-23  Vladimir Serbinenko  <phcoder@gmail.com>
++
++      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  <phcoder@gmail.com>
 +
 +      * 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  <phcoder@gmail.com>
 +
 +      * gfxmenu/view.c (grub_gfxmenu_draw_terminal_box): Apply only to current
 +      buffer since gfxterm handles double repaint.
 +
 +2010-05-23  Vladimir Serbinenko  <phcoder@gmail.com>
 +
 +      * gfxmenu/gfxmenu.c (grub_gfxmenu_try): Change viewport on both buffers.
 +      * term/gfxterm.c (real_scroll): Likewise.
 +
  2010-05-21  Vladimir Serbinenko  <phcoder@gmail.com>
  
        * kern/i386/pc/mmap.c (grub_machine_mmap_iterate): Zero-fill entry
diff --cc docs/grub.texi
index 704f8b2a35e9b167ff8e682f2284348a25b444b6,938fedbafec15c7aaf1f40c47004dee5e139bb7a..bcc05c1f8428cfda29a201a95e3e301195635252
@@@ -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