mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
ipmi: Allow a size value to be passed for I/O space
PCI device I/O must be >= 8 bytes in length or they don't work. Allow the size to be passed in, the default size of 2 or 3 won't work. Signed-off-by: Corey Minyard <cminyard@mvista.com>
This commit is contained in:
parent
1739d54c8b
commit
79d29a9d06
7 changed files with 44 additions and 11 deletions
|
@ -56,6 +56,7 @@ typedef struct IPMIBT {
|
|||
uint32_t io_base;
|
||||
unsigned long io_length;
|
||||
MemoryRegion io;
|
||||
unsigned long size_mask;
|
||||
|
||||
void (*raise_irq)(struct IPMIBT *ib);
|
||||
void (*lower_irq)(struct IPMIBT *ib);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue