| /netbsd-src/sbin/fsck_msdos/ |
| H A D | ext.h | 75 int readboot(int, struct bootblock *); 80 int writefsinfo(int, struct bootblock *); 86 int readfat(int, struct bootblock *, u_int, struct fatEntry **); 92 int comparefat(struct bootblock *, struct fatEntry *, struct fatEntry *, u_int); 97 int checkfat(struct bootblock *, struct fatEntry *); 102 int writefat(int, struct bootblock *, struct fatEntry *, int); 107 int resetDosDirSection(struct bootblock *, struct fatEntry *); 109 int handleDirTree(int, struct bootblock *, struct fatEntry *); 117 int checklost(int, struct bootblock *, struct fatEntry *); 121 int reconnect(int, struct bootblock *, struct fatEntry *, cl_t); [all …]
|
| H A D | fat.c | 43 static int checkclnum(struct bootblock *, u_int, cl_t, cl_t *); 45 static int tryclear(struct bootblock *, struct fatEntry *, cl_t, cl_t *); 46 static int _readfat(int, struct bootblock *, u_int, u_char **); 52 checkclnum(struct bootblock *boot, u_int fat, cl_t cl, cl_t *next) in checkclnum() 83 _readfat(int fs, struct bootblock *boot, u_int no, u_char **buffer) in _readfat() 119 readfat(int fs, struct bootblock *boot, u_int no, struct fatEntry **fp) in readfat() 325 comparefat(struct bootblock *boot, struct fatEntry *first, in comparefat() 338 clearchain(struct bootblock *boot, struct fatEntry *fat, cl_t head) in clearchain() 352 tryclear(struct bootblock *boot, struct fatEntry *fat, cl_t head, cl_t *truncp) in tryclear() 376 checkfat(struct bootblock *boot, struct fatEntry *fat) in checkfat() [all …]
|
| H A D | dir.c | 95 static int delete(int, struct bootblock *, struct fatEntry *, cl_t, int, 97 static int removede(int, struct bootblock *, struct fatEntry *, u_char *, 99 static int checksize(struct bootblock *, struct fatEntry *, u_char *, 101 static int readDosDirSection(int, struct bootblock *, struct fatEntry *, 218 resetDosDirSection(struct bootblock *boot, struct fatEntry *fat) in resetDosDirSection() 314 delete(int f, struct bootblock *boot, struct fatEntry *fat, cl_t startcl, in delete() 354 removede(int f, struct bootblock *boot, struct fatEntry *fat, u_char *start, in removede() 391 checksize(struct bootblock *boot, struct fatEntry *fat, u_char *p, in checksize() 465 readDosDirSection(int f, struct bootblock *boot, struct fatEntry *fat, in readDosDirSection() 888 handleDirTree(int dosfs, struct bootblock *boot, struct fatEntry *fat) in handleDirTree() [all …]
|
| H A D | dosfs.h | 41 struct bootblock { struct
|
| H A D | boot.c | 46 readboot(int dosfs, struct bootblock *boot) in readboot() 301 writefsinfo(int dosfs, struct bootblock *boot) in writefsinfo()
|
| H A D | check.c | 48 struct bootblock boot; in checkfilesys()
|
| /netbsd-src/distrib/amiga/stand/ |
| H A D | runbootblock.README | 1 Some Amigas are incapable of booting from partition utilizing a bootblock. One 3 booting from a bootblock. The first (and fatal) one is the driver is just 7 the Zeus would boot from a bootblock, its memory would not get configured. 9 bootblock, but it appears to only work if there is a filesystem in the RDB 11 from the bootblock by installing the BFFSFastFileSystem in the RDB. 14 Runbootblock will load and execute an Amiga bootblock program from a disk partition, 15 similar to the process the Amiga ROM will do when booting from the bootblock. 16 This allows "booting" from a NetBSD bootblock when the Amiga is unable to actually 17 boot from a bootblock. 25 The following command will load and execute the bootblock on SCSI drive
|
| /netbsd-src/sys/arch/acorn32/stand/lib/ |
| H A D | riscospart.c | 110 filecore_checksum(u_char *bootblock) in filecore_checksum() argument 118 byte0 = bootblock[0]; in filecore_checksum() 126 sum += bootblock[i]; in filecore_checksum() 127 accum_diff |= bootblock[i] ^ byte0; in filecore_checksum() 136 accum_diff |= bootblock[i] ^ byte0; in filecore_checksum()
|
| /netbsd-src/sys/arch/x68k/stand/installboot/ |
| H A D | installboot.c | 58 u_int8_t bootblock[MAXBBSIZE]; variable 136 if (read(fd, bootblock, blocksize) != blocksize) in checkparttype() 139 if (strncmp((const char *)bootblock, "X68SCSI1", 8) != 0) in checkparttype() 160 lp = (struct disklabel *) &bootblock[LABELBYTEOFFSET]; in checkparttype() 219 if (read(fd, bootblock + bboffset, bootprogsize) != bootprogsize) in main() 223 memcpy(bootblock + LABELBYTEOFFSET, &label, sizeof(label)); in main() 242 if (write(fd, bootblock, bootprogsize) != bootprogsize) { in main()
|
| /netbsd-src/sys/fs/filecorefs/ |
| H A D | filecore_utils.c | 156 u_char *bootblock = bb; in filecore_bbchecksum() local 163 byte0 = bootblock[0]; in filecore_bbchecksum() 171 sum += bootblock[i]; in filecore_bbchecksum() 172 accum_diff |= bootblock[i] ^ byte0; in filecore_bbchecksum() 181 accum_diff |= bootblock[i] ^ byte0; in filecore_bbchecksum() 188 if (accum_diff == 0 || sum != bootblock[511]) in filecore_bbchecksum()
|
| /netbsd-src/usr.sbin/sysinst/arch/acorn32/ |
| H A D | md.c | 313 filecore_checksum(u_char *bootblock) in filecore_checksum() argument 321 byte0 = bootblock[0]; in filecore_checksum() 329 sum += bootblock[i]; in filecore_checksum() 330 accum_diff |= bootblock[i] ^ byte0; in filecore_checksum() 339 accum_diff |= bootblock[i] ^ byte0; in filecore_checksum()
|
| /netbsd-src/sys/arch/arm/arm/ |
| H A D | disksubr_acorn.c | 142 filecore_checksum(u_char *bootblock) in filecore_checksum() argument 150 byte0 = bootblock[0]; in filecore_checksum() 158 sum += bootblock[i]; in filecore_checksum() 159 accum_diff |= bootblock[i] ^ byte0; in filecore_checksum() 168 accum_diff |= bootblock[i] ^ byte0; in filecore_checksum()
|
| /netbsd-src/sys/arch/next68k/stand/boot/ |
| H A D | README | 8 i.e. it wants to call the kernel, so the bootblock has to return the 14 questionmark '?', like the NeXT bootblock does. Do we need this? (Why 15 should the bootblock as again when you can specify everything on the
|
| /netbsd-src/sys/arch/atari/atari/ |
| H A D | disksubr.c | 161 struct bootblock *bb = (struct bootblock *)bp->b_data; in writedisklabel() 212 struct bootblock *bb; in bsd_label() 216 bb = (struct bootblock *)bp->b_data; in bsd_label()
|
| /netbsd-src/sys/arch/amiga/stand/ |
| H A D | Makefile | 3 SUBDIR=binpatch loadkmap bootblock
|
| /netbsd-src/tools/amiga-txlt/ |
| H A D | Makefile | 4 HOST_SRCDIR= sys/arch/amiga/stand/bootblock/txlt
|
| /netbsd-src/tools/amiga-elf2bb/ |
| H A D | Makefile | 4 HOST_SRCDIR= sys/arch/amiga/stand/bootblock/elf2bb
|
| /netbsd-src/sys/arch/atari/stand/installboot/ |
| H A D | installboot.c | 66 static void mkbootblock(struct bootblock *, char *, 73 static struct bootblock bootarea; 412 mkbootblock(struct bootblock *bb, char *xxb, char *bxx, in mkbootblock()
|
| /netbsd-src/sys/arch/atari/include/ |
| H A D | disklabel.h | 62 struct bootblock { struct
|
| /netbsd-src/sys/arch/atari/stand/tostools/aptck/ |
| H A D | ahdilbl.h | 52 struct bootblock { struct
|
| /netbsd-src/sys/arch/atari/stand/tostools/libtos/ |
| H A D | ahdilbl.h | 52 struct bootblock { struct
|
| /netbsd-src/etc/etc.sgimips/ |
| H A D | Makefile.inc | 38 ${DESTDIR}/usr/include/sys/bootblock.h) ; \
|
| /netbsd-src/tools/ |
| H A D | Makefile.nbincludes | 29 _SYSINCS= bootblock.h \
|
| /netbsd-src/distrib/acorn32/stand/BtNetBSD/misc/ |
| H A D | bb_netbsd | 38 REM Modifies the filecore bootblock to point to a section of 67 REM Read in current filecore bootblock
|
| /netbsd-src/sbin/disklabel/ |
| H A D | main.c | 106 #include <nbinclude/sys/bootblock.h> 112 #include <sys/bootblock.h> 1028 * static int filecore_checksum(u_char *bootblock) 1060 filecore_checksum(u_char *bootblock) 1068 byte0 = bootblock[0]; 1076 sum += bootblock[i]; 1077 accum_diff |= bootblock[i] ^ byte0; 1086 accum_diff |= bootblock[i] ^ byte0; 1306 * <sys/bootblock.h> provides a macro to do it. 1059 filecore_checksum(u_char * bootblock) global() argument
|