[edk2-devel] [PATCH edk2-platforms WIP 0/5] Provide EHCI or XHCI USB controller
Marcin Juszkiewicz
marcin.juszkiewicz at linaro.org
Fri Oct 13 13:31:24 UTC 2023
W dniu 13.10.2023 o 15:24, Gerd Hoffmann pisze:
>> So two solutions came to my mind:
>>
>> 1. rewrite DSDT generation into C
>
> You might want have a look at DynamicTablesPkg/ for that
Wasn't is involving using ConfigurationManager? Or maybe I just had
wrong assumption after reading code.
>> 2. provide EHCI/XHCI in SSDT table instead of DSDT
>
> Should work, except that I'd suggest to worry about xhci only.
> ehci never actually worked anyway, so why advertise it to the OS in the
> first place?
Good point.
> 3. Add a _STA AML function to the XHCI DSDT description, which is able
> to figure whenever XHCI is present.
>
> We had that in qemu years ago, before switching to full DSDT generation,
> where the _STA functions checked some bit in PCI config space of the ISA
> bridge to figure whenever specific isa devices (floppy, serial/parallel
> port) are present or not.
Will look.
Thanks.
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#109593): https://edk2.groups.io/g/devel/message/109593
Mute This Topic: https://groups.io/mt/101938735/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list