summaryrefslogtreecommitdiffstats
path: root/sys/boot/alpha
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2000-06-03 08:24:37 +0000
committerdfr <dfr@FreeBSD.org>2000-06-03 08:24:37 +0000
commit784d209c4677c786c2acc3eb44d3040493795328 (patch)
treea3a6e3f0124b0c0c30f98aa61e94bda9d4440477 /sys/boot/alpha
parenta5752e4f08b8857034b17424d81df4d49d349686 (diff)
downloadFreeBSD-src-784d209c4677c786c2acc3eb44d3040493795328.zip
FreeBSD-src-784d209c4677c786c2acc3eb44d3040493795328.tar.gz
Record the new PALcode revision in the pcs structure after changing to
run OSF/1 PALcode. Obtained from: NetBSD
Diffstat (limited to 'sys/boot/alpha')
-rw-r--r--sys/boot/alpha/libalpha/OSFpal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/boot/alpha/libalpha/OSFpal.c b/sys/boot/alpha/libalpha/OSFpal.c
index 870296b..9a0ee35 100644
--- a/sys/boot/alpha/libalpha/OSFpal.c
+++ b/sys/boot/alpha/libalpha/OSFpal.c
@@ -66,6 +66,8 @@ OSFpal()
return;
}
switch_palcode();
+ bcopy(&p->pcs_palrevisions[PALvar_OSF1], &p->pcs_pal_rev,
+ sizeof(p->pcs_pal_rev));
printf("Switch to OSF PAL code succeeded.\n");
}
OpenPOWER on IntegriCloud