diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-05-05 21:55:01 +0100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-05-11 09:53:41 +0100 |
commit | 0b3c75ad1a21574cc55b0c095a7dc21e2d27ffc8 (patch) | |
tree | 861006d476925fa726a93e85eb37dd247a3f3f9e /qemu-io.c | |
parent | 9877ea05de9cdce6a5da87175d8455832f8148dc (diff) | |
download | qemu-0b3c75ad1a21574cc55b0c095a7dc21e2d27ffc8.zip qemu-0b3c75ad1a21574cc55b0c095a7dc21e2d27ffc8.tar.gz qemu-0b3c75ad1a21574cc55b0c095a7dc21e2d27ffc8.tar.bz2 |
accel/tcg: Introduce tlb_read_idx
Instead of playing with offsetof in various places, use
MMUAccessType to index an array. This is easily defined
instead of the previous dummy padding array in the union.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions