« Previous | Next » 

Revision a3864829

IDa38648290ee277c7cb8a53eabdcdb08bb7a9f23f

Added by Ian Jackson over 11 years ago

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 <>
Signed-off-by: Ian Jackson <>
Acked-by: Stefano Stabellini <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences