Revision 6b1575b7
b/target-sparc/translate.c | ||
---|---|---|
2771 | 2771 |
int prot, access_index; |
2772 | 2772 |
|
2773 | 2773 |
if (get_physical_address(env, &phys_addr, &prot, &access_index, addr, 2, 0) != 0) |
2774 |
return -1; |
|
2774 |
if (get_physical_address(env, &phys_addr, &prot, &access_index, addr, 0, 0) != 0) |
|
2775 |
return -1; |
|
2775 | 2776 |
return phys_addr; |
2776 | 2777 |
} |
2777 | 2778 |
#endif |
Also available in: Unified diff