Revision f48c144e hw/alpha_palcode.c
b/hw/alpha_palcode.c | ||
---|---|---|
998 | 998 |
uint64_t physical, page_size, end; |
999 | 999 |
int prot, zbits, ret; |
1000 | 1000 |
|
1001 |
if (env->user_mode_only) {
|
|
1001 |
#if defined(CONFIG_USER_ONLY)
|
|
1002 | 1002 |
ret = 2; |
1003 |
} else {
|
|
1003 |
#else
|
|
1004 | 1004 |
ret = virtual_to_physical(env, &physical, &zbits, &prot, |
1005 | 1005 |
address, mmu_idx, rw); |
1006 |
}
|
|
1006 |
#endif
|
|
1007 | 1007 |
switch (ret) { |
1008 | 1008 |
case 0: |
1009 | 1009 |
/* No fault */ |
Also available in: Unified diff