~vcs-imports/qemu/git

« back to all changes in this revision

Viewing changes to target-alpha/op_helper.c

  • Committer: ths
  • Date: 2007-10-29 14:39:49 UTC
  • Revision ID: git-v1:273af66025e8cc6982febfb4a74a8d9106a92440
Adjust s390 addresses (the MSB is defined as "to be ignored").


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3486 c046a42c-6fe2-441c-8c8c-71466251a162

Show diffs side-by-side

added added

removed removed

Lines of Context:
1076
1076
/* Softmmu support */
1077
1077
#if !defined (CONFIG_USER_ONLY)
1078
1078
 
1079
 
#define GETPC() (__builtin_return_address(0))
 
1079
#ifdef __s390__
 
1080
# define GETPC() ((void*)((unsigned long)__builtin_return_address(0) & 0x7fffffffUL))
 
1081
#else
 
1082
# define GETPC() (__builtin_return_address(0))
 
1083
#endif
1080
1084
 
1081
1085
/* XXX: the two following helpers are pure hacks.
1082
1086
 *      Hopefully, we emulate the PALcode, then we should never see