[Midnightbsd-cvs] src [8374] trunk/sys/boot/i386/boot2/sio.S: shrink boot2 by 8 bytes.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Sep 18 15:06:32 EDT 2016


Revision: 8374
          http://svnweb.midnightbsd.org/src/?rev=8374
Author:   laffer1
Date:     2016-09-18 15:06:31 -0400 (Sun, 18 Sep 2016)
Log Message:
-----------
shrink boot2 by 8 bytes.

Modified Paths:
--------------
    trunk/sys/boot/i386/boot2/sio.S

Modified: trunk/sys/boot/i386/boot2/sio.S
===================================================================
--- trunk/sys/boot/i386/boot2/sio.S	2016-09-18 19:05:59 UTC (rev 8373)
+++ trunk/sys/boot/i386/boot2/sio.S	2016-09-18 19:06:31 UTC (rev 8374)
@@ -40,13 +40,11 @@
 		movb $0x3,%al			# Set RTS,
 		outb %al,(%dx)			#  DTR
 		incl %edx			# Line status reg
-		call sio_flush
-		ret
+		# Fallthrough
 
 /* int sio_flush(void) */
 
-sio_flush:	xorl %eax,%eax			# Return value
-		xorl %ecx,%ecx			# Timeout
+sio_flush:	xorl %ecx,%ecx			# Timeout
 		movb $0x80,%ch			#  counter
 sio_flush.1:	call sio_ischar 		# Check for character
 		jz sio_flush.2			# Till none



More information about the Midnightbsd-cvs mailing list