This commit adds support for writing ACPI _UPC structures that help describe USB ports for the OS.
This is a simple structure format which indicates what type of port it is and whether it is connectable. It should be paired with an ACPI _PLD structure to define USB ports for the OS.
beb2af4e35 acpi: Add support for generating ACPI _UPC
src/arch/x86/acpigen.c | 15 +++++++++++++++
src/arch/x86/include/arch/acpi.h | 24 ++++++++++++++++++++++++
src/arch/x86/include/arch/acpigen.h | 1 +
3 files changed, 40 insertions(+)