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)
Sun, Oct 6, 8:53 PM
Unknown Object (File)
Sun, Oct 6, 7:16 PM
Unknown Object (File)
Fri, Oct 4, 2:56 PM
Unknown Object (File)
Fri, Oct 4, 5:01 AM
Unknown Object (File)
Fri, Sep 27, 6:13 PM
Unknown Object (File)
Fri, Sep 27, 6:58 AM
Unknown Object (File)
Fri, Sep 27, 6:58 AM
Unknown Object (File)
Fri, Sep 27, 6:58 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