VirtualBox

Changeset 99125 in vbox for trunk


Ignore:
Timestamp:
Mar 23, 2023 8:13:38 AM (19 months ago)
Author:
vboxsync
Message:

Devices: Start implementation of ARM PL011 UART emulation, bugref:10403

Location:
trunk/src/VBox/Devices
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Makefile.kmk

    r99040 r99125  
    908908 endif
    909909
     910 # --- ARMv8 bits. ---
     911 if defined(VBOX_WITH_VIRT_ARMV8)
     912  VBoxDD_DEFS       += VBOX_VMM_TARGET_ARMV8
     913  VBoxDD_SOURCES    += \
     914    Serial/DevPL011.cpp
     915 endif
     916
    910917 # --- Final bits, mostly libraries for order dependant linkers. ---
    911918
  • trunk/src/VBox/Devices/build/VBoxDD.cpp

    r98103 r99125  
    248248        return rc;
    249249#endif
     250#ifdef VBOX_VMM_TARGET_ARMV8
     251    rc = pCallbacks->pfnRegister(pCallbacks, &g_DevicePl011);
     252    if (RT_FAILURE(rc))
     253        return rc;
     254#endif
    250255
    251256    return VINF_SUCCESS;
  • trunk/src/VBox/Devices/build/VBoxDD.h

    r98103 r99125  
    229229#endif
    230230
     231#ifdef VBOX_VMM_TARGET_ARMV8
     232extern const PDMDEVREG g_DevicePl011;
     233#endif
     234
    231235/* VBoxAcpi.cpp */
    232236int acpiPrepareDsdt(PPDMDEVINS pDevIns, void **ppvPtr, size_t *pcbDsdt);
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