Home
last modified time | relevance | path

Searched refs:bootinfo (Results 1 – 25 of 40) sorted by relevance

12

/freebsd-12-stable/stand/mips/beri/loader/
Dexec.c58 struct bootinfo bootinfo; variable
105 bzero(&bootinfo, sizeof(bootinfo)); in beri_elf64_exec()
106 bootinfo.bi_version = BOOTINFO_VERSION; in beri_elf64_exec()
107 bootinfo.bi_size = sizeof(bootinfo); in beri_elf64_exec()
108 bootinfo.bi_boot2opts = boot2_bootinfo.bi_boot2opts; in beri_elf64_exec()
111 bootinfo.bi_dtb = boot2_bootinfo.bi_dtb; in beri_elf64_exec()
112 bootinfo.bi_memsize = boot2_bootinfo.bi_memsize; in beri_elf64_exec()
113 bootinfo.bi_modulep = mdp; in beri_elf64_exec()
122 (register_t)&bootinfo); in beri_elf64_exec()
Dmain.c51 static void extract_currdev(struct bootinfo *);
101 struct bootinfo boot2_bootinfo;
104 main(int argc, char *argv[], char *envv[], struct bootinfo *bootinfop) in main()
155 extract_currdev(struct bootinfo *bootinfop) in extract_currdev()
Dloader.h56 extern struct bootinfo boot2_bootinfo;
/freebsd-12-stable/stand/i386/zfsboot/
Dzfsboot.c111 static struct bootinfo bootinfo; variable
196 bootinfo.bi_version = BOOTINFO_VERSION; in main()
197 bootinfo.bi_size = sizeof(bootinfo); in main()
198 bootinfo.bi_basemem = bios_basemem / 1024; in main()
199 bootinfo.bi_extmem = bios_extmem / 1024; in main()
200 bootinfo.bi_memsizes_valid++; in main()
201 bootinfo.bi_bios_dev = *(uint8_t *)PTOV(ARGS); in main()
205 bd_bios2unit(bootinfo.bi_bios_dev)); in main()
372 bootinfo.bi_symtab = VTOP(p); in load()
418 bootinfo.bi_symtab = VTOP(p); in load()
[all …]
/freebsd-12-stable/release/powerpc/
Dgenerate-hfs.sh31 cat > bootinfo.txt << EOF
35 <VERSION> $FreeBSD: head/stand/powerpc/boot1.chrp/bootinfo.txt 184490 2008-10
49 hcopy bootinfo.txt :bootinfo.txt
51 hattrib -c chrp -t tbxi bootinfo.txt
54 rm bootinfo.txt
/freebsd-12-stable/stand/mips/beri/boot2/
Dboot2.c137 struct bootinfo bootinfo; variable
220 bootinfo.bi_version = BOOTINFO_VERSION; in main()
221 bootinfo.bi_size = sizeof(bootinfo); in main()
284 bootinfo.bi_kernelname = (bi_ptr_t)kname; in boot()
285 bootinfo.bi_boot2opts = opts & RBX_MASK; in boot()
286 bootinfo.bi_boot_dev_type = dsk.type; in boot()
287 bootinfo.bi_boot_dev_unitptr = dsk.unitptr; in boot()
288 bootinfo.bi_memsize = beri_memsize; in boot()
295 bootinfo.bi_memsize = beri_memsize; in boot()
297 bootinfo.bi_dtb = beri_memsize; in boot()
[all …]
/freebsd-12-stable/stand/i386/isoboot/
Disoboot.c86 static struct bootinfo bootinfo; variable
241 bootinfo.bi_version = BOOTINFO_VERSION; in main()
242 bootinfo.bi_size = sizeof(bootinfo); in main()
243 bootinfo.bi_basemem = bios_basemem / 1024; in main()
244 bootinfo.bi_extmem = bios_extmem / 1024; in main()
245 bootinfo.bi_memsizes_valid++; in main()
246 bootinfo.bi_bios_dev = dsk.drive; in main()
366 bootinfo.bi_symtab = VTOP(p); in load()
397 bootinfo.bi_symtab = VTOP(p); in load()
415 bootinfo.bi_esymtab = VTOP(p); in load()
[all …]
/freebsd-12-stable/stand/i386/gptboot/
Dgptboot.c86 static struct bootinfo bootinfo; variable
290 bootinfo.bi_version = BOOTINFO_VERSION; in main()
291 bootinfo.bi_size = sizeof(bootinfo); in main()
292 bootinfo.bi_basemem = bios_basemem / 1024; in main()
293 bootinfo.bi_extmem = bios_extmem / 1024; in main()
294 bootinfo.bi_memsizes_valid++; in main()
295 bootinfo.bi_bios_dev = gdsk.dsk.drive; in main()
427 bootinfo.bi_symtab = VTOP(p); in load()
458 bootinfo.bi_symtab = VTOP(p); in load()
476 bootinfo.bi_esymtab = VTOP(p); in load()
[all …]
/freebsd-12-stable/stand/powerpc/boot1.chrp/
Dgenerate-hfs.sh33 echo 'Bootinfo START' | dd of=bootinfo.txt.tmp cbs=$CHRPBOOT_SIZE count=1 conv=block
37 hcopy bootinfo.txt.tmp :bootinfo.txt
38 hattrib -c chrp -t tbxi bootinfo.txt
41 rm bootinfo.txt.tmp
DMakefile22 boot1.hfs: boot1.elf bootinfo.txt
28 ${DD} if=${.CURDIR}/bootinfo.txt of=${.TARGET} seek=${BOOTINFO_OFFSET} \
Dbootinfo.txt4 <VERSION> $FreeBSD: stable/12/stand/powerpc/boot1.chrp/bootinfo.txt 184490 2008-10-31 00:52:31Z nwh…
/freebsd-12-stable/sys/powerpc/booke/
Dplatform_bare.c47 extern uint32_t *bootinfo;
99 if (bootinfo != NULL) { in bare_timebase_freq()
100 if (bootinfo[0] == 1) { in bare_timebase_freq()
102 ticks = bootinfo[3] >> 3; in bare_timebase_freq()
105 ticks = bootinfo[5] >> 3; in bare_timebase_freq()
Dbooke_machdep.c167 uint32_t *bootinfo; variable
321 bootinfo = NULL; in booke_init()
/freebsd-12-stable/stand/i386/loader/
Dmain.c56 CTASSERT(offsetof(struct bootargs, bootinfo) == BA_BOOTINFO);
58 CTASSERT(offsetof(struct bootinfo, bi_size) == BI_SIZE);
65 static struct bootinfo *initial_bootinfo;
104 initial_bootinfo = kargs->bootinfo ? in main()
105 (struct bootinfo *)PTOV(kargs->bootinfo) : NULL; in main()
162 if (kargs->bootinfo == 0) { in main()
285 if (kargs->bootinfo == 0) { in extract_currdev()
/freebsd-12-stable/sys/i386/i386/
Dgenassym.c197 ASSYM(BOOTINFO_SIZE, sizeof(struct bootinfo));
198 ASSYM(BI_VERSION, offsetof(struct bootinfo, bi_version));
199 ASSYM(BI_KERNELNAME, offsetof(struct bootinfo, bi_kernelname));
200 ASSYM(BI_NFS_DISKLESS, offsetof(struct bootinfo, bi_nfs_diskless));
201 ASSYM(BI_ENDCOMMON, offsetof(struct bootinfo, bi_endcommon));
203 ASSYM(BI_SIZE, offsetof(struct bootinfo, bi_size));
204 ASSYM(BI_SYMTAB, offsetof(struct bootinfo, bi_symtab));
205 ASSYM(BI_ESYMTAB, offsetof(struct bootinfo, bi_esymtab));
206 ASSYM(BI_KERNEND, offsetof(struct bootinfo, bi_kernend));
Dlocore.s82 .globl bootinfo
83 bootinfo: .space BOOTINFO_SIZE /* bootinfo that we can handle */ label
284 movl $bootinfo,%edi
/freebsd-12-stable/sys/mips/include/
Dbootinfo.h57 struct bootinfo { struct
84 extern struct bootinfo bootinfo; argument
/freebsd-12-stable/stand/i386/boot2/
Dboot2.c106 static struct bootinfo bootinfo; variable
215 bootinfo.bi_version = BOOTINFO_VERSION; in main()
216 bootinfo.bi_size = sizeof(bootinfo); in main()
328 bootinfo.bi_symtab = VTOP(p); in load()
344 bootinfo.bi_esymtab = VTOP(p); in load()
350 bootinfo.bi_kernelname = VTOP(kname); in load()
351 bootinfo.bi_bios_dev = dsk.drive; in load()
354 0, 0, 0, VTOP(&bootinfo)); in load()
/freebsd-12-stable/sys/i386/include/
Dbootinfo.h50 struct bootinfo { struct
80 extern struct bootinfo bootinfo; argument
/freebsd-12-stable/sys/mips/mips/
Dmachdep.c174 struct bootinfo bootinfo; variable
262 SYSCTL_STRUCT(_machdep, OID_AUTO, bootinfo, CTLFLAG_RD, &bootinfo,
263 bootinfo, "Bootinfo struct: kernel filename, BIOS harddisk geometry, etc");
/freebsd-12-stable/stand/userboot/userboot/
Dlibuserboot.h49 struct bootinfo;
51 extern int bi_load(struct bootinfo *, struct preloaded_file *);
/freebsd-12-stable/sys/powerpc/mpc85xx/
Dplatform_mpc85xx.c84 extern uint32_t *bootinfo;
229 if (bootinfo != NULL) { in mpc85xx_timebase_freq()
230 if (bootinfo[0] == 1) { in mpc85xx_timebase_freq()
232 ticks = bootinfo[3] >> 3; in mpc85xx_timebase_freq()
235 ticks = bootinfo[5] >> 3; in mpc85xx_timebase_freq()
/freebsd-12-stable/stand/i386/btx/btxldr/
Dbtxldr.S102 movl BA_BOOTINFO+4(%esp),%esi # Source: bootinfo
103 cmpl $0x0, %esi # If the bootinfo pointer
/freebsd-12-stable/sys/gnu/dts/arm/
Dmt8127.dtsi50 trustzone-bootinfo@80002000 {
51 compatible = "mediatek,trustzone-bootinfo";
/freebsd-12-stable/sys/sys/disk/
Dvtoc.h81 uint32_t bootinfo[3]; member

12