/src/sys/arch/i386/stand/lib/ |
bootinfo.c | 1 /* $NetBSD: bootinfo.c,v 1.6 2016/06/05 14:13:57 maxv Exp $ */ 33 #include "bootinfo.h" 35 struct bootinfo *bootinfo; variable in typeref:struct:bootinfo * 43 if (bootinfo == NULL) { 46 if (bootinfo->nentries >= BTINFO_MAX) { 47 panic("bootinfo too big"); 49 bootinfo->entry[bootinfo->nentries++] = vtophys(what);
|
bootinfo.c | 1 /* $NetBSD: bootinfo.c,v 1.6 2016/06/05 14:13:57 maxv Exp $ */ 33 #include "bootinfo.h" 35 struct bootinfo *bootinfo; variable in typeref:struct:bootinfo * 43 if (bootinfo == NULL) { 46 if (bootinfo->nentries >= BTINFO_MAX) { 47 panic("bootinfo too big"); 49 bootinfo->entry[bootinfo->nentries++] = vtophys(what);
|
bootinfo.h | 1 /* $NetBSD: bootinfo.h,v 1.12 2018/01/27 22:25:23 pgoyette Exp $ */ 29 #include <machine/bootinfo.h> 31 struct bootinfo { struct 36 extern struct bootinfo *bootinfo; 40 #define BI_ALLOC(max) (bootinfo = alloc(sizeof(struct bootinfo) \ 44 #define BI_FREE() dealloc(bootinfo, 0)
|
bootinfo.h | 1 /* $NetBSD: bootinfo.h,v 1.12 2018/01/27 22:25:23 pgoyette Exp $ */ 29 #include <machine/bootinfo.h> 31 struct bootinfo { struct 36 extern struct bootinfo *bootinfo; 40 #define BI_ALLOC(max) (bootinfo = alloc(sizeof(struct bootinfo) \ 44 #define BI_FREE() dealloc(bootinfo, 0)
|
/src/sys/arch/landisk/stand/boot/ |
bootinfo.c | 1 /* $NetBSD: bootinfo.c,v 1.1 2006/09/01 21:26:18 uwe Exp $ */ 32 #include "bootinfo.h" 34 struct btinfo *bootinfo; variable in typeref:struct:btinfo * 43 if (bootinfo) { 44 bootinfo->entry[bootinfo->nentries++] = (u_long)what;
|
bootinfo.c | 1 /* $NetBSD: bootinfo.c,v 1.1 2006/09/01 21:26:18 uwe Exp $ */ 32 #include "bootinfo.h" 34 struct btinfo *bootinfo; variable in typeref:struct:btinfo * 43 if (bootinfo) { 44 bootinfo->entry[bootinfo->nentries++] = (u_long)what;
|
/src/sys/arch/hppa/stand/boot/ |
bootinfo.c | 1 /* $NetBSD: bootinfo.c,v 1.1 2014/02/24 07:23:43 skrll Exp $ */ 37 #include "bootinfo.h" 39 struct bootinfo bootinfo; variable in typeref:struct:bootinfo 46 memset(&bootinfo, 0, sizeof(bootinfo)); 58 memcpy(&bootinfo.bi_data[bootinfo.bi_offset], what, size); 60 bootinfo.bi_offset += what->len; 61 bootinfo.bi_nentries++ [all...] |
bootinfo.c | 1 /* $NetBSD: bootinfo.c,v 1.1 2014/02/24 07:23:43 skrll Exp $ */ 37 #include "bootinfo.h" 39 struct bootinfo bootinfo; variable in typeref:struct:bootinfo 46 memset(&bootinfo, 0, sizeof(bootinfo)); 58 memcpy(&bootinfo.bi_data[bootinfo.bi_offset], what, size); 60 bootinfo.bi_offset += what->len; 61 bootinfo.bi_nentries++ [all...] |
bootinfo.h | 1 /* $NetBSD: bootinfo.h,v 1.1 2014/02/24 07:23:43 skrll Exp $ */ 32 #include <machine/bootinfo.h> 40 struct bootinfo { struct 44 /* Raw data of bootinfo entries. The first one (if any) is 51 extern struct bootinfo bootinfo;
|
bootinfo.h | 1 /* $NetBSD: bootinfo.h,v 1.1 2014/02/24 07:23:43 skrll Exp $ */ 32 #include <machine/bootinfo.h> 40 struct bootinfo { struct 44 /* Raw data of bootinfo entries. The first one (if any) is 51 extern struct bootinfo bootinfo;
|
/src/sys/arch/arc/stand/boot/ |
bootinfo.c | 1 /* $NetBSD: bootinfo.c,v 1.4 2008/04/28 20:23:13 martin Exp $ */ 36 #include "bootinfo.h" 38 struct btinfo_common *bootinfo; /* bootinfo address */ variable in typeref:struct:btinfo_common * 40 static char *bi_next; /* pointer to next bootinfo data */ 41 static int bi_size; /* current bootinfo size */ 48 bootinfo = bi_addr; 49 bootinfo->next = 0; 50 bootinfo->type = BTINFO_NONE; 52 bi_next = (void *)bootinfo; [all...] |
bootinfo.c | 1 /* $NetBSD: bootinfo.c,v 1.4 2008/04/28 20:23:13 martin Exp $ */ 36 #include "bootinfo.h" 38 struct btinfo_common *bootinfo; /* bootinfo address */ variable in typeref:struct:btinfo_common * 40 static char *bi_next; /* pointer to next bootinfo data */ 41 static int bi_size; /* current bootinfo size */ 48 bootinfo = bi_addr; 49 bootinfo->next = 0; 50 bootinfo->type = BTINFO_NONE; 52 bi_next = (void *)bootinfo; [all...] |
/src/sys/arch/cobalt/stand/boot/ |
bootinfo.c | 1 /* $NetBSD: bootinfo.c,v 1.7 2010/01/10 09:34:45 tsutsui Exp $ */ 37 #include "bootinfo.h" 39 static char *bootinfo = NULL; variable in typeref:typename:char * 49 if ((bootinfo = (char *)alloc(BOOTINFO_SIZE)) != NULL) { 50 bi = (struct btinfo_common *)bootinfo; 52 bi_next = bootinfo; 59 return bootinfo; 69 if (bootinfo != NULL) {
|
bootinfo.c | 1 /* $NetBSD: bootinfo.c,v 1.7 2010/01/10 09:34:45 tsutsui Exp $ */ 37 #include "bootinfo.h" 39 static char *bootinfo = NULL; variable in typeref:typename:char * 49 if ((bootinfo = (char *)alloc(BOOTINFO_SIZE)) != NULL) { 50 bi = (struct btinfo_common *)bootinfo; 52 bi_next = bootinfo; 59 return bootinfo; 69 if (bootinfo != NULL) {
|
/src/sys/arch/emips/stand/common/ |
bootinfo.c | 1 /* $NetBSD: bootinfo.c,v 1.2 2019/12/14 02:58:20 tsutsui Exp $ */ 36 #include "bootinfo.h" 38 char *bootinfo = NULL; variable in typeref:typename:char * 47 bootinfo = (char *)addr; 48 bi = (struct btinfo_common *)bootinfo; 50 bi_next = bootinfo;
|
bootinfo.c | 1 /* $NetBSD: bootinfo.c,v 1.2 2019/12/14 02:58:20 tsutsui Exp $ */ 36 #include "bootinfo.h" 38 char *bootinfo = NULL; variable in typeref:typename:char * 47 bootinfo = (char *)addr; 48 bi = (struct btinfo_common *)bootinfo; 50 bi_next = bootinfo;
|
/src/sys/arch/mipsco/stand/common/ |
bootinfo.c | 1 /* $NetBSD: bootinfo.c,v 1.4 2008/04/28 20:23:28 martin Exp $ */ 36 #include "bootinfo.h" 38 static char *bootinfo = NULL; variable in typeref:typename:char * 48 bootinfo = (char *)addr; 49 bi = (struct btinfo_common *)bootinfo; 51 bi_next = bootinfo;
|
bootinfo.c | 1 /* $NetBSD: bootinfo.c,v 1.4 2008/04/28 20:23:28 martin Exp $ */ 36 #include "bootinfo.h" 38 static char *bootinfo = NULL; variable in typeref:typename:char * 48 bootinfo = (char *)addr; 49 bi = (struct btinfo_common *)bootinfo; 51 bi_next = bootinfo;
|
/src/sys/arch/mmeye/stand/boot/ |
bootinfo.c | 1 /* $NetBSD: bootinfo.c,v 1.1 2011/03/03 05:59:37 kiyohara Exp $ */ 37 #include "bootinfo.h" 39 static char *bootinfo = NULL; variable in typeref:typename:char * 49 if ((bootinfo = (char *)alloc(BOOTINFO_SIZE)) != NULL) { 50 bi = (struct btinfo_common *)bootinfo; 52 bi_next = bootinfo; 59 return bootinfo; 69 if (bootinfo != NULL) {
|
bootinfo.c | 1 /* $NetBSD: bootinfo.c,v 1.1 2011/03/03 05:59:37 kiyohara Exp $ */ 37 #include "bootinfo.h" 39 static char *bootinfo = NULL; variable in typeref:typename:char * 49 if ((bootinfo = (char *)alloc(BOOTINFO_SIZE)) != NULL) { 50 bi = (struct btinfo_common *)bootinfo; 52 bi_next = bootinfo; 59 return bootinfo; 69 if (bootinfo != NULL) {
|
/src/sys/arch/newsmips/stand/boot/ |
bootinfo.c | 1 /* $NetBSD: bootinfo.c,v 1.6 2008/04/28 20:23:30 martin Exp $ */ 35 #include <machine/bootinfo.h> 37 static char *bootinfo = NULL; variable in typeref:typename:char * 47 bootinfo = (char *)addr; 48 bi = (struct btinfo_common *)bootinfo; 50 bi_next = bootinfo;
|
bootinfo.c | 1 /* $NetBSD: bootinfo.c,v 1.6 2008/04/28 20:23:30 martin Exp $ */ 35 #include <machine/bootinfo.h> 37 static char *bootinfo = NULL; variable in typeref:typename:char * 47 bootinfo = (char *)addr; 48 bi = (struct btinfo_common *)bootinfo; 50 bi_next = bootinfo;
|
/src/sys/arch/pmax/stand/common/ |
bootinfo.c | 1 /* $NetBSD: bootinfo.c,v 1.9 2011/01/11 16:19:38 tsutsui Exp $ */ 36 #include "bootinfo.h" 38 static char *bootinfo = NULL; variable in typeref:typename:char * 47 bootinfo = (char *)addr; 48 bi = (struct btinfo_common *)bootinfo; 50 bi_next = bootinfo;
|
/src/sys/arch/sgimips/stand/common/ |
bootinfo.c | 1 /* $NetBSD: bootinfo.c,v 1.4 2008/04/28 20:23:34 martin Exp $ */ 36 #include "bootinfo.h" 38 struct btinfo_common *bootinfo; /* bootinfo address */ variable in typeref:struct:btinfo_common * 40 static char *bi_next; /* pointer to next bootinfo data */ 41 static int bi_size; /* current bootinfo size */ 48 bootinfo = bi_addr; 49 bootinfo->next = 0; 50 bootinfo->type = BTINFO_NONE; 52 bi_next = (void *)bootinfo; [all...] |
/src/sys/arch/zaurus/stand/zboot/ |
bootinfo.c | 1 /* $NetBSD: bootinfo.c,v 1.1 2009/03/02 09:33:02 nonaka Exp $ */ 30 #include "bootinfo.h" 32 struct btinfo *bootinfo; variable in typeref:struct:btinfo * 40 for (i = 0; i < bootinfo->nentries; i++) { 41 btinfo = (struct btinfo_common *)(bootinfo->entry[i]); 57 if (bootinfo) { 60 idx = bootinfo->nentries++; 62 bootinfo->entry[idx] = (u_long)what; 72 if (bootinfo) { 75 for (i = idx + 1; i < bootinfo->nentries; i++) [all...] |