VirtualBox

Ignore:
Timestamp:
Jul 15, 2018 4:43:16 PM (6 years ago)
Author:
vboxsync
Message:

Serial: Split out the generic UART functionality into a separate module so it can be reused.

Add a PCI Express 16 port UART controller emulation based on the Oxford Semiconductor OXPCIe958
PCI Express to octa UART controller (supports chaining two of those together in a single device
to get up to 16 UARTs). This somewhat revives the incomplete and never enabled PCI UART controller
in the old code. Linux detects the device and apparently configures all 16 UARTs but data transfers
were not tested and the code is pretty incomplete still.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/testcase/tstDeviceStructSize.cpp

    r72119 r73135  
    114114#else
    115115# include "../Serial/DevSerialNew.cpp"
     116# include "../Serial/DevOxPcie958.cpp"
    116117#endif
    117118#ifdef VBOX_WITH_AHCI
     
    400401    CHECK_MEMBER_ALIGNMENT(SerialState, CritSect, 8);
    401402#else
    402     CHECK_MEMBER_ALIGNMENT(DEVSERIAL, CritSect, 8);
     403    CHECK_MEMBER_ALIGNMENT(DEVSERIAL, UartCore, 8);
     404    CHECK_MEMBER_ALIGNMENT(UARTCORE, CritSect, 8);
    403405#endif
    404406#ifdef VBOX_WITH_VMSVGA
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