-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ASL compiler support (ACPI) #199
base: master
Are you sure you want to change the base?
Commits on Sep 25, 2020
-
Args: add '-a' option: asl compiler path
ASL compiler will be used to build ACPI tables at runtime
Configuration menu - View commit details
-
Copy full SHA for ca6b853 - Browse repository at this point
Copy the full SHA ca6b853View commit details -
ACPI-AML: change definitions' names to prevent overlap
We'll switch between precompiled AMLs (used now) and runtime-compiling ACPI when starting xhyve. 'acpi.c' and 'acpitbl.c' have same acpi tables offsets definitions. To prevent problems in future and partly save compatibility with bhyve sources, rename definitios in 'acpitbl.c'
Configuration menu - View commit details
-
Copy full SHA for 585a881 - Browse repository at this point
Copy the full SHA 585a881View commit details -
ACPI: remove 'ACPITBL_AML' definition
Since this moment we're assuming that ACPI tables build method will be chosen at runtime. If ASL compiler path specified - building ACPI tables using it, if not - building them from existing AMLs
Configuration menu - View commit details
-
Copy full SHA for 8421bff - Browse repository at this point
Copy the full SHA 8421bffView commit details -
ACPI: wrap ACPI build functions with callbacks
Wrapping functions with callbacks let us choose at runtime how the tables should be built: using precompiled AMLs or using ASL compiler. ASL-compiling method is gonna be updated, it doesn't work properly now
Configuration menu - View commit details
-
Copy full SHA for 10c540a - Browse repository at this point
Copy the full SHA 10c540aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 18657bf - Browse repository at this point
Copy the full SHA 18657bfView commit details
Commits on Oct 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for c954472 - Browse repository at this point
Copy the full SHA c954472View commit details -
ACPI MADT table correction for VM_MAXCPU > 21
The bhyve acpi MADT table was given a static space of 256 (0x100) bytes, this is enough space to allow VM_MAXCPU to be 21, this patch changes that so VM_MAXCPU can be of arbitrary value and not overflow the space by actually calculating the space needed for the table. Based on freebsd/freebsd-src@5822161
Configuration menu - View commit details
-
Copy full SHA for f45ec51 - Browse repository at this point
Copy the full SHA f45ec51View commit details