Page MenuHomeFreeBSD

bhyve: make basl_table_add_* functions public
ClosedPublic

Authored by corvink on Nov 16 2022, 12:50 PM.
Tags
None
Referenced Files
F163104917: D37405.id113197.diff
Mon, Jul 20, 3:11 AM
Unknown Object (File)
Sat, Jul 18, 3:55 PM
Unknown Object (File)
Sat, Jul 18, 1:39 PM
Unknown Object (File)
Sat, Jul 18, 12:42 PM
Unknown Object (File)
Sun, Jul 12, 1:04 AM
Unknown Object (File)
Wed, Jul 8, 7:29 AM
Unknown Object (File)
Mon, Jun 22, 4:09 PM
Unknown Object (File)
Sun, Jun 21, 2:14 AM
Subscribers

Details

Summary

The code will be more readable if we use struct definition from ACPI-CA
to build ACPI tables. We can fill out the struct and append it to the
basl_table by using basl_table_append_bytes. After that, we have to
declare which checksums, length and pointers should be patched by basl.
That's done by the add_* functions.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Nov 16 2022, 2:23 PM