Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102628306
D36993.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
678 B
Referenced Files
None
Subscribers
None
D36993.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D36993: [PATCH 10/19] bhyve: build DSDT table by basl
Attached
Detach File
Event Timeline
Log In to Comment