commit | 1165aa9de38cbb46c93a8ee50c6116fff36176aa | [log] [tgz] |
---|---|---|
author | Gianfranco Valentino <gevalentino@google.com> | Tue Jan 23 00:04:01 2024 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jan 23 00:04:01 2024 +0000 |
tree | df57fffaac75835ca5d7f60e97ee0eb3b05c8a43 | |
parent | 2f81a9b580fca24b046d4dd5018fd68f95aa01df [diff] |
[uart] Replace PortCount parameter. The parameter values is essencially unused, and its sole purpose is select the underlying RegisterMmio/RegisterMmioScaled/RegisterPio based on the BasicIoProvider. This patch replaces the magic values with an enum. IoRegisterType {kMmio, kMmioScaled, kPio}. And pio_size is no longer a member of uart, instead we return the enum describing the underlying io type. Fixed: 42080554 Change-Id: I266c9f81919fd6b4076b2304796938dda1efd865 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/975244 Reviewed-by: Roland McGrath <mcgrathr@google.com> Commit-Queue: Gianfranco Valentino <gevalentino@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.