diff options
author | Ian Jackson <ian.jackson@eu.citrix.com> | 2012-12-17 11:43:19 +0000 |
---|---|---|
committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2012-12-17 11:43:19 +0000 |
commit | a38648290ee277c7cb8a53eabdcdb08bb7a9f23f (patch) | |
tree | 08fcf5b90461b52d98bd2c30687005cf1dce8a2f /cmd.h | |
parent | f1b8caf1d927f30f66054733a783651a24db4999 (diff) |
cpu_ioreq_pio, cpu_ioreq_move: introduce read_phys_req_item, write_phys_req_item
Replace a lot of formulaic multiplications (containing casts, no less)
with calls to a pair of functions. This encapsulates in a single
place the operations which require care relating to integer overflow.
Cc: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'cmd.h')
0 files changed, 0 insertions, 0 deletions