summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorneel <neel@FreeBSD.org>2015-04-28 23:44:47 +0000
committerneel <neel@FreeBSD.org>2015-04-28 23:44:47 +0000
commit0151349b0502d6d499abb90dee1d882fbf806d81 (patch)
tree33e70fdb14c7b1152663e8ec0995b0d3b2624105 /usr.sbin
parenta5d3a9fc065ad2352f5843e76a376a83abb8cf4f (diff)
downloadFreeBSD-src-0151349b0502d6d499abb90dee1d882fbf806d81.zip
FreeBSD-src-0151349b0502d6d499abb90dee1d882fbf806d81.tar.gz
Implement the century byte in the RTC. Some guests require this field to be
properly set. Reported by: Leon Dang (ldang@nahannisys.com) MFC after: 2 weeks
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/bhyve/acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bhyve/acpi.c b/usr.sbin/bhyve/acpi.c
index a5a6559..a9dd1cc 100644
--- a/usr.sbin/bhyve/acpi.c
+++ b/usr.sbin/bhyve/acpi.c
@@ -386,7 +386,7 @@ basl_fwrite_fadt(FILE *fp)
EFPRINTF(fp, "[0001]\t\tDuty Cycle Width : 00\n");
EFPRINTF(fp, "[0001]\t\tRTC Day Alarm Index : 00\n");
EFPRINTF(fp, "[0001]\t\tRTC Month Alarm Index : 00\n");
- EFPRINTF(fp, "[0001]\t\tRTC Century Index : 00\n");
+ EFPRINTF(fp, "[0001]\t\tRTC Century Index : 32\n");
EFPRINTF(fp, "[0002]\t\tBoot Flags (decoded below) : 0000\n");
EFPRINTF(fp, "\t\t\tLegacy Devices Supported (V2) : 0\n");
EFPRINTF(fp, "\t\t\t8042 Present on ports 60/64 (V2) : 0\n");
OpenPOWER on IntegriCloud