Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-6]: src/sys/arch/sparc/stand/ofwboot Pull up following revision(s...



details:   https://anonhg.NetBSD.org/src/rev/41e04fb5949c
branches:  netbsd-6
changeset: 776949:41e04fb5949c
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Thu Apr 16 08:56:11 2015 +0000

description:
Pull up following revision(s) (requested by nakayama in ticket #1285):
        sys/arch/sparc/stand/ofwboot/Locore.c: revision 1.14
Fix kernel loading failures from partitions started from over first
4GB of disks on sparc64.

diffstat:

 sys/arch/sparc/stand/ofwboot/Locore.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 3dcad8eaed38 -r 41e04fb5949c sys/arch/sparc/stand/ofwboot/Locore.c
--- a/sys/arch/sparc/stand/ofwboot/Locore.c     Thu Apr 16 07:03:53 2015 +0000
+++ b/sys/arch/sparc/stand/ofwboot/Locore.c     Thu Apr 16 08:56:11 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: Locore.c,v 1.12 2011/05/21 15:50:42 tsutsui Exp $      */
+/*     $NetBSD: Locore.c,v 1.12.10.1 2015/04/16 08:56:11 msaitoh Exp $ */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -302,8 +302,8 @@
        args.nargs = 3;
        args.nreturns = 1;
        args.handle = HDL2CELL(handle);
-       args.poshi = HDL2CELL(pos >> 32);
-       args.poslo = HDL2CELL(pos);
+       args.poshi = HDQ2CELL_HI(pos);
+       args.poslo = HDQ2CELL_LO(pos);
        if (openfirmware(&args) == -1) {
                return -1;
        }



Home | Main Index | Thread Index | Old Index