seems to actually be commit a2e1753b8054344f32cf94f31c6399a58794a380
Regards,
BALATON Zoltan
tem.flash0", "pflash0");
+pcms->flash[1] = pc_pflash_create(pcms, "system.flash1", "pflash1");
}
This could just be inlined as it's called once, then no need for assert
and a separate function.
Regards,
BALATON Zoltan
void pc_system_flash_cleanup_unused(PCMachineState *pcms)
r PCI PC machine now?
Regards,
BALATON Zoltan
int i;
BlockBackend *pflash_blk[ARRAY_SIZE(pcms->flash)];
-if (!pc_machine_is_pci_enabled(pcms)) {
-x86_bios_rom_init(MACHINE(pcms), "bios.bin", rom_memory, true);
-return;
-}
+assert(pc_machine_is_pci_e
ACPI_PCIHP_BNMR_BASE 0x10
-void acpi_setup(void);
+void acpi_setup(PCMachineState *pcms);
This is changed to PcPciMachineState * in a following patch so can't you
already introduce it here to avoid some churn?
Regards,
BALATON Zoltan
Object *acpi_get_i386_pci_host(void);
#endif
diff --git a/hw
can drop the local
and chnage next line to use >adb_bus instead.
Regards,
BALATON Zoltan
dev, "adb.0");
adb_register_autopoll_callback(adb_bus, pmu_adb_poll, s);
}
xplainig here and there what bql stands for should be
enough for new people to quickly find out. If we want to be more verbose
how about "qemu_global_mutex" which is self describing but longer and does
not resemble BQL so then comments may be needed to explain this is what
was called BQL as wel
both TARGET_FMT_plx and HWADDR_PRIx? Why not just use
HWADDR_PRIx instead?
Regards,
BALATON Zoltan
ng because of
misnaming sysemu as softmmu.
Reagrds,
BALATON Zoltan
/**
* Get the root memory region. This is a legacy function, provided for
* compatibility. Prefer using SysBusState::system_memory directly.
*/
-MemoryRegion *get_system_memory(void);
+inline MemoryRegion *get_sys
SysBusState anyway
instead of accessing globals so is there a performance impact?
Regards,
BALATON Zoltan
};
#define TYPE_SYS_BUS_DEVICE "sys-bus-device"
diff --git a/softmmu/physmem.c b/softmmu/physmem.c
index 0ac920d446..07e9a9171c 100644
--- a/softmmu/physmem.c
+++ b/softmmu/phy
On Fri, 19 Feb 2021, Philippe Mathieu-Daudé wrote:
Restrit KVM to the following ARM machines:
Typo: "Restrict" (also in patch title).
Regards,
BALATON Zoltan
- virt
- xlnx-versal-virt
Signed-off-by: Philippe Mathieu-Daudé
---
hw/arm/virt.c | 5 +
hw/arm/xlnx-ver
) << 8) + (regno))
Are you missing a << 8 somewhere before + (regno) or both of these are
equally unreadable and I've missed something? This seems to be completely
replaced by next patch so what's the point of this change?
Regards,
BALATON Zoltan
typedef struct BonitoState BonitoState;
On Sat, 4 Jul 2020, Philippe Mathieu-Daudé wrote:
On 7/4/20 7:17 PM, BALATON Zoltan wrote:
On Sat, 4 Jul 2020, Philippe Mathieu-Daudé wrote:
Various machine/board/soc models create UHCI device instances
with the generic QDEV API, and don't need to access USB internals.
Simplify header
w/usb" headers.
Suggested-by: BALATON Zoltan
Signed-off-by: Philippe Mathieu-Daudé
---
hw/usb/hcd-xhci.h| 2 +-
include/hw/usb/usb-hcd.h | 3 +++
hw/ppc/spapr.c | 2 +-
3 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/hw/usb/hcd-xhci.h b/hw/usb/hcd-xhci.h
index
w/usb" headers.
Suggested-by: BALATON Zoltan
Signed-off-by: Philippe Mathieu-Daudé
---
include/hw/usb/usb-hcd.h | 6 ++
hw/i386/pc_piix.c| 3 ++-
hw/i386/pc_q35.c | 13 +++--
hw/isa/piix4.c | 3 ++-
hw/mips/fuloong2e.c | 5 +++--
hw/usb/hcd-uhci.c
w/usb" headers.
Suggested-by: BALATON Zoltan
Signed-off-by: Philippe Mathieu-Daudé
---
hw/usb/hcd-ehci.h | 11 +--
include/hw/usb/chipidea.h | 2 +-
include/hw/usb/usb-hcd.h | 11 +++
hw/arm/allwinner-h3.c | 1 -
hw/arm/exynos4210.c | 2 +-
hw/arm/
w/usb" headers.
Suggested-by: BALATON Zoltan
Signed-off-by: Philippe Mathieu-Daudé
---
hw/usb/hcd-ohci.h| 2 +-
include/hw/usb/usb-hcd.h | 16
I wonder if we need a new header for this or these could just go in the
new public hw/usb/usb.h as machines creating a HC
usually NULL
parameters so not adding one more which needs changing so many files seems
like a good idea to me and it seems previously adding wrappers for this
was the preferred way..
Regards,
BALATON Zoltan
which needs to read the XEN_ELFNOTE_PHYS32_ENTRY ELF Note while
loading
17 matches
Mail list logo