cvs commit: src/sys/boot/i386/btx/btx btx.S

John Baldwin jhb at FreeBSD.org
Thu Sep 28 12:42:11 PDT 2006


jhb         2006-09-28 19:42:10 UTC

  FreeBSD src repository

  Modified files:
    sys/boot/i386/btx/btx btx.S 
  Log:
  Tweak the code to handle intercepting BIOS calls to int 0x15 to shave
  another 16 bytes off of BTX (and thus boot2):
  - Compare against the value of %eax that is saved on the stack instead of
    loading it into %eax (which requires saving the current %eax on the
    stack).
  - Use %ch to examine the keyboard flag state in the BIOS to see if
    Ctrl-Alt-Del is pressed instead of %al so we don't have to save %eax on
    the stack anymore.
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.42      +10 -17    src/sys/boot/i386/btx/btx/btx.S


More information about the cvs-src mailing list