Page MenuHomeFreeBSD

D36993.diff
No OneTemporary

D36993.diff

diff --git a/usr.sbin/bhyve/acpi.c b/usr.sbin/bhyve/acpi.c
--- a/usr.sbin/bhyve/acpi.c
+++ b/usr.sbin/bhyve/acpi.c
@@ -952,6 +952,14 @@
return (err);
}
+static int
+build_dsdt(struct vmctx *const ctx)
+{
+ BASL_EXEC(basl_compile(ctx, basl_fwrite_dsdt, DSDT_OFFSET));
+
+ return (0);
+}
+
int
acpi_build(struct vmctx *ctx, int ncpu)
{
@@ -993,7 +1001,7 @@
BASL_EXEC(basl_compile(ctx, basl_fwrite_hpet, HPET_OFFSET));
BASL_EXEC(basl_compile(ctx, basl_fwrite_mcfg, MCFG_OFFSET));
BASL_EXEC(basl_compile(ctx, basl_fwrite_facs, FACS_OFFSET));
- BASL_EXEC(basl_compile(ctx, basl_fwrite_dsdt, DSDT_OFFSET));
+ BASL_EXEC(build_dsdt(ctx));
BASL_EXEC(basl_finish());

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 16, 1:09 AM (11 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14650343
Default Alt Text
D36993.diff (678 B)

Event Timeline