[platform][qemu-virt] make sure the PCI bus builds properly
Implement stubbed out versions of the msi allocation routines. Add a stubbed out routine to allocate MSI vectors.
This commit is contained in:
@@ -104,6 +104,10 @@ void register_int_handler(unsigned int vector, int_handler handler, void *arg) {
|
||||
spin_unlock_restore(&gicd_lock, state, GICD_LOCK_FLAGS);
|
||||
}
|
||||
|
||||
void register_int_handler_msi(unsigned int vector, int_handler handler, void *arg, bool edge) {
|
||||
PANIC_UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
#define GICREG(gic, reg) (*REG32(GICBASE(gic) + (reg)))
|
||||
|
||||
/* main cpu regs */
|
||||
|
||||
Reference in New Issue
Block a user