~vcs-imports/qemu/git

« back to all changes in this revision

Viewing changes to target-m68k/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:
31
31
extern int semihosting_enabled;
32
32
 
33
33
#define MMUSUFFIX _mmu
34
 
#define GETPC() (__builtin_return_address(0))
 
34
#ifdef __s390__
 
35
# define GETPC() ((void*)((unsigned long)__builtin_return_address(0) & 0x7fffffffUL))
 
36
#else
 
37
# define GETPC() (__builtin_return_address(0))
 
38
#endif
35
39
 
36
40
#define SHIFT 0
37
41
#include "softmmu_template.h"