svn commit: r241744 - projects/bhyve/usr.sbin/bhyve

Jilles Tjoelker jilles at stack.nl
Tue Oct 23 09:55:51 UTC 2012


On Mon, Oct 22, 2012 at 05:18:11PM -0600, Peter Grehan wrote:
> > Case 4 looks wrong. A 32-bit write clears the top 32 bits of the
> > register instead of preserving them.

>   Yep, you're right. How about:

>  > +	case 4:
>  > +		val = (reg & ~0xffffffffUL) | (operand & 0xffffffffUL);
>  > +		break;

I think you mean:
	val = operand & 0xffffffffUL;

Right?

-- 
Jilles Tjoelker


More information about the svn-src-projects mailing list