diff options
| author | Daniel Henrique Barboza <danielhb413@gmail.com> | 2022-01-12 11:28:27 +0100 |
|---|---|---|
| committer | Cédric Le Goater <clg@kaod.org> | 2022-01-12 11:28:27 +0100 |
| commit | 5032f5d70524af38259a27fb132a57cd3ca40619 (patch) | |
| tree | 79a61bef9b9b9084e883918fa57cd6f54b951e3f /python/qemu/machine/machine.py | |
| parent | 451575816c07284f7620b88e2208086588288925 (diff) | |
| download | focaccia-qemu-5032f5d70524af38259a27fb132a57cd3ca40619.tar.gz focaccia-qemu-5032f5d70524af38259a27fb132a57cd3ca40619.zip | |
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 'python/qemu/machine/machine.py')
0 files changed, 0 insertions, 0 deletions