Page MenuHomeFreeBSD

uart: Split out initilisation of the acpi devinfo
ClosedPublic

Authored by andrew on Mar 14 2024, 4:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 15, 10:00 AM
Unknown Object (File)
Thu, Nov 14, 2:30 AM
Unknown Object (File)
Sun, Nov 10, 5:00 AM
Unknown Object (File)
Oct 18 2024, 6:15 AM
Unknown Object (File)
Oct 6 2024, 8:53 PM
Unknown Object (File)
Oct 6 2024, 7:16 PM
Unknown Object (File)
Oct 4 2024, 2:56 PM
Unknown Object (File)
Oct 4 2024, 5:01 AM
Subscribers
None

Details

Summary

Split out the common parts of building the uart devinfo from ACPI
tables from the SPCR parser. This will be used when we support the DBG2
table to find the debug uart to be used by the kernel gdb stub.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 56603
Build 53491: arc lint + arc unit

Event Timeline

andrew created this revision.

just one (possibly unrelated) question.

sys/dev/uart/uart_cpu_acpi.c
130

surely this should be 4? I know this is already there, but it looks out of place.

This revision is now accepted and ready to land.Mar 14 2024, 5:53 PM
sys/dev/uart/uart_cpu_acpi.c
130

It's a shift, so 1<<3 is 8 bytes or 64 bits