Searched defs:cpubuf (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/psm/stand/boot/sparc/common/
H A Dsun4dep.c48 static char cpubuf[5 * OBP_MAXDRVNAME]; local
59 nlen > sizeof (cpubuf) ||
60 prom_getprop(node, OBP_NAME, cpubuf) <= 0)
75 if ((clen + nlen) > sizeof (cpubuf))
79 &cpubuf[nlen]) != clen)
85 if (cpubuf[i] == '\0')
86 cpubuf[i] = ':';
88 cpulist = cpubuf;
/illumos-gate/usr/src/uts/sun4/os/
H A Dmlsetup.c331 static char cpubuf[5 * OBP_MAXDRVNAME]; local
340 nlen > sizeof (cpubuf) ||
341 prom_getprop(node, OBP_NAME, cpubuf) <= 0)
359 if ((clen + nlen) > sizeof (cpubuf))
363 &cpubuf[nlen]) != clen)
369 if (cpubuf[i] == '\0')
370 cpubuf[i] = ':';
379 if (strcmp("SUNW,UltraSPARC", cpubuf) == 0)
380 (void) strcpy(cpubuf, "SUNW,UltraSPARC-II");
382 return (cpubuf);
[all...]

Completed in 364 milliseconds