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)
Thu, May 16, 7:36 PM
Unknown Object (File)
Wed, May 15, 8:21 PM
Unknown Object (File)
Wed, May 15, 8:21 PM
Unknown Object (File)
Tue, May 14, 5:39 PM
Unknown Object (File)
Tue, May 14, 5:16 PM
Unknown Object (File)
Tue, Apr 30, 6:02 PM
Unknown Object (File)
Tue, Apr 30, 6:02 PM
Unknown Object (File)
Tue, Apr 30, 6:02 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