]> git.ipfire.org Git - thirdparty/qemu.git/commit - exec.c
memory: make phys_page_find() return an unadjusted section
authorAvi Kivity <avi@redhat.com>
Thu, 8 Mar 2012 14:16:34 +0000 (16:16 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 8 Mar 2012 14:16:34 +0000 (16:16 +0200)
commitf3705d53296d78b14f5823472ae2add16a25a0a5
tree89dbec4350acf9ddc011575116e097b27c88f405
parente32605062cd62c2a958ad28a6ad7de4eeab12027
memory: make phys_page_find() return an unadjusted section

We'd like to store the section index in the iotlb, so we can't
adjust it before returning.  Return an unadjusted section and
instead introduce section_addr(), which does the adjustment later.

Signed-off-by: Avi Kivity <avi@redhat.com>
exec.c