Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc: configurator need to support configurable reg width for UART #8722

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Aug 30, 2024

  1. misc: configurator need to support configurable reg width for UART

    We found sometime we need to configure reg width for mmio and
    we change the width by hand for workaround, now we can configure
    the width by configurator.
    
    I defined a macro named CONFIG_SERIAL_MMIO_REG_WIDTH in uart16550.c,
    collected mmio ports, loaded them and made a judgement whether
    the current serial_console was a mmio serial, it will show an option
    for mmio and hide for other serial ports.
    
    I tested three sorts of serials: portio, pci and mmio, built acrn and
    checked the content generated in build/hypervisor/include/config.h,
    I confirmed the results are correct.
    
    Tracked-On: projectacrn#8721
    Signed-off-by: dongpingx <[email protected]>
    dongpingx committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    18de5ae View commit details
    Browse the repository at this point in the history