Skip to content

acpi: adjust DSDT device order#1164

Open
lgfa29 wants to merge 1 commit into
masterfrom
acpi-fix-device-order
Open

acpi: adjust DSDT device order#1164
lgfa29 wants to merge 1 commit into
masterfrom
acpi-fix-device-order

Conversation

@lgfa29

@lgfa29 lgfa29 commented Jul 1, 2026

Copy link
Copy Markdown
Member

Using a DsdtGenerator to generate the AML code for the PS2 keyboard in the v0 ACPI variant can cause its position in the DSDT table to be different from the original tables because the DsdtGenerators are read from a the devices BTreeMap, which also include the serial ports.

Since the map key for serial ports is defined in the VM spec, it can cause the device order to change based on user-input, which is not desirible for the v0 as we hope to match the original tables as close as possible.

Using a `DsdtGenerator` to generate the AML code for the PS2 keyboard in
the v0 ACPI variant can cause its position in the DSDT table to be
different from the original tables because the `DsdtGenerators` are read
from a the devices `BTreeMap`, which also include the serial ports.

Since the map key for serial ports is defined in the VM spec, it can
cause the device order to change based on user-input, which is not
desirible for the v0 as we hope to match the original tables as close as
possible.
@lgfa29 lgfa29 requested a review from iximeow July 1, 2026 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant