HomeSort by: relevance | last modified time | path
    Searched defs:bootinfo (Results 1 - 25 of 77) sorted by relevancy

1 2 3 4

  /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.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;
  /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.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...]
boot.c 78 #include "bootinfo.h"
114 static char bootinfo[BOOTINFO_SIZE]; variable in typeref:typename:char[]
147 /* initialise bootinfo structure early */
148 bi_init(bootinfo);
250 (*entry)(argc, argv, BOOTINFO_MAGIC, bootinfo);
  /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) {
  /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;
  /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;
  /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) {
  /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;
  /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...]
boot.c 78 #include "bootinfo.h"
109 static uint8_t bootinfo[BOOTINFO_SIZE]; variable in typeref:typename:uint8_t[]
141 /* initialise bootinfo structure early */
142 bi_init(bootinfo);
248 (*entry)(argc, argv, BOOTINFO_MAGIC, bootinfo);
iris_boot.c 54 #include "bootinfo.h"
62 static uint8_t bootinfo[BOOTINFO_SIZE]; variable in typeref:typename:uint8_t[]
90 /* initialise bootinfo structure early */
91 bi_init(bootinfo);
135 (*entry)(argc, argv, BOOTINFO_MAGIC, bootinfo);
  /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...]
  /src/sys/arch/ews4800mips/include/
bootinfo.h 1 /* $NetBSD: bootinfo.h,v 1.2 2008/04/28 20:23:18 martin Exp $ */
35 struct bootinfo { struct
  /src/sys/arch/sparc/stand/boot/
bootinfo.c 1 /* $NetBSD: bootinfo.c,v 1.3 2009/03/14 15:36:14 dsl Exp $ */
37 #include "bootinfo.h"
39 static char *bootinfo = NULL; variable in typeref:typename:char *
53 * giving enough space for the bootinfo structure.
56 bootinfo = (char *)ALIGN(&endp[2]);
57 endp[1] = (u_long)bootinfo;
58 bi = (struct btinfo_common *)bootinfo;
60 bi_next = bootinfo;
  /src/sys/arch/sparc/stand/ofwboot/
bootinfo.c 1 /* $NetBSD: bootinfo.c,v 1.3 2008/04/28 20:23:36 martin Exp $ */
34 #include <machine/bootinfo.h>
40 static char *bootinfo = NULL; variable in typeref:typename:char *
54 * Allocate and zero-fill bootinfo structure.
60 * giving enough space for the bootinfo structure.
63 bootinfo = (char *)ALIGN(&endp[2]);
64 endp[1] = (uint64_t)(u_long)bootinfo;
65 bi = (struct btinfo_common *)bootinfo;
67 bi_next = bootinfo;
  /src/sys/arch/evbmips/stand/sbmips/common/
boot.c 58 struct bootinfo_v1 bootinfo; variable in typeref:struct:bootinfo_v1
146 memset(&bootinfo, 0,sizeof(bootinfo));
147 bootinfo.version = BOOTINFO_VERSION;
148 bootinfo.reserved = 0;
149 bootinfo.ssym = marks[MARK_SYM];
150 bootinfo.esym = marks[MARK_END];
151 strncpy(bootinfo.boot_flags,boot_flags,sizeof(bootinfo.boot_flags));
152 strncpy(bootinfo.booted_kernel,name,sizeof(bootinfo.booted_kernel))
    [all...]
  /src/sys/arch/hpcmips/stand/lcboot/
start.S 459 la a2, bootinfo /* a2: bootinfo */
483 bootinfo: label
  /src/sys/arch/sbmips/stand/common/
boot.c 58 struct bootinfo_v1 bootinfo; variable in typeref:struct:bootinfo_v1
146 memset(&bootinfo, 0,sizeof(bootinfo));
147 bootinfo.version = BOOTINFO_VERSION;
148 bootinfo.reserved = 0;
149 bootinfo.ssym = marks[MARK_SYM];
150 bootinfo.esym = marks[MARK_END];
151 strncpy(bootinfo.boot_flags,boot_flags,sizeof(bootinfo.boot_flags));
152 strncpy(bootinfo.booted_kernel,name,sizeof(bootinfo.booted_kernel))
    [all...]
  /src/sys/arch/zaurus/zaurus/
kloader_machdep.c 82 struct bootinfo *bootinfo; local in function:kloader_zaurus_jump
93 * make bootinfo
97 bootinfo = (struct bootinfo *)(bootmagicp + 1);
98 bootinfo->nentries = 0;
99 ptr = (vaddr_t)bootinfo->info;
106 bootinfo->nentries++;
118 bootinfo->nentries++;
  /src/sys/arch/amd64/amd64/
prekern.c 44 #include <machine/bootinfo.h>
57 void *bootinfo; member in struct:prekern_args
82 extern struct bootinfo bootinfo;
93 memcpy(&bootinfo, pkargs->bootinfo, sizeof(bootinfo));

Completed in 32 milliseconds

1 2 3 4