VirtualBox

Ignore:
Timestamp:
Dec 13, 2024 8:09:39 AM (5 weeks ago)
Author:
vboxsync
Message:

VMM: bugref:10759 Refactor GIC for use with different backends.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/GICR3.cpp

    r106999 r107308  
    3333#include <VBox/log.h>
    3434#include "GICInternal.h"
    35 #include <VBox/vmm/gic.h>
     35#include <VBox/vmm/pdmgic.h>
    3636#include <VBox/vmm/cpum.h>
    3737#include <VBox/vmm/hm.h>
     
    425425     * Register the GIC with PDM.
    426426     */
    427     rc = PDMDevHlpApicRegister(pDevIns);
     427    rc = PDMDevHlpIcRegister(pDevIns);
     428    AssertLogRelRCReturn(rc, rc);
     429
     430    rc = PDMGicRegisterBackend(pVM, PDMGICBACKENDTYPE_VBOX, &g_GicBackend);
    428431    AssertLogRelRCReturn(rc, rc);
    429432
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette