/external/fsck_msdos/ |
boot.c | 36 __RCSID("$NetBSD: boot.c,v 1.9 2003/07/24 19:25:46 ws Exp $"); 38 "$FreeBSD: src/sbin/fsck_msdosfs/boot.c,v 1.4.28.1 2009/04/15 03:14:26 kensmith Exp $"; 51 readboot(dosfs, boot) 53 struct bootblock *boot; 61 perror("could not read boot block"); 66 pfatal("Invalid signature in boot block: %02x%02x", block[511], block[510]); 70 memset(boot, 0, sizeof *boot); 71 boot->ValidFat = -1; 74 boot->BytesPerSec = block[11] + (block[12] << 8) [all...] |
check.c | 62 struct bootblock boot; local 90 if (readboot(dosfs, &boot) == FSFATAL) { 96 if (skipclean && preen && checkdirty(dosfs, &boot)) { 103 if (((boot.FATsecs * boot.BytesPerSec) / 1024) > FAT_COMPARE_MAX_KB) 109 else if (boot.ValidFat < 0) 115 mod |= readfat(dosfs, &boot, boot.ValidFat >= 0 ? boot.ValidFat : 0, &fat); 122 if (!skip_fat_compare && boot.ValidFat < 0 [all...] |
fat.c | 74 checkdirty(int fs, struct bootblock *boot) 80 if (boot->ClustMask != CLUST16_MASK && boot->ClustMask != CLUST32_MASK) 83 off = boot->ResSectors; 84 off *= boot->BytesPerSec; 86 buffer = malloc(boot->BytesPerSec); 97 if (read(fs, buffer, boot->BytesPerSec) != boot->BytesPerSec) { 106 if (buffer[0] != boot->Media || buffer[1] != 0xff) 108 if (boot->ClustMask == CLUST16_MASK) [all...] |
dir.c | 224 resetDosDirSection(struct bootblock *boot, struct fatEntry *fat) 230 b1 = boot->RootDirEnts * 32; 231 b2 = boot->SecPerClust * boot->BytesPerSec; 240 if (boot->flags & FAT32) { 241 if (boot->RootCl < CLUST_FIRST || boot->RootCl >= boot->NumClusters) { 243 boot->RootCl); 246 cl = fat[boot->RootCl].next [all...] |
Android.mk | 7 LOCAL_SRC_FILES := boot.c check.c dir.c fat.c main.c
|
/bootable/bootloader/legacy/libc/ |
cprintf.c | 31 #include <boot/boot.h>
|
crypto.c | 29 #include <boot/boot.h>
|
dprintf.c | 31 #include <boot/boot.h>
|
strstr.c | 29 #include <boot/boot.h>
|
sprintf.c | 31 #include <boot/boot.h>
|
/bootable/bootloader/legacy/libboot/ |
tags_cmdline.c | 29 #include <boot/boot.h> 30 #include <boot/tags.h> 31 #include <boot/flash.h>
|
tags_partition.c | 29 #include <boot/boot.h> 30 #include <boot/tags.h> 31 #include <boot/flash.h>
|
tags_revision.c | 29 #include <boot/boot.h> 30 #include <boot/tags.h> 31 #include <boot/flash.h>
|
tags_serialno.c | 29 #include <boot/boot.h> 30 #include <boot/tags.h> 31 #include <boot/flash.h>
|
poll.c | 29 #include <boot/boot.h>
|
flash.c | 29 #include <boot/boot.h> 30 #include <boot/flash.h>
|
gpio_keypad.c | 29 #include <boot/boot.h> 30 #include <boot/gpio.h> 31 #include <boot/gpio_keypad.h>
|
/sdk/emulator/mksdcard/ |
mksdcard.c | 56 static Byte s_boot_sector [ BYTES_PER_SECTOR ]; /* boot sector */ 109 boot_sector_init( Bytes boot, Bytes info, Wide disk_size, const char* label ) 120 POKEB(boot, 0xeb); 121 POKEB(boot+1, 0x5a); 122 POKEB(boot+2, 0x90); 123 strcpy( (char*)boot + 3, "MSWIN4.1" ); 124 POKES( boot + 0x0b, BYTES_PER_SECTOR ); /* sector size */ 125 POKEB( boot + 0xd, sectors_per_cluster ); /* sectors per cluster */ 126 POKES( boot + 0xe, RESERVED_SECTORS ); /* reserved sectors before first FAT */ 127 POKEB( boot + 0x10, NUM_FATS ); /* number of FATs * [all...] |
/external/grub/docs/ |
menu.lst | 2 # Sample boot menu configuration file 5 # Boot automatically after 30 secs. 8 # By default, boot the first entry. 17 kernel /boot/gnumach.gz root=hd0s1 18 module /boot/serverboot.gz 29 kernel /boot/loader.gz 34 kernel --type=netbsd /boot/knetbsd.gz 40 kernel (fd0)/boot/kernel root=hd0s3 41 module (fd0)/boot/bootstrap 46 kernel /boot/loade [all...] |
/device/htc/common/updater/ |
firmware.c | 29 * On every boot, the bootloader will read the bootloader_message 37 * if command == "boot-recovery" -> boot recovery.img 40 * else -> boot boot.img (normal boot) 49 * 7. if failed, and the old image can still boot, status="failed-update" 52 * "boot-recovery" 164 struct bootloader_message boot; local 165 memset(&boot, 0, sizeof(boot)) [all...] |
/bootable/diskinstaller/ |
installer.conf | 8 boot { 9 partition boot 10 filename /data/boot.img
|
/build/core/ |
dex_preopt.mk | 2 # Dexpreopt on the boot jars 37 --product-dir=$(DEXPREOPT_PRODUCT_DIR) --boot-dir=$(DEXPREOPT_BOOT_JAR_DIR) \ 38 --boot-jars=$(DEXPREOPT_BOOT_JARS) $(DEXPREOPT_UNIPROCESSOR) \ 43 # $(1): boot jar module name 44 define _dexpreopt-boot-jar 51 @echo "Dexpreopt Boot Jar: $$@" 66 $(foreach b,$(DEXPREOPT_BOOT_JARS_MODULES),$(eval $(call _dexpreopt-boot-jar,$(b)))) 68 # $(1): the rest list of boot jars 69 define _build-dexpreopt-boot-jar-dependency-pair 74 $(eval $(call _build-dexpreopt-boot-jar-dependency-pair,$(wordlist 2,999,$(1)))) [all...] |
/build/target/board/generic_x86/ |
buildspec-generic_x86.mk | 5 # The eth0 device should be started with dhcp on boot.
|
/bootable/recovery/ |
recovery.c | 82 * 4. get_args() writes BCB with "boot-recovery" and "--wipe_data" 88 * 8. main() calls reboot() to boot main system 94 * 4. get_args() writes BCB with "boot-recovery" and "--update_package=..." 105 * 8a. m_i_f_u() writes BCB with "boot-recovery" and "--wipe_cache" 111 * 8e. bootloader writes BCB with "boot-recovery" (keeping "--wipe_cache") 116 * 9. main() calls reboot() to boot main system 123 * 4. get_args() writes BCB with "boot-recovery" and 136 * 10. main() calls reboot() to boot main system 172 struct bootloader_message boot; local 173 memset(&boot, 0, sizeof(boot)) 234 struct bootloader_message boot; local 292 struct bootloader_message boot; local [all...] |
/bootable/bootloader/legacy/nandwrite/ |
jtag.c | 29 #include <boot/boot.h>
|