summaryrefslogtreecommitdiff
path: root/usr/src/cmd/bhyve/acpi.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/bhyve/acpi.c')
-rw-r--r--usr/src/cmd/bhyve/acpi.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr/src/cmd/bhyve/acpi.c b/usr/src/cmd/bhyve/acpi.c
index 76ddf5f5f6..1eb2246b94 100644
--- a/usr/src/cmd/bhyve/acpi.c
+++ b/usr/src/cmd/bhyve/acpi.c
@@ -77,7 +77,7 @@ __FBSDID("$FreeBSD$");
#include "vmgenc.h"
/*
- * Define the base address of the ACPI tables, the sizes of some tables,
+ * Define the base address of the ACPI tables, the sizes of some tables,
* and the offsets to the individual tables,
*/
#define BHYVE_ACPI_BASE 0xf2400
@@ -455,7 +455,7 @@ basl_fwrite_fadt(FILE *fp)
EFPRINTF(fp, "[0008]\t\tAddress : 00000000%08X\n",
PM1A_EVT_ADDR);
EFPRINTF(fp, "\n");
-
+
EFPRINTF(fp,
"[0012]\t\tPM1B Event Block : [Generic Address Structure]\n");
EFPRINTF(fp, "[0001]\t\tSpace ID : 01 [SystemIO]\n");
@@ -650,7 +650,7 @@ basl_fwrite_facs(FILE *fp)
EFFLUSH(fp);
return (0);
-
+
err_exit:
return (errno);
}
@@ -850,7 +850,7 @@ basl_load(struct vmctx *ctx, int fd, uint64_t off)
if (fstat(fd, &sb) < 0)
return (errno);
-
+
gaddr = paddr_guest2host(ctx, basl_acpi_base + off, sb.st_size);
if (gaddr == NULL)
return (EFAULT);
@@ -884,7 +884,7 @@ basl_compile(struct vmctx *ctx, int (*fwrite_section)(FILE *), uint64_t offset)
fmt = basl_verbose_iasl ?
"%s -p %s %s" :
"/bin/sh -c \"%s -p %s %s\" 1> /dev/null";
-
+
snprintf(iaslbuf, sizeof(iaslbuf),
fmt,
BHYVE_ASL_COMPILER,
@@ -915,7 +915,7 @@ basl_make_templates(void)
err = 0;
/*
- *
+ *
*/
if ((tmpdir = getenv("BHYVE_TMPDIR")) == NULL || *tmpdir == '\0' ||
(tmpdir = getenv("TMPDIR")) == NULL || *tmpdir == '\0') {