Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/arch/i386/stand/lib Apply patch (based on rev. 1.3 ...



details:   https://anonhg.NetBSD.org/src/rev/f36ed83d260c
branches:  netbsd-1-4
changeset: 469900:f36ed83d260c
user:      he <he%NetBSD.org@localhost>
date:      Mon Dec 20 13:32:43 1999 +0000

description:
Apply patch (based on rev. 1.3 of loadfile_machdep.h, requested by drochner):
  Allow booting of kernels which are larger than 16MB on i386.

diffstat:

 sys/arch/i386/stand/lib/loadfile.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 5999ab7a4fab -r f36ed83d260c sys/arch/i386/stand/lib/loadfile.h
--- a/sys/arch/i386/stand/lib/loadfile.h        Mon Dec 20 13:31:41 1999 +0000
+++ b/sys/arch/i386/stand/lib/loadfile.h        Mon Dec 20 13:32:43 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: loadfile.h,v 1.3 1999/01/29 18:44:09 christos Exp $     */
+/*     $NetBSD: loadfile.h,v 1.3.2.1 1999/12/20 13:32:43 he Exp $       */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -71,7 +71,7 @@
 
 #ifdef _STANDALONE
 
-#define LOADADDR(a)            ((((u_long)(a)) & 0x00ffffff) + offset)
+#define LOADADDR(a)            ((((u_long)(a)) & 0x07ffffff) + offset)
 #define ALIGNENTRY(a)          ((u_long)(a) & 0x00100000)
 #define READ(f, b, c)          pread((f), (void *)LOADADDR(b), (c))
 #define BCOPY(s, d, c)         vpbcopy((s), (void *)LOADADDR(d), (c))



Home | Main Index | Thread Index | Old Index