Revision 5fafdf24 hw/alpha_palcode.c
b/hw/alpha_palcode.c | ||
---|---|---|
1 | 1 |
/* |
2 | 2 |
* Alpha emulation - PALcode emulation for qemu. |
3 |
*
|
|
3 |
* |
|
4 | 4 |
* Copyright (c) 2007 Jocelyn Mayer |
5 | 5 |
* |
6 | 6 |
* This library is free software; you can redistribute it and/or |
... | ... | |
62 | 62 |
mtpr(TB_TAG); |
63 | 63 |
mtpr(TB_CTL); |
64 | 64 |
/* This commits the TB update */ |
65 |
mtpr(ITB_PTE);
|
|
65 |
mtpr(ITB_PTE); |
|
66 | 66 |
} |
67 | 67 |
|
68 | 68 |
static void update_dtb (); |
... | ... | |
937 | 937 |
} |
938 | 938 |
} |
939 | 939 |
*paddr = (pfn << page_bits) | (vaddr & page_mask); |
940 |
|
|
940 |
|
|
941 | 941 |
return 0; |
942 | 942 |
} |
943 | 943 |
|
... | ... | |
998 | 998 |
|
999 | 999 |
if (env->user_mode_only) { |
1000 | 1000 |
ret = 2; |
1001 |
} else {
|
|
1001 |
} else { |
|
1002 | 1002 |
ret = virtual_to_physical(env, &physical, &zbits, &prot, |
1003 | 1003 |
address, is_user, rw); |
1004 | 1004 |
} |
Also available in: Unified diff