[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] b7a511: hw/sh4/sh_pci.c: Use ldl_le_p() and s
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] b7a511: hw/sh4/sh_pci.c: Use ldl_le_p() and stl_le_p() |
Date: |
Tue, 28 Jun 2016 08:00:10 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: b7a511248d10ef84116ff0585655140a37821e9b
https://github.com/qemu/qemu/commit/b7a511248d10ef84116ff0585655140a37821e9b
Author: Peter Maydell <address@hidden>
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 <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Acked-by: Aurelien Jarno <address@hidden>
Message-id: address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] b7a511: hw/sh4/sh_pci.c: Use ldl_le_p() and stl_le_p(),
GitHub <=