Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298399
b: refs/heads/master
c: 3b588c7
h: refs/heads/master
i:
  298397: 0997058
  298395: 954993b
  298391: 19b1716
  298383: 9392da1
  298367: 82e8cc8
v: v3
  • Loading branch information
Timur Tabi authored and Kumar Gala committed Mar 29, 2012
1 parent 471e11b commit f714ff3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2a78aeb1078994f6dab0173c2ecf5d9803ef0e8e
refs/heads/master: 3b588c7efc84f15548afdda6a0d2f892fe83babc
7 changes: 6 additions & 1 deletion trunk/arch/powerpc/include/asm/epapr_hcalls.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,15 @@
* whether they will be clobbered.
*
* Note that r11 can be used as an output parameter.
*
* The "memory" clobber is only necessary for hcalls where the Hypervisor
* will read or write guest memory. However, we add it to all hcalls because
* the impact is minimal, and we want to ensure that it's present for the
* hcalls that need it.
*/

/* List of common clobbered registers. Do not use this macro. */
#define EV_HCALL_CLOBBERS "r0", "r12", "xer", "ctr", "lr", "cc"
#define EV_HCALL_CLOBBERS "r0", "r12", "xer", "ctr", "lr", "cc", "memory"

#define EV_HCALL_CLOBBERS8 EV_HCALL_CLOBBERS
#define EV_HCALL_CLOBBERS7 EV_HCALL_CLOBBERS8, "r10"
Expand Down

0 comments on commit f714ff3

Please sign in to comment.