diff options
author | Cédric Le Goater | 2017-02-10 18:40:30 +0100 |
---|---|---|
committer | Peter Maydell | 2017-02-10 18:40:30 +0100 |
commit | b4cc583f0285a2e1e78621dfba142f00ca47414a (patch) | |
tree | 298e783ef635a9514a758659586c3dbd773c792b /hw/display | |
parent | aspeed/smc: handle dummies only in fast read mode (diff) | |
download | qemu-b4cc583f0285a2e1e78621dfba142f00ca47414a.tar.gz qemu-b4cc583f0285a2e1e78621dfba142f00ca47414a.tar.xz qemu-b4cc583f0285a2e1e78621dfba142f00ca47414a.zip |
aspeed/smc: use a modulo to check segment limits
The size of a segment is not necessarily a power of 2.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 1486648058-520-5-git-send-email-clg@kaod.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/display')
0 files changed, 0 insertions, 0 deletions