mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
ARM SMC workaround
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1263 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
6bae70713c
commit
9f0777ed88
1 changed files with 4 additions and 1 deletions
|
@ -731,7 +731,10 @@ static inline int handle_cpu_signal(unsigned long pc, unsigned long address,
|
|||
int is_write, sigset_t *old_set,
|
||||
void *puc)
|
||||
{
|
||||
/* XXX: do more */
|
||||
/* XXX: locking issue */
|
||||
if (is_write && page_unprotect(address, pc, puc)) {
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#elif defined(TARGET_SPARC)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue