summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2013-08-23 18:52:36 +0000
committerjkim <jkim@FreeBSD.org>2013-08-23 18:52:36 +0000
commit0cc58eba5c0724beb3429505a5ed0c11585d640e (patch)
treeb888b23a0a7ebb6bf1ae9eb5046abfaecb74fce8 /sys/boot/i386
parente796164e5aec2a844c45b36e11905d4d3bb12add (diff)
downloadFreeBSD-src-0cc58eba5c0724beb3429505a5ed0c11585d640e.zip
FreeBSD-src-0cc58eba5c0724beb3429505a5ed0c11585d640e.tar.gz
Set the hint for physical address of RSDP in hexadecimal as before r223262.
Diffstat (limited to 'sys/boot/i386')
-rw-r--r--sys/boot/i386/libi386/biosacpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/i386/libi386/biosacpi.c b/sys/boot/i386/libi386/biosacpi.c
index ff8b1ca..bedc722 100644
--- a/sys/boot/i386/libi386/biosacpi.c
+++ b/sys/boot/i386/libi386/biosacpi.c
@@ -61,7 +61,7 @@ biosacpi_detect(void)
return;
/* export values from the RSDP */
- sprintf(buf, "%u", VTOP(rsdp));
+ sprintf(buf, "0x%08x", VTOP(rsdp));
setenv("hint.acpi.0.rsdp", buf, 1);
revision = rsdp->Revision;
if (revision == 0)
OpenPOWER on IntegriCloud