Home
last modified time | relevance | path

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

/f-stack/freebsd/amd64/amd64/
H A Dmachdep.c236 char *sysenv; local
246 sysenv = kern_getenv("smbios.system.product");
247 if (sysenv != NULL) {
248 if (strncmp(sysenv, "MacBook1,1", 10) == 0 ||
249 strncmp(sysenv, "MacBook3,1", 10) == 0 ||
250 strncmp(sysenv, "MacBook4,1", 10) == 0 ||
255 strncmp(sysenv, "Macmini1,1", 10) == 0) {
261 freeenv(sysenv);
274 sysenv = kern_getenv("smbios.memory.enabled");
275 if (sysenv != NULL) {
[all …]
/f-stack/freebsd/i386/i386/
H A Dmachdep.c225 char *sysenv; local
235 sysenv = kern_getenv("smbios.system.product");
236 if (sysenv != NULL) {
237 if (strncmp(sysenv, "MacBook1,1", 10) == 0 ||
238 strncmp(sysenv, "MacBook3,1", 10) == 0 ||
239 strncmp(sysenv, "MacBook4,1", 10) == 0 ||
244 strncmp(sysenv, "Macmini1,1", 10) == 0) {
250 freeenv(sysenv);
267 sysenv = kern_getenv("smbios.memory.enabled");
268 if (sysenv != NULL) {
[all …]