Module Name:    src
Committed By:   jakllsch
Date:           Mon Nov 18 03:52:45 UTC 2013

Modified Files:
        src/sys/arch/i386/stand/lib: bootinfo.h

Log Message:
Bring arch/i386/stand bootinfo structure in line with the kernel's
fixed-layout understanding of it.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/i386/stand/lib/bootinfo.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/i386/stand/lib/bootinfo.h
diff -u src/sys/arch/i386/stand/lib/bootinfo.h:1.9 src/sys/arch/i386/stand/lib/bootinfo.h:1.10
--- src/sys/arch/i386/stand/lib/bootinfo.h:1.9	Wed Jan 25 18:28:26 2006
+++ src/sys/arch/i386/stand/lib/bootinfo.h	Mon Nov 18 03:52:45 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: bootinfo.h,v 1.9 2006/01/25 18:28:26 christos Exp $	*/
+/*	$NetBSD: bootinfo.h,v 1.10 2013/11/18 03:52:45 jakllsch Exp $	*/
 
 /*
  * Copyright (c) 1997
@@ -29,14 +29,14 @@
 #include <machine/bootinfo.h>
 
 struct bootinfo {
-	int nentries;
-	physaddr_t entry[1];
+	uint32_t nentries;
+	uint32_t entry[1];
 };
 
 extern struct bootinfo *bootinfo;
 
 #define BI_ALLOC(max) (bootinfo = alloc(sizeof(struct bootinfo) \
-                                        + ((max) - 1) * sizeof(physaddr_t))) \
+                                        + ((max) - 1) * sizeof(uint32_t))) \
                       ->nentries = 0
 
 #define BI_FREE() dealloc(bootinfo, 0)

Reply via email to