sc_machdep.h revision 330897
146283Sdfr/*- 298944Sobrien * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 346283Sdfr * 498944Sobrien * Copyright (c) 2003 Jake Burkholder. 546283Sdfr * All rights reserved. 698944Sobrien * 798944Sobrien * Redistribution and use in source and binary forms, with or without 898944Sobrien * modification, are permitted provided that the following conditions 998944Sobrien * are met: 1046283Sdfr * 1. Redistributions of source code must retain the above copyright 1198944Sobrien * notice, this list of conditions and the following disclaimer. 1298944Sobrien * 2. Redistributions in binary form must reproduce the above copyright 1398944Sobrien * notice, this list of conditions and the following disclaimer in the 1498944Sobrien * documentation and/or other materials provided with the distribution. 1546283Sdfr * 1698944Sobrien * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1798944Sobrien * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1898944Sobrien * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1998944Sobrien * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 2046283Sdfr * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2146283Sdfr * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2246283Sdfr * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2346283Sdfr * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2446283Sdfr * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2598944Sobrien * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2698944Sobrien * SUCH DAMAGE. 2798944Sobrien * 2898944Sobrien * $FreeBSD: stable/11/sys/mips/include/sc_machdep.h 330897 2018-03-14 03:19:51Z eadler $ 2998944Sobrien */ 3046283Sdfr 3146283Sdfr#ifndef _MACHINE_SC_MACHDEP_H_ 3246283Sdfr#define _MACHINE_SC_MACHDEP_H_ 3346283Sdfr 3498944Sobrien/* Color attributes for foreground text */ 3598944Sobrien 3646283Sdfr#define FG_BLACK 0x0 3798944Sobrien#define FG_BLUE 0x1 3846283Sdfr#define FG_GREEN 0x2 3946283Sdfr#define FG_CYAN 0x3 4098944Sobrien#define FG_RED 0x4 4198944Sobrien#define FG_MAGENTA 0x5 4246283Sdfr#define FG_BROWN 0x6 4398944Sobrien#define FG_LIGHTGREY 0x7 /* aka white */ 4498944Sobrien#define FG_DARKGREY 0x8 4546283Sdfr#define FG_LIGHTBLUE 0x9 4698944Sobrien#define FG_LIGHTGREEN 0xa 4798944Sobrien#define FG_LIGHTCYAN 0xb 4846283Sdfr#define FG_LIGHTRED 0xc 4998944Sobrien#define FG_LIGHTMAGENTA 0xd 5098944Sobrien#define FG_YELLOW 0xe 5146283Sdfr#define FG_WHITE 0xf /* aka bright white */ 5298944Sobrien#define FG_BLINK 0x80 5398944Sobrien 5446283Sdfr/* Color attributes for text background */ 5598944Sobrien 5698944Sobrien#define BG_BLACK 0x00 5746283Sdfr#define BG_BLUE 0x10 5898944Sobrien#define BG_GREEN 0x20 5998944Sobrien#define BG_CYAN 0x30 6098944Sobrien#define BG_RED 0x40 6146283Sdfr#define BG_MAGENTA 0x50 6298944Sobrien#define BG_BROWN 0x60 6398944Sobrien#define BG_LIGHTGREY 0x70 6446283Sdfr#define BG_DARKGREY 0x80 6598944Sobrien#define BG_LIGHTBLUE 0x90 6698944Sobrien#define BG_LIGHTGREEN 0xa0 6746283Sdfr#define BG_LIGHTCYAN 0xb0 6898944Sobrien#define BG_LIGHTRED 0xc0 6998944Sobrien#define BG_LIGHTMAGENTA 0xd0 7046283Sdfr#define BG_YELLOW 0xe0 7198944Sobrien#define BG_WHITE 0xf0 7298944Sobrien 7398944Sobrien#endif /* !_MACHINE_SC_MACHDEP_H_ */ 7446283Sdfr