Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/823bbd7ef94b
branches:  netbsd-6-0
changeset: 775069:823bbd7ef94b
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Thu Apr 16 09:19:50 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 984164e17095 -r 823bbd7ef94b sys/arch/sparc/stand/ofwboot/Locore.c
--- a/sys/arch/sparc/stand/ofwboot/Locore.c     Wed Apr 15 04:35:52 2015 +0000
+++ b/sys/arch/sparc/stand/ofwboot/Locore.c     Thu Apr 16 09:19:50 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.16.1 2015/04/16 09:19:50 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