Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/stand/lib Recent changes have increased the nu...
details: https://anonhg.NetBSD.org/src/rev/f531d8b92110
branches: trunk
changeset: 359075:f531d8b92110
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Sat Jan 27 22:25:23 2018 +0000
description:
Recent changes have increased the number of "things" the bootloader
needs to deal with. Increase the table size so we don't overflow.
diffstat:
sys/arch/i386/stand/lib/bootinfo.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r e312bd73d91c -r f531d8b92110 sys/arch/i386/stand/lib/bootinfo.h
--- a/sys/arch/i386/stand/lib/bootinfo.h Sat Jan 27 21:46:54 2018 +0000
+++ b/sys/arch/i386/stand/lib/bootinfo.h Sat Jan 27 22:25:23 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bootinfo.h,v 1.11 2016/06/05 14:13:57 maxv Exp $ */
+/* $NetBSD: bootinfo.h,v 1.12 2018/01/27 22:25:23 pgoyette Exp $ */
/*
* Copyright (c) 1997
@@ -35,7 +35,7 @@
extern struct bootinfo *bootinfo;
-#define BTINFO_MAX 32
+#define BTINFO_MAX 64
#define BI_ALLOC(max) (bootinfo = alloc(sizeof(struct bootinfo) \
+ ((max) - 1) * sizeof(uint32_t))) \
Home |
Main Index |
Thread Index |
Old Index