Searched refs:sysenv (Results 1 – 3 of 3) sorted by relevance
| /freebsd-14.2/sys/i386/i386/ |
| H A D | machdep.c | 216 char *sysenv; in cpu_startup() local 226 sysenv = kern_getenv("smbios.system.product"); in cpu_startup() 227 if (sysenv != NULL) { in cpu_startup() 228 if (strncmp(sysenv, "MacBook1,1", 10) == 0 || in cpu_startup() 229 strncmp(sysenv, "MacBook3,1", 10) == 0 || in cpu_startup() 230 strncmp(sysenv, "MacBook4,1", 10) == 0 || in cpu_startup() 235 strncmp(sysenv, "Macmini1,1", 10) == 0) { in cpu_startup() 241 freeenv(sysenv); in cpu_startup() 258 sysenv = kern_getenv("smbios.memory.enabled"); in cpu_startup() 259 if (sysenv != NULL) { in cpu_startup() [all …]
|
| /freebsd-14.2/sys/amd64/amd64/ |
| H A D | machdep.c | 226 char *sysenv; in cpu_startup() local 236 sysenv = kern_getenv("smbios.system.product"); in cpu_startup() 237 if (sysenv != NULL) { in cpu_startup() 238 if (strncmp(sysenv, "MacBook1,1", 10) == 0 || in cpu_startup() 239 strncmp(sysenv, "MacBook3,1", 10) == 0 || in cpu_startup() 240 strncmp(sysenv, "MacBook4,1", 10) == 0 || in cpu_startup() 245 strncmp(sysenv, "Macmini1,1", 10) == 0) { in cpu_startup() 251 freeenv(sysenv); in cpu_startup() 264 sysenv = kern_getenv("smbios.memory.enabled"); in cpu_startup() 265 if (sysenv != NULL) { in cpu_startup() [all …]
|
| /freebsd-14.2/sys/dev/mii/ |
| H A D | brgphy.c | 182 char *sysenv; in detect_hs21() local 186 sysenv = kern_getenv("smbios.system.product"); in detect_hs21() 187 if (sysenv == NULL) in detect_hs21() 191 strncmp(sysenv, hs21_type_lists[i].prod, in detect_hs21() 197 freeenv(sysenv); in detect_hs21()
|