Page MenuHomeFreeBSD

D20008.diff
No OneTemporary

D20008.diff

Index: head/sys/powerpc/pseries/phyp-hvcall.S
===================================================================
--- head/sys/powerpc/pseries/phyp-hvcall.S
+++ head/sys/powerpc/pseries/phyp-hvcall.S
@@ -36,8 +36,13 @@
ASENTRY(phyp_hcall)
mflr %r0
std %r0,16(%r1)
+#if defined(_CALL_ELF) && _CALL_ELF == 2
+ ld %r11,96(%r1) /* Last couple args into volatile regs*/
+ ld %r12,104(%r1)
+#else
ld %r11,112(%r1) /* Last couple args into volatile regs*/
ld %r12,120(%r1)
+#endif
hc /* invoke the hypervisor */
ld %r0,16(%r1)
mtlr %r0

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 19, 7:38 PM (22 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14722511
Default Alt Text
D20008.diff (549 B)

Event Timeline