aboutsummaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2021-09-03 17:55:07 +0200
committerThomas Huth <thuth@redhat.com>2021-09-06 16:24:05 +0200
commite0b11f2df19c1e9341e9cec78429e45e5af5901b (patch)
tree4096fc0ec0ef5c40407ea57bd2a508fc78f60c89 /target
parente039992f9aa355bfb20d9797d4ce9eb04b7b0b2c (diff)
downloadqemu-e0b11f2df19c1e9341e9cec78429e45e5af5901b.zip
qemu-e0b11f2df19c1e9341e9cec78429e45e5af5901b.tar.gz
qemu-e0b11f2df19c1e9341e9cec78429e45e5af5901b.tar.bz2
s390x/mmu_helper: fixup mmu_translate() documentation
Looks like we forgot to adjust documentation of one parameter. Signed-off-by: David Hildenbrand <david@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20210903155514.44772-7-david@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'target')
-rw-r--r--target/s390x/mmu_helper.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/s390x/mmu_helper.c b/target/s390x/mmu_helper.c
index 167f1b1..ca25dad 100644
--- a/target/s390x/mmu_helper.c
+++ b/target/s390x/mmu_helper.c
@@ -374,7 +374,8 @@ static void mmu_handle_skey(target_ulong addr, int rw, int *flags)
* @param asc address space control (one of the PSW_ASC_* modes)
* @param raddr the translated address is stored to this pointer
* @param flags the PAGE_READ/WRITE/EXEC flags are stored to this pointer
- * @param exc true = inject a program check if a fault occurred
+ * @param tec the translation exception code if stored to this pointer if
+ * there is an exception to raise
* @return 0 = success, != 0, the exception to raise
*/
int mmu_translate(CPUS390XState *env, target_ulong vaddr, int rw, uint64_t asc,