Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/bhyve/acpi.c
Show First 20 Lines • Show All 602 Lines • ▼ Show 20 Lines | basl_fwrite_mcfg(FILE *fp) | ||||
/* iasl will fill in the compiler ID/revision fields */ | /* iasl will fill in the compiler ID/revision fields */ | ||||
EFPRINTF(fp, "[0004]\t\tAsl Compiler ID : \"xxxx\"\n"); | EFPRINTF(fp, "[0004]\t\tAsl Compiler ID : \"xxxx\"\n"); | ||||
EFPRINTF(fp, "[0004]\t\tAsl Compiler Revision : 00000000\n"); | EFPRINTF(fp, "[0004]\t\tAsl Compiler Revision : 00000000\n"); | ||||
EFPRINTF(fp, "[0008]\t\tReserved : 0\n"); | EFPRINTF(fp, "[0008]\t\tReserved : 0\n"); | ||||
EFPRINTF(fp, "\n"); | EFPRINTF(fp, "\n"); | ||||
EFPRINTF(fp, "[0008]\t\tBase Address : %016lX\n", pci_ecfg_base()); | EFPRINTF(fp, "[0008]\t\tBase Address : %016lX\n", pci_ecfg_base()); | ||||
EFPRINTF(fp, "[0002]\t\tSegment Group Number : 0000\n"); | EFPRINTF(fp, "[0002]\t\tSegment Group: 0000\n"); | ||||
EFPRINTF(fp, "[0001]\t\tStart Bus Number : 00\n"); | EFPRINTF(fp, "[0001]\t\tStart Bus: 00\n"); | ||||
EFPRINTF(fp, "[0001]\t\tEnd Bus Number : FF\n"); | EFPRINTF(fp, "[0001]\t\tEnd Bus: FF\n"); | ||||
EFPRINTF(fp, "[0004]\t\tReserved : 0\n"); | EFPRINTF(fp, "[0004]\t\tReserved : 0\n"); | ||||
EFFLUSH(fp); | EFFLUSH(fp); | ||||
return (0); | return (0); | ||||
err_exit: | err_exit: | ||||
return (errno); | return (errno); | ||||
} | } | ||||
static int | static int | ||||
▲ Show 20 Lines • Show All 382 Lines • Show Last 20 Lines |