Changeset View
Changeset View
Standalone View
Standalone View
stand/i386/libi386/vidconsole.c
Show First 20 Lines • Show All 539 Lines • ▼ Show 20 Lines | if (strcasecmp(name, "red") == 0) { | ||||
*val = TC_RED | light; | *val = TC_RED | light; | ||||
return (true); | return (true); | ||||
} | } | ||||
if (strcasecmp(name, "green") == 0) { | if (strcasecmp(name, "green") == 0) { | ||||
*val = TC_GREEN | light; | *val = TC_GREEN | light; | ||||
return (true); | return (true); | ||||
} | } | ||||
if (strcasecmp(name, "yellow") == 0 || strcasecmp(name, "brown") == 0) { | if (strcasecmp(name, "yellow") == 0 || strcasecmp(name, "brown") == 0) { | ||||
*val = TC_BROWN | light; | *val = TC_YELLOW | light; | ||||
return (true); | return (true); | ||||
} | } | ||||
if (strcasecmp(name, "blue") == 0) { | if (strcasecmp(name, "blue") == 0) { | ||||
*val = TC_BLUE | light; | *val = TC_BLUE | light; | ||||
return (true); | return (true); | ||||
} | } | ||||
if (strcasecmp(name, "magenta") == 0) { | if (strcasecmp(name, "magenta") == 0) { | ||||
*val = TC_MAGENTA | light; | *val = TC_MAGENTA | light; | ||||
▲ Show 20 Lines • Show All 696 Lines • Show Last 20 Lines |