Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/stand/ofwboot Fix kernel loading failures fro...
details: https://anonhg.NetBSD.org/src/rev/da8437c17f2d
branches: trunk
changeset: 336911:da8437c17f2d
user: nakayama <nakayama%NetBSD.org@localhost>
date: Fri Mar 27 06:07:33 2015 +0000
description:
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 4a68e62fa150 -r da8437c17f2d sys/arch/sparc/stand/ofwboot/Locore.c
--- a/sys/arch/sparc/stand/ofwboot/Locore.c Fri Mar 27 06:04:42 2015 +0000
+++ b/sys/arch/sparc/stand/ofwboot/Locore.c Fri Mar 27 06:07:33 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: Locore.c,v 1.13 2013/12/18 10:09:56 martin Exp $ */
+/* $NetBSD: Locore.c,v 1.14 2015/03/27 06:07:33 nakayama 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