aboutsummaryrefslogtreecommitdiff
path: root/cputlb.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2012-08-15 13:25:54 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2012-08-15 13:25:54 -0500
commitd1186a33efa74c91b01e1b5d9918c61d109f1b54 (patch)
tree5e1430bcd829f18a905b95efd2d4b89d219b250b /cputlb.c
parentfdef621b5810cf8d6715e04d883a0f3523873014 (diff)
parentc3594ed73e0a7e7feae309be79f0eb6bafcc02ab (diff)
Merge remote-tracking branch 'stefanha/trivial-patches' into staging
* stefanha/trivial-patches: ivshmem, qdev-monitor: fix order of qerror parameters iov_send_recv(): Handle zero bytes case even if OS does not framebuffer: Fix spelling in comment (leight -> height) Spelling fix in comment (peripherans -> peripherals) docs: Fix spelling (propery -> property) trace: Fix "Qemu" -> "QEMU" cputlb.c: Fix out of date comment ehci: fix assertion typo Makefile: Avoid explicit list of directories in clean target
Diffstat (limited to 'cputlb.c')
-rw-r--r--cputlb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cputlb.c b/cputlb.c
index 0d1e2527fb..d3e7b257ae 100644
--- a/cputlb.c
+++ b/cputlb.c
@@ -312,7 +312,9 @@ void tlb_set_page(CPUArchState *env, target_ulong vaddr,
/* NOTE: this function can trigger an exception */
/* NOTE2: the returned address is not exactly the physical address: it
- is the offset relative to phys_ram_base */
+ * is actually a ram_addr_t (in system mode; the user mode emulation
+ * version of this function returns a guest virtual address).
+ */
tb_page_addr_t get_page_addr_code(CPUArchState *env1, target_ulong addr)
{
int mmu_idx, page_index, pd;