]> Git Repo - qemu.git/commit
pci: add helper functions to check ranges overlap.
authorIsaku Yamahata <[email protected]>
Fri, 30 Oct 2009 12:21:19 +0000 (21:21 +0900)
committerAnthony Liguori <[email protected]>
Mon, 9 Nov 2009 14:43:09 +0000 (08:43 -0600)
commitf49db805a978015936f40ad5ba859181def8acbe
tree422c283fa6e076f8e24a3a0d5c242bb00855566f
parenta9f49946113262f9449890ed918ab99ef73dace8
pci: add helper functions to check ranges overlap.

add helper function to check ranges overlap suggested by
Michael S. Tsirkin <[email protected]>.
His original suggestion was to use [first, last], however I chosen
to use offset, length pair, i.e. [offset, offset + length)
because pci configuration space related functions all uses offset and length
pair, so it helps to avoid to type constant twice.

Cc: Michael S. Tsirkin <[email protected]>
Signed-off-by: Isaku Yamahata <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
hw/pci.h
This page took 0.026127 seconds and 4 git commands to generate.