HomeSort by relevance Sort by last modified time
    Searched full:pmbr (Results 1 - 11 of 11) sorted by null

  /external/vboot_reference/cgpt/
cgpt_boot.c 35 Error("Unable to read PMBR\n");
41 GuidToStr(&drive.pmbr.boot_guid, buf, sizeof(buf));
48 if (GuidEqual(&entry->unique, &drive.pmbr.boot_guid)) {
83 Error("Unable to read PMBR\n");
88 drive.pmbr.magic[0] = 0x1d;
89 drive.pmbr.magic[1] = 0x9a;
90 drive.pmbr.sig[0] = 0x55;
91 drive.pmbr.sig[1] = 0xaa;
92 memset(&drive.pmbr.part, 0, sizeof(drive.pmbr.part))
    [all...]
cmd_boot.c 16 "Edit the PMBR sector for legacy BIOSes\n\n"
22 " -b FILE Install bootloader code in the PMBR\n"
23 " -p Create legacy PMBR partition table\n"
25 "With no options, it will just print the PMBR boot guid\n"
cgpt.h 33 struct pmbr { struct
42 void PMBRToStr(struct pmbr *pmbr, char *str, unsigned int buflen);
48 struct pmbr pmbr; member in struct:drive
cgpt_create.c 56 // | PMBR | Prim. Head | Prim. Entries | ... | Sec. Entries | Sec. Head |
59 // Half the size of gpt_drive_sectors must be big enough to hold PMBR +
61 // contain PMBR.
cgpt_common.c 110 int nread = read(drive->fd, &drive->pmbr, sizeof(struct pmbr));
111 if (nread != sizeof(struct pmbr))
121 int nwrote = write(drive->fd, &drive->pmbr, sizeof(struct pmbr));
122 if (nwrote != sizeof(struct pmbr))
    [all...]
cgpt.c 35 {"boot", cmd_boot, "Edit the PMBR sector for legacy BIOSes"},
cgpt_show.c 244 Error("Unable to read PMBR\n");
249 char buf[256]; // buffer for formatted PMBR content
250 PMBRToStr(&drive->pmbr, buf, sizeof(buf)); // will exit if buf is too small
  /external/vboot_reference/firmware/lib/cgptlib/include/
cgptlib_internal.h 58 #define GPT_PMBR_SECTORS 1 /* size (in sectors) of PMBR */
  /external/vboot_reference/firmware/lib/cgptlib/
cgptlib_internal.c 42 * too small to contain basic GPT structure (PMBR + Headers + Entries),
111 * immediately follows the PMBR, and is followed by its entries. The
  /external/vboot_reference/tests/
run_cgpt_tests.sh 151 echo "Check the PMBR's idea of the boot partition..."
cgptlib_test.c 24 * 0 1 PMBR
    [all...]

Completed in 211 milliseconds