Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Dec 1996 18:37:29 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, joerg@freefall.freebsd.org
Subject:   Re: cvs commit:  src/sys/i386/boot/biosboot bios.S
Message-ID:  <199612230737.SAA14138@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>  Branch:      sys/i386/boot/biosboot  RELENG_2_2
>  Modified:    sys/i386/boot/biosboot  bios.S
>  Log:
>  YAMFC:
>  Initialize the upper 16 bits of the memory sizes properly (to 0).

I carefully decided not to commit that since it is cosmetic and
can't help.  The bits are were always actually initialized by:

	pushl	$0				# or $1
	...
	movl	this value from stack,%ebx
	...					# do stuff not changing %ebx
	...					# get size in %ax
	movl	%eax,%ebx			# sic, actually movl %ax,bx
						# this preserves %ax and
						# sets the top bits to 0
	...					# do stuff not changing %ebx
	movl	%ebx,%eax			# return this

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612230737.SAA14138>