Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/8bf02f844ebb
branches:  netbsd-6-1
changeset: 776069:8bf02f844ebb
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Thu Apr 16 09:18:46 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 df8131aa64bb -r 8bf02f844ebb sys/arch/sparc/stand/ofwboot/Locore.c
--- a/sys/arch/sparc/stand/ofwboot/Locore.c     Tue Apr 14 15:18:21 2015 +0000
+++ b/sys/arch/sparc/stand/ofwboot/Locore.c     Thu Apr 16 09:18:46 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.24.1 2015/04/16 09:18:46 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