Lines Matching defs:bootstrap
85 uint8_t *bootstrap;
107 bootstrap = MAP_FAILED;
109 /* needs whole LIF volume/directory and actual bootstrap by default */
123 * by BOOTROM on bootstrap.
137 "a bootstrap", params->filesystem);
155 warnx("Secondary bootstrap `%s' is empty",
159 warnx("Secondary bootstrap `%s' doesn't have "
169 printf("Bootstrap `%s' found at offset %lu in `%s'\n",
179 "`%s' must be a regular file to append a bootstrap",
186 * The bootstrap can be well over 8k, and must go into a BOOT
232 /* Read LIF volume/directory (and bootstrap) from stage1 */
233 bootstrap = mmap(NULL, bootstrap_mapsize,
235 if (bootstrap == MAP_FAILED) {
241 lifdir = (void *)(bootstrap + HP300_LIF_DIRSTART);
262 rv = pwrite(params->fsfd, bootstrap, LIF_VOLDIRSIZE, 0);
274 * Bootstrap in the target filesystem is used.
275 * No need to write bootstrap to BOOT partition.
282 /* Write bootstrap to BOOT partition (or at EOF in IB_APPEND case) */
287 rv = pwrite(params->fsfd, bootstrap + offset, size,
304 if (bootstrap != MAP_FAILED)
305 munmap(bootstrap, bootstrap_mapsize);