HomeSort by: relevance | last modified time | path
    Searched defs:boot_code (Results 1 - 3 of 3) sorted by relevancy

  /src/sys/arch/mipsco/stand/installboot/
installboot.c 168 char *boot_code; local in function:do_install
185 boot_code = malloc(boot_size);
186 if (boot_code == NULL)
188 memset(boot_code, 0, boot_size);
191 len = read(fd, boot_code, bootstrapsb.st_size);
211 free(boot_code);
222 len = pwrite(fd, boot_code, boot_size, BOOTBLOCK_OFFSET);
223 free(boot_code);
installboot.c 168 char *boot_code; local in function:do_install
185 boot_code = malloc(boot_size);
186 if (boot_code == NULL)
188 memset(boot_code, 0, boot_size);
191 len = read(fd, boot_code, bootstrapsb.st_size);
211 free(boot_code);
222 len = pwrite(fd, boot_code, boot_size, BOOTBLOCK_OFFSET);
223 free(boot_code);
installboot.c 168 char *boot_code; local in function:do_install
185 boot_code = malloc(boot_size);
186 if (boot_code == NULL)
188 memset(boot_code, 0, boot_size);
191 len = read(fd, boot_code, bootstrapsb.st_size);
211 free(boot_code);
222 len = pwrite(fd, boot_code, boot_size, BOOTBLOCK_OFFSET);
223 free(boot_code);

Completed in 33 milliseconds