Home | History | Annotate | Download | only in mkboothfs

Lines Matching refs:pme

71 	struct apple_part_map_entry pme;
106 memset(&pme, 0, sizeof(pme));
107 pme.pmSig = htobe16(APPLE_PART_MAP_ENTRY_MAGIC);
108 pme.pmMapBlkCnt = htobe32(1);
109 pme.pmPyPartStart = htobe32(1);
110 pme.pmPartBlkCnt = htobe32(SIZETOBLK2048(BOOTPARTSIZE));
111 pme.pmDataCnt = htobe32(SIZETOBLK2048(BOOTDATASIZE));
112 strlcpy(pme.pmPartName, "NetBSD_BootBlock", sizeof(pme.pmPartName));
113 strlcpy(pme.pmPartType, "Apple_Driver", sizeof(pme.pmPartType));
114 pme.pmPartStatus = htobe32(0x3b);
115 pme.pmBootSize = htobe32(MACPPC_BOOT_BLOCK_MAX_SIZE);
116 pme.pmBootLoad = htobe32(0x4000);
117 pme.pmBootEntry = htobe32(0x4000);
118 strlcpy(pme.pmProcessor, "PowerPC", sizeof(pme.pmProcessor));
121 memcpy(buf, &pme, sizeof(pme));
127 pme.pmPyPartStart = htobe32(4);
128 pme.pmPartBlkCnt = htobe32(SIZETOBLK512(BOOTPARTSIZE));
129 pme.pmDataCnt = htobe32(SIZETOBLK512(BOOTDATASIZE));
131 memcpy(buf, &pme, sizeof(pme));