mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
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
This commit is contained in:
parent
b50a6563d8
commit
273af66025
9 changed files with 45 additions and 9 deletions
|
@ -178,7 +178,11 @@ void do_vfp_get_fpscr(void)
|
|||
#if !defined(CONFIG_USER_ONLY)
|
||||
|
||||
#define MMUSUFFIX _mmu
|
||||
#define GETPC() (__builtin_return_address(0))
|
||||
#ifdef __s390__
|
||||
# define GETPC() ((void*)((unsigned long)__builtin_return_address(0) & 0x7fffffffUL))
|
||||
#else
|
||||
# define GETPC() (__builtin_return_address(0))
|
||||
#endif
|
||||
|
||||
#define SHIFT 0
|
||||
#include "softmmu_template.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue