/freebsd-10.1-release/usr.bin/mkimg/ |
H A D | mbr.c | 73 u_char *mbr; local 78 mbr = malloc(secsz); 79 if (mbr == NULL) 82 memcpy(mbr, bootcode, DOSPARTOFF); 83 memset(mbr + DOSPARTOFF, 0, secsz - DOSPARTOFF); 85 memset(mbr, 0, secsz); 86 le16enc(mbr + DOSMAGICOFFSET, DOSMAGIC); 87 dpbase = (void *)(mbr + DOSPARTOFF); 99 error = image_write(0, mbr, 1); 100 free(mbr); [all...] |
H A D | Makefile | 24 mbr.c \
|
/freebsd-10.1-release/usr.sbin/boot0cfg/ |
H A D | boot0cfg.c | 119 u_int8_t *mbr, *boot0; local 193 /* open the disk and read in the existing mbr. Either here or 197 mbr_size = read_mbr(disk, &mbr, !B_flag); 201 write_mbr(fpath, O_CREAT | O_TRUNC, mbr, mbr_size); 211 memcpy(boot0 + OFF_PTBL, mbr + OFF_PTBL, 214 memcpy(boot0 + OFF_SERIAL, mbr + OFF_SERIAL, 4); 216 boot0 = mbr; 264 if (mbr != boot0) 266 free(mbr); 276 set_bell(u_int8_t *mbr, in argument 308 read_mbr(const char *disk, u_int8_t **mbr, int check_version) argument 372 write_mbr(const char *fname, int flags, u_int8_t *mbr, int mbr_size) argument 441 display_mbr(u_int8_t *mbr) argument [all...] |
/freebsd-10.1-release/sys/boot/i386/ |
H A D | Makefile | 5 SUBDIR= mbr pmbr boot0 boot0sio btx boot2 cdboot gptboot kgzldr \
|
/freebsd-10.1-release/sys/boot/i386/mbr/ |
H A D | Makefile | 3 PROG= mbr
|
/freebsd-10.1-release/usr.sbin/pc-sysinstall/backend-partmanager/ |
H A D | create-part.sh | 56 if [ -z "$TYPE" ] ; then TYPE="mbr" ; fi 65 mbr|MBR) ;; 89 if [ "${TYPE}" = "mbr" -o "${TYPE}" = "MBR" ] ; then
|
/freebsd-10.1-release/sys/geom/part/ |
H A D | g_part_gpt.c | 79 u_char mbr[MBRSIZE]; member in struct:g_part_gpt_table 249 gpt_write_mbr_entry(u_char *mbr, int idx, int typ, quad_t start, argument 256 mbr += DOSPARTOFF + idx * DOSPARTSIZE; 257 mbr[0] = 0; 263 mbr[1] = mbr[3] = 0; 264 mbr[2] = 2; 266 mbr[1] = mbr[2] = mbr[ [all...] |
H A D | g_part_mbr.c | 53 static SYSCTL_NODE(_kern_geom_part, OID_AUTO, mbr, CTLFLAG_RW, 0, 64 u_char mbr[MBRSIZE]; member in struct:g_part_mbr_table 268 dsn = *(uint32_t *)(table->mbr + DOSDSNOFF); 269 bcopy(gpp->gpp_codeptr, table->mbr, DOSPARTOFF); 271 *(uint32_t *)(table->mbr + DOSDSNOFF) = dsn; 290 le16enc(table->mbr + DOSMAGICOFFSET, DOSMAGIC); 469 bcopy(buf, table->mbr, sizeof(table->mbr)); 581 p = table->mbr + DOSPARTOFF + (index - 1) * DOSPARTSIZE; 602 error = g_write_data(cp, 0, table->mbr, c [all...] |
/freebsd-10.1-release/include/ |
H A D | iconv.h | 92 typedef void (*iconv_unicode_char_hook) (unsigned int mbr, void *data);
|
/freebsd-10.1-release/tools/test/iconv/gnu/ |
H A D | gnu.c | 45 void unicode_hook(unsigned int mbr, void *data); 221 unicode_hook(unsigned int mbr, void *data) argument 225 printf("Unicode hook: %u\n", mbr);
|
/freebsd-10.1-release/contrib/gdb/gdb/ |
H A D | dwarfread.c | 933 struct dieinfo mbr; local 982 basicdieinfo (&mbr, thisdie, objfile); 983 completedieinfo (&mbr, objfile); 984 if (mbr.die_length <= SIZEOF_DIE_LENGTH) 988 else if (mbr.at_sibling != 0) 990 nextdie = dbbase + mbr.at_sibling - dbroff; 994 nextdie = thisdie + mbr.die_length; 996 switch (mbr.die_tag) 1003 if (mbr.at_location == NULL) 1012 obsavestring (mbr [all...] |
/freebsd-10.1-release/sys/boot/common/ |
H A D | part.c | 68 uint8_t mbr; member in union:pentry::__anon6163 367 if (e1->type.mbr == DOSPTYP_EXT || 368 e1->type.mbr == DOSPTYP_EXTLBA) 403 entry->type.mbr = dp[0].dp_typ; 688 entry->type.mbr = dp[i].dp_typ; 772 switch (entry->type.mbr) {
|
/freebsd-10.1-release/sys/boot/i386/pmbr/ |
H A D | pmbr.s | 32 # Partly from: src/sys/boot/i386/mbr/mbr.s 1.7
|
/freebsd-10.1-release/usr.bin/calendar/calendars/ |
H A D | calendar.freebsd | 64 02/14 Martin Blapp <mbr@FreeBSD.org> born in Olten, Switzerland, 1976
|
/freebsd-10.1-release/usr.sbin/bsdinstall/scripts/ |
H A D | zfsboot | 879 f_eval_catch $funcname gpart "$GPART_CREATE" mbr $disk || 881 f_eval_catch $funcname gpart "$GPART_BOOTCODE" /boot/mbr \
|
/freebsd-10.1-release/tools/tools/nanobsd/ |
H A D | nanobsd.sh | 143 # for swap type md(4) backing, write out the mbr only 614 echo "Writing out _.disk.mbr..." 615 dd if=/dev/${MD} of=${NANO_DISKIMGDIR}/_.disk.mbr bs=512 count=1
|
/freebsd-10.1-release/lib/libpmc/ |
H A D | libpmc.c | 1841 __P4SETMASK(mbr);
|
/freebsd-10.1-release/sys/dev/isp/ |
H A D | isp.c | 4642 mbreg_t *mbr, mbs; local 4960 mbr = va_arg(ap, mbreg_t *); 4962 isp_mboxcmd(isp, mbr);
|