[prev in list] [next in list] [prev in thread] [next in thread]
List: qemu-commits
Subject: [Qemu-commits] [qemu/qemu] b7a511: hw/sh4/sh_pci.c: Use ldl_le_p() and stl_le_p()
From: GitHub <noreply () github ! com>
Date: 2016-06-28 15:00:10
Message-ID: 577290fa5c961_22b3f8f38c812a01237a1 () hookshot-fe5-cp1-prd ! iad ! github ! net ! mail
[Download RAW message or body]
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: b7a511248d10ef84116ff0585655140a37821e9b
https://github.com/qemu/qemu/commit/b7a511248d10ef84116ff0585655140a37821e9b
Author: Peter Maydell <peter.maydell@linaro.org>
Date: 2016-06-28 (Tue, 28 Jun 2016)
Changed paths:
M hw/sh4/sh_pci.c
Log Message:
-----------
hw/sh4/sh_pci.c: Use ldl_le_p() and stl_le_p()
Use ldl_le_p() and stl_le_p() instead of le32_to_cpup() and
cpu_to_le32w(); the former handle misaligned addresses and don't
need casts, and the latter are deprecated.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Acked-by: Aurelien Jarno <aurelien@aurel32.net>
Message-id: 1465575021-3774-1-git-send-email-peter.maydell@linaro.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic