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

configurator need to support configurable reg width for UART #8721

Open
dongpingx opened this issue Aug 30, 2024 · 0 comments
Open

configurator need to support configurable reg width for UART #8721

dongpingx opened this issue Aug 30, 2024 · 0 comments
Labels
status: new The issue status: new for creation

Comments

@dongpingx
Copy link
Contributor

No description provided.

@dongpingx dongpingx added the status: new The issue status: new for creation label Aug 30, 2024
dongpingx added a commit to dongpingx/acrn-hypervisor that referenced this issue Aug 30, 2024
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 <dongpingx.wu@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: new The issue status: new for creation
Projects
None yet
Development

No branches or pull requests

1 participant