/freebsd-12-stable/stand/mips/beri/loader/ |
H A D | exec.c | 37 #include <machine/bootinfo.h> 55 * bootinfo that we will pass onto the kernel; some fields derived from 58 struct bootinfo bootinfo; variable in typeref:struct:bootinfo 101 * Configure bootinfo for the loaded kernel. Some values are 102 * inherited from the bootinfo passed to us by boot2 (e.g., DTB 105 bzero(&bootinfo, sizeof(bootinfo)); 106 bootinfo.bi_version = BOOTINFO_VERSION; 107 bootinfo [all...] |
H A D | loader.h | 56 extern struct bootinfo boot2_bootinfo;
|
H A D | main.c | 38 #include <machine/bootinfo.h> 51 static void extract_currdev(struct bootinfo *); 101 struct bootinfo boot2_bootinfo; 104 main(int argc, char *argv[], char *envv[], struct bootinfo *bootinfop) 155 extract_currdev(struct bootinfo *bootinfop)
|
/freebsd-12-stable/sys/mips/include/ |
H A D | bootinfo.h | 53 * A zero bootinfo field often means that there is no info available. 57 struct bootinfo { struct 58 /* bootinfo meta-data. */ 62 /* bootinfo contents. */ 84 extern struct bootinfo bootinfo;
|
/freebsd-12-stable/release/powerpc/ |
H A D | generate-hfs.sh | 31 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/powerpc/boot1.chrp/ |
H A D | generate-hfs.sh | 33 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
|
H A D | Makefile | 22 boot1.hfs: boot1.elf bootinfo.txt 28 ${DD} if=${.CURDIR}/bootinfo.txt of=${.TARGET} seek=${BOOTINFO_OFFSET} \
|
/freebsd-12-stable/sys/powerpc/booke/ |
H A D | platform_bare.c | 47 extern uint32_t *bootinfo; 99 if (bootinfo != NULL) { 100 if (bootinfo[0] == 1) { 102 ticks = bootinfo[3] >> 3; 105 ticks = bootinfo[5] >> 3;
|
/freebsd-12-stable/stand/userboot/userboot/ |
H A D | libuserboot.h | 49 struct bootinfo; 51 extern int bi_load(struct bootinfo *, struct preloaded_file *);
|
H A D | Makefile | 19 SRCS+= bootinfo.c
|
/freebsd-12-stable/sys/i386/include/ |
H A D | bootinfo.h | 46 * A zero bootinfo field often means that there is no info available. 50 struct bootinfo { struct 80 extern struct bootinfo bootinfo;
|
/freebsd-12-stable/stand/i386/isoboot/ |
H A D | isoboot.c | 24 #include <machine/bootinfo.h> 86 static struct bootinfo bootinfo; variable in typeref:struct:bootinfo 241 bootinfo.bi_version = BOOTINFO_VERSION; 242 bootinfo.bi_size = sizeof(bootinfo); 243 bootinfo.bi_basemem = bios_basemem / 1024; 244 bootinfo.bi_extmem = bios_extmem / 1024; 245 bootinfo.bi_memsizes_valid++; 246 bootinfo [all...] |
/freebsd-12-stable/stand/i386/loader/ |
H A D | main.c | 38 #include <machine/bootinfo.h> 56 CTASSERT(offsetof(struct bootargs, bootinfo) == BA_BOOTINFO); 58 CTASSERT(offsetof(struct bootinfo, bi_size) == BI_SIZE); 65 static struct bootinfo *initial_bootinfo; 98 initial_bootinfo = kargs->bootinfo ? (struct bootinfo *)PTOV(kargs->bootinfo) : NULL; 152 if (kargs->bootinfo == 0) { 271 if (kargs->bootinfo == 0) {
|
/freebsd-12-stable/stand/mips/beri/boot2/ |
H A D | boot2.c | 54 #include <machine/bootinfo.h> 137 struct bootinfo bootinfo; variable in typeref:struct:bootinfo 220 bootinfo.bi_version = BOOTINFO_VERSION; 221 bootinfo.bi_size = sizeof(bootinfo); 284 bootinfo.bi_kernelname = (bi_ptr_t)kname; 285 bootinfo.bi_boot2opts = opts & RBX_MASK; 286 bootinfo.bi_boot_dev_type = dsk.type; 287 bootinfo [all...] |
/freebsd-12-stable/stand/i386/gptboot/ |
H A D | gptboot.c | 24 #include <machine/bootinfo.h> 86 static struct bootinfo bootinfo; variable in typeref:struct:bootinfo 290 bootinfo.bi_version = BOOTINFO_VERSION; 291 bootinfo.bi_size = sizeof(bootinfo); 292 bootinfo.bi_basemem = bios_basemem / 1024; 293 bootinfo.bi_extmem = bios_extmem / 1024; 294 bootinfo.bi_memsizes_valid++; 295 bootinfo [all...] |
/freebsd-12-stable/sys/i386/i386/ |
H A D | genassym.c | 60 #include <machine/bootinfo.h> 197 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_kernen [all...] |
/freebsd-12-stable/sys/mips/mips/ |
H A D | machdep.c | 84 #include <machine/bootinfo.h> 174 struct bootinfo bootinfo; variable in typeref:struct:bootinfo 262 SYSCTL_STRUCT(_machdep, OID_AUTO, bootinfo, CTLFLAG_RD, &bootinfo, 263 bootinfo, "Bootinfo struct: kernel filename, BIOS harddisk geometry, etc");
|
/freebsd-12-stable/stand/i386/boot2/ |
H A D | boot2.c | 25 #include <machine/bootinfo.h> 106 static struct bootinfo bootinfo; variable in typeref:struct:bootinfo 215 bootinfo.bi_version = BOOTINFO_VERSION; 216 bootinfo.bi_size = sizeof(bootinfo); 328 bootinfo.bi_symtab = VTOP(p); 344 bootinfo.bi_esymtab = VTOP(p); 350 bootinfo.bi_kernelname = VTOP(kname); 351 bootinfo [all...] |
/freebsd-12-stable/sys/sys/disk/ |
H A D | vtoc.h | 79 uint32_t bootinfo[3]; member in struct:vtoc8
|
/freebsd-12-stable/stand/efi/loader/arch/i386/ |
H A D | elf32_freebsd.c | 34 #include <machine/bootinfo.h>
|
/freebsd-12-stable/stand/i386/common/ |
H A D | bootargs.h | 29 #define BA_BOOTINFO 20 /* offsetof(struct bootargs, bootinfo) */ 30 #define BI_SIZE 48 /* offsetof(struct bootinfo, bi_size) */ 34 * and certain data that could hang off them. Currently only struct bootinfo 35 * is supported in that category. The bootinfo is placed at the top 38 * for bootinfo and the arguments to not run into each other. 59 * The bootinfo field is actually a pointer to a bootinfo struct that has been 63 * fixed location, and adjusts the bootinfo field to point to that new location. 77 uint32_t bootinfo; member in struct:bootargs
|
/freebsd-12-stable/stand/i386/libi386/ |
H A D | Makefile | 8 biospci.c biossmap.c bootinfo.c bootinfo32.c bootinfo64.c \
|
H A D | elf32_freebsd.c | 34 #include <machine/bootinfo.h>
|
/freebsd-12-stable/stand/i386/zfsboot/ |
H A D | zfsboot.c | 30 #include <machine/bootinfo.h> 115 static struct bootinfo bootinfo; variable in typeref:struct:bootinfo 768 bootinfo.bi_version = BOOTINFO_VERSION; 769 bootinfo.bi_size = sizeof(bootinfo); 770 bootinfo.bi_basemem = bios_basemem / 1024; 771 bootinfo.bi_extmem = bios_extmem / 1024; 772 bootinfo.bi_memsizes_valid++; 773 bootinfo [all...] |
/freebsd-12-stable/stand/i386/btx/btxldr/ |
H A D | btxldr.S | 102 movl BA_BOOTINFO+4(%esp),%esi # Source: bootinfo 103 cmpl $0x0, %esi # If the bootinfo pointer 106 subl %ecx,%ebp # for bootinfo 114 movl %ebp,%eax # bootinfo 384 .asciz " bootinfo=\0>\n" 385 m_rel_bi: .asciz "Relocated bootinfo (size=48) to \0\n"
|