Home
last modified time | relevance | path

Searched refs:pcidBuffer (Results 1 – 1 of 1) sorted by relevance

/developtools/syscap_codec/src/
Dcreate_pcid.c245 PCIDMain *pcidBuffer = (PCIDMain *)malloc(pcidLength); in CreatePCID() local
246 if (pcidBuffer == NULL) { in CreatePCID()
251 (void)memset_s(pcidBuffer, pcidLength, 0, pcidLength); in CreatePCID()
269 pcidBuffer->osSyscap[sectorOfBits] |= 1 << (posOfBits); in CreatePCID()
273 char *priSyscapHead = (char *)(pcidBuffer + 1); in CreatePCID()
293 pcidBuffer->apiVersion = HtonsInter((uint16_t)jsonSyscapObj->valueint); in CreatePCID()
294 pcidBuffer->apiVersionType = 0; in CreatePCID()
303 pcidBuffer->systemType = !strcmp(systemType, "mini") ? 0b001 : in CreatePCID()
306 if (pcidBuffer->systemType == 0) { in CreatePCID()
318 pcidBuffer->manufacturerID = HtonlInter((uint32_t)jsonSyscapObj->valueint); in CreatePCID()
[all …]