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, Aug 28, 11:25 PM
Unknown Object (File)
Tue, Aug 25, 4:18 PM
Unknown Object (File)
Thu, Aug 20, 7:18 PM
Unknown Object (File)
Sun, Aug 16, 2:27 PM
Unknown Object (File)
Sat, Aug 15, 6:32 AM
Unknown Object (File)
Thu, Aug 13, 2:41 PM
Unknown Object (File)
Wed, Aug 12, 10:43 PM
Unknown Object (File)
Tue, Aug 11, 12:34 PM
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 Not Applicable
Unit
Tests Not Applicable

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