* grub-core/lib/sparc64/setjmp.S: Force spilling of current window.

This commit is contained in:
Vladimir Serbinenko 2013-11-18 10:01:36 +01:00
parent 6f1bc8bc0f
commit 2df8f43d3e
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2013-11-18 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/lib/sparc64/setjmp.S: Force spilling of current window.
2013-11-18 Vladimir Serbinenko <phcoder@gmail.com>
On i386-ieee1275 we run in paged mode. So we need to explicitly map

View File

@ -41,7 +41,11 @@ FUNCTION(grub_setjmp)
FUNCTION(grub_longjmp)
ldx [%o0 + 0x10], %g1
movrz %o1, 1, %o1
save %sp, -64, %sp
flushw
restore
ldx [%o0 + 0x00], %o7
ldx [%o0 + 0x08], %fp
sub %fp, 192, %sp