Date: Thu, 28 Sep 2006 19:42:10 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/boot/i386/btx/btx btx.S Message-ID: <200609281942.k8SJgAl3038695@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609281942.k8SJgAl3038695>
