| /freebsd-9-stable/usr.sbin/boot0cfg/ |
| D | boot0cfg.c | 118 u_int8_t *mbr, *boot0; in main() local 196 mbr_size = read_mbr(disk, &mbr, !B_flag); in main() 200 write_mbr(fpath, O_CREAT | O_TRUNC, mbr, mbr_size); in main() 210 memcpy(boot0 + OFF_PTBL, mbr + OFF_PTBL, in main() 213 memcpy(boot0 + OFF_SERIAL, mbr + OFF_SERIAL, 4); in main() 215 boot0 = mbr; in main() 263 if (mbr != boot0) in main() 265 free(mbr); in main() 275 set_bell(u_int8_t *mbr, int new_bell, int report) in set_bell() argument 282 if (mbr[ofs] != seq[0]) /* search initial pattern */ in set_bell() [all …]
|
| /freebsd-9-stable/lib/libdisk/ |
| D | write_amd64_disk.c | 73 Cfg_Boot_Mgr(u_char *mbr, int edd) in Cfg_Boot_Mgr() argument 76 if (mbr[0x1b0] == 0x66 && mbr[0x1b1] == 0xbb) { in Cfg_Boot_Mgr() 78 mbr[0x1bb] |= 0x80; /* Packet mode on */ in Cfg_Boot_Mgr() 80 mbr[0x1bb] &= 0x7f; /* Packet mode off */ in Cfg_Boot_Mgr() 92 u_char *mbr; in Write_Disk() local 105 if (!(mbr = read_block(fd, 0, d1->sector_size))) { in Write_Disk() 109 dp = (struct dos_partition *)(mbr + DOSPARTOFF); in Write_Disk() 112 free(mbr); in Write_Disk() 185 if (!(mbr = read_block(fd, 0, d1->sector_size))) { in Write_Disk() 190 memcpy(mbr, d1->bootmgr, DOSPARTOFF); in Write_Disk() [all …]
|
| D | disk.c | 67 case mbr: return ("mbr"); in chunk_name() 347 case mbr: in slice_type_name()
|
| D | libdisk.h | 46 mbr, enumerator
|
| D | chunk.c | 256 case mbr: in Add_Chunk() 275 case mbr: in Add_Chunk()
|
| D | open_disk.c | 266 i = Add_Chunk(d, off, len, n, mbr, ty, 0, 0); in Int_Open_Disk()
|
| /freebsd-9-stable/contrib/file/magic/Magdir/ |
| D | gpt | 35 #>>>>>>>>>>>>>446 use gpt-mbr-partition 37 >>>>>>>>>>>>>>0 use gpt-mbr-type 42 >>>>>>>>>>>>>>>0 use gpt-mbr-type 47 >>>>>>>>>>>>>>>>0 use gpt-mbr-type 52 >>>>>>>>>>>>>>>>>0 use gpt-mbr-type 57 >>>>>>>>>>>>>>>>>>0 use gpt-mbr-type 65 #>>>>>>>>>>>>>462 use gpt-mbr-partition 67 >>>>>>>>>>>>>>0 use gpt-mbr-type 72 >>>>>>>>>>>>>>>0 use gpt-mbr-type 77 >>>>>>>>>>>>>>>>0 use gpt-mbr-type [all …]
|
| D | filesystems | 255 …trength=50+21),Syslinux bootloader (71),SYSLINUX MBR (37+36),NetBSD mbr (110),AdvanceMAME mbr (111) 264 # keep old DOS/MBR boot sector as dummy for mbr and bootloader displaying 271 # added by Joerg Jenderek at Feb 2013 according to http://thestarman.pcministry.com/asm/mbr/ 276 # Microsoft Windows 95A and early ( http://thestarman.pcministry.com/asm/mbr/STDMBR.htm ) 279 # http://thestarman.pcministry.com/asm/mbr/200MBR.htm 285 # NEC MS-DOS 3.30 Rev. 3 . See http://thestarman.pcministry.com/asm/mbr/DOS33MBR.htm 317 # Microsoft Windows 95B to XP (http://thestarman.pcministry.com/asm/mbr/95BMEMBR.htm) 344 # http://thestarman.pcministry.com/asm/mbr/Win2kmbr.htm 365 # Microsoft Windows Vista (http://thestarman.pcministry.com/asm/mbr/VistaMBR.htm) 383 # Microsoft Windows 7 (http://thestarman.pcministry.com/asm/mbr/W7MBR.htm) [all …]
|
| /freebsd-9-stable/sys/geom/part/ |
| D | g_part_gpt.c | 79 u_char mbr[MBRSIZE]; member 229 gpt_write_mbr_entry(u_char *mbr, int idx, int typ, quad_t start, in gpt_write_mbr_entry() argument 236 mbr += DOSPARTOFF + idx * DOSPARTSIZE; in gpt_write_mbr_entry() 237 mbr[0] = 0; in gpt_write_mbr_entry() 243 mbr[1] = mbr[3] = 0; in gpt_write_mbr_entry() 244 mbr[2] = 2; in gpt_write_mbr_entry() 246 mbr[1] = mbr[2] = mbr[3] = 0xff; in gpt_write_mbr_entry() 247 mbr[4] = typ; in gpt_write_mbr_entry() 248 mbr[5] = mbr[6] = mbr[7] = 0xff; in gpt_write_mbr_entry() 249 le32enc(mbr + 8, (uint32_t)start); in gpt_write_mbr_entry() [all …]
|
| D | g_part_mbr.c | 56 u_char mbr[MBRSIZE]; member 257 dsn = *(uint32_t *)(table->mbr + DOSDSNOFF); in g_part_mbr_bootcode() 258 bcopy(gpp->gpp_codeptr, table->mbr, DOSPARTOFF); in g_part_mbr_bootcode() 260 *(uint32_t *)(table->mbr + DOSDSNOFF) = dsn; in g_part_mbr_bootcode() 279 le16enc(table->mbr + DOSMAGICOFFSET, DOSMAGIC); in g_part_mbr_create() 452 bcopy(buf, table->mbr, sizeof(table->mbr)); in g_part_mbr_read() 564 p = table->mbr + DOSPARTOFF + (index - 1) * DOSPARTSIZE; in g_part_mbr_write() 585 error = g_write_data(cp, 0, table->mbr, cp->provider->sectorsize); in g_part_mbr_write()
|
| /freebsd-9-stable/contrib/gdb/gdb/ |
| D | dwarfread.c | 933 struct dieinfo mbr; in struct_type() local 982 basicdieinfo (&mbr, thisdie, objfile); in struct_type() 983 completedieinfo (&mbr, objfile); in struct_type() 984 if (mbr.die_length <= SIZEOF_DIE_LENGTH) in struct_type() 988 else if (mbr.at_sibling != 0) in struct_type() 990 nextdie = dbbase + mbr.at_sibling - dbroff; in struct_type() 994 nextdie = thisdie + mbr.die_length; in struct_type() 996 switch (mbr.die_tag) in struct_type() 1003 if (mbr.at_location == NULL) in struct_type() 1012 obsavestring (mbr.at_name, strlen (mbr.at_name), in struct_type() [all …]
|
| /freebsd-9-stable/tools/test/iconv/gnu/ |
| D | gnu.c | 45 void unicode_hook(unsigned int mbr, void *data); 221 unicode_hook(unsigned int mbr, void *data) in unicode_hook() argument 225 printf("Unicode hook: %u\n", mbr); in unicode_hook()
|
| /freebsd-9-stable/usr.sbin/sysinstall/ |
| D | disks.c | 307 static u_char *mbr, *boot0; in getBootMgr() local 336 if (!mbr) mbr = bootalloc("mbr", &mbr_size); in getBootMgr() 337 *bootCode = mbr; in getBootMgr() 528 partitiontype = mbr; in diskPartition() 576 partitiontype = mbr; in diskPartition()
|
| /freebsd-9-stable/usr.sbin/sade/ |
| D | disks.c | 263 static u_char *mbr, *boot0; in getBootMgr() local 292 if (!mbr) mbr = bootalloc("mbr", &mbr_size); in getBootMgr() 293 *bootCode = mbr; in getBootMgr() 488 partitiontype = mbr; in diskPartition() 536 partitiontype = mbr; in diskPartition()
|
| /freebsd-9-stable/sys/boot/common/ |
| D | part.c | 69 uint8_t mbr; member 370 if (e1->type.mbr == DOSPTYP_EXT || in ptable_ebrread() 371 e1->type.mbr == DOSPTYP_EXTLBA) in ptable_ebrread() 406 entry->type.mbr = dp[0].dp_typ; in ptable_ebrread() 691 entry->type.mbr = dp[i].dp_typ; in ptable_open() 775 switch (entry->type.mbr) { in ptable_getbestpart()
|
| /freebsd-9-stable/sys/boot/i386/mbr/ |
| D | Makefile | 3 PROG= mbr
|
| D | mbr.s | 16 # $FreeBSD: stable/9/sys/boot/i386/mbr/mbr.s 134431 2004-08-28 08:39:35Z yar $
|
| /freebsd-9-stable/sys/boot/i386/ |
| D | Makefile | 5 SUBDIR= mbr pmbr boot0 boot0sio btx boot2 cdboot gptboot kgzldr \
|
| /freebsd-9-stable/usr.sbin/pc-sysinstall/backend-partmanager/ |
| D | create-part.sh | 65 mbr|MBR) ;;
|
| /freebsd-9-stable/etc/ |
| D | netconfig | 1 # $FreeBSD: stable/9/etc/netconfig 107952 2002-12-16 22:24:26Z mbr $
|
| /freebsd-9-stable/include/ |
| D | iconv.h | 97 typedef void (*iconv_unicode_char_hook) (unsigned int mbr, void *data);
|
| /freebsd-9-stable/sys/boot/i386/pmbr/ |
| D | pmbr.s | 32 # Partly from: src/sys/boot/i386/mbr/mbr.s 1.7
|
| /freebsd-9-stable/tools/tools/tinybsd/conf/minimal/ |
| D | tinybsd.basefiles | 12 boot/mbr
|
| /freebsd-9-stable/contrib/amd/ |
| D | FREEBSD-upgrade | 98 mbr@FreeBSD.org
|
| /freebsd-9-stable/usr.sbin/bsdinstall/scripts/ |
| D | zfsboot | 805 f_eval_catch $funcname gpart "$GPART_CREATE" mbr $disk || 807 f_eval_catch $funcname gpart "$GPART_BOOTCODE" /boot/mbr \
|