Fix wrong number of clean/saveable windows

git-svn-id: svn://coreboot.org/openbios/openbios-devel@158 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Blue Swirl
2007-07-07 21:01:29 +00:00
parent a88213853e
commit 05a6e925fb

View File

@@ -35,7 +35,7 @@ entry:
! Extract NWINDOWS from %ver ! Extract NWINDOWS from %ver
rdpr %ver, %g1 rdpr %ver, %g1
and %g1, 0xf, %g1 and %g1, 0xf, %g1
dec %g1 sub %g1, 2, %g1
wrpr %g1, 0, %cleanwin wrpr %g1, 0, %cleanwin
wrpr %g1, 0, %cansave wrpr %g1, 0, %cansave
wrpr %g0, 0, %canrestore wrpr %g0, 0, %canrestore