aboutsummaryrefslogtreecommitdiff
path: root/include/qemu/buffer.h
diff options
context:
space:
mode:
authorDaniel Henrique Barboza <danielhb413@gmail.com>2022-01-12 11:28:27 +0100
committerCédric Le Goater <clg@kaod.org>2022-01-12 11:28:27 +0100
commit5032f5d70524af38259a27fb132a57cd3ca40619 (patch)
tree79a61bef9b9b9084e883918fa57cd6f54b951e3f /include/qemu/buffer.h
parent451575816c07284f7620b88e2208086588288925 (diff)
downloadqemu-5032f5d70524af38259a27fb132a57cd3ca40619.zip
qemu-5032f5d70524af38259a27fb132a57cd3ca40619.tar.gz
qemu-5032f5d70524af38259a27fb132a57cd3ca40619.tar.bz2
pnv_phb4_pec.c: move pnv_pec_phb_offset() to pnv_phb4.c
The logic inside pnv_pec_phb_offset() will be useful in the next patch to determine the stack that should contain a PHB4 device. Move the function to pnv_phb4.c and make it public since there's no pnv_phb4_pec.h header. While we're at it, add 'stack_index' as a parameter and make the function return 'phb-id' directly. And rename it to pnv_phb4_pec_get_phb_id() to be even clearer about the function intent. Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com> Message-Id: <20220110143346.455901-3-danielhb413@gmail.com> Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'include/qemu/buffer.h')
0 files changed, 0 insertions, 0 deletions