1124771Sgrehan/*- 2124771Sgrehan * Copyright (c) 2003 Jake Burkholder. 3124771Sgrehan * All rights reserved. 4124771Sgrehan * 5124771Sgrehan * Redistribution and use in source and binary forms, with or without 6124771Sgrehan * modification, are permitted provided that the following conditions 7124771Sgrehan * are met: 8124771Sgrehan * 1. Redistributions of source code must retain the above copyright 9124771Sgrehan * notice, this list of conditions and the following disclaimer. 10124771Sgrehan * 2. Redistributions in binary form must reproduce the above copyright 11124771Sgrehan * notice, this list of conditions and the following disclaimer in the 12124771Sgrehan * documentation and/or other materials provided with the distribution. 13124771Sgrehan * 14124771Sgrehan * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15124771Sgrehan * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16124771Sgrehan * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17124771Sgrehan * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18124771Sgrehan * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19124771Sgrehan * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20124771Sgrehan * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21124771Sgrehan * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22124771Sgrehan * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23124771Sgrehan * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24124771Sgrehan * SUCH DAMAGE. 25124771Sgrehan * 26124771Sgrehan * $FreeBSD: releng/11.0/sys/powerpc/include/sc_machdep.h 124771 2004-01-21 05:16:23Z grehan $ 27124771Sgrehan */ 28124771Sgrehan 29124771Sgrehan#ifndef _MACHINE_SC_MACHDEP_H_ 30124771Sgrehan#define _MACHINE_SC_MACHDEP_H_ 31124771Sgrehan 32124771Sgrehan/* Color attributes for foreground text */ 33124771Sgrehan 34124771Sgrehan#define FG_BLACK 0x0 35124771Sgrehan#define FG_BLUE 0x1 36124771Sgrehan#define FG_GREEN 0x2 37124771Sgrehan#define FG_CYAN 0x3 38124771Sgrehan#define FG_RED 0x4 39124771Sgrehan#define FG_MAGENTA 0x5 40124771Sgrehan#define FG_BROWN 0x6 41124771Sgrehan#define FG_LIGHTGREY 0x7 /* aka white */ 42124771Sgrehan#define FG_DARKGREY 0x8 43124771Sgrehan#define FG_LIGHTBLUE 0x9 44124771Sgrehan#define FG_LIGHTGREEN 0xa 45124771Sgrehan#define FG_LIGHTCYAN 0xb 46124771Sgrehan#define FG_LIGHTRED 0xc 47124771Sgrehan#define FG_LIGHTMAGENTA 0xd 48124771Sgrehan#define FG_YELLOW 0xe 49124771Sgrehan#define FG_WHITE 0xf /* aka bright white */ 50124771Sgrehan#define FG_BLINK 0x80 51124771Sgrehan 52124771Sgrehan/* Color attributes for text background */ 53124771Sgrehan 54124771Sgrehan#define BG_BLACK 0x00 55124771Sgrehan#define BG_BLUE 0x10 56124771Sgrehan#define BG_GREEN 0x20 57124771Sgrehan#define BG_CYAN 0x30 58124771Sgrehan#define BG_RED 0x40 59124771Sgrehan#define BG_MAGENTA 0x50 60124771Sgrehan#define BG_BROWN 0x60 61124771Sgrehan#define BG_LIGHTGREY 0x70 62124771Sgrehan#define BG_DARKGREY 0x80 63124771Sgrehan#define BG_LIGHTBLUE 0x90 64124771Sgrehan#define BG_LIGHTGREEN 0xa0 65124771Sgrehan#define BG_LIGHTCYAN 0xb0 66124771Sgrehan#define BG_LIGHTRED 0xc0 67124771Sgrehan#define BG_LIGHTMAGENTA 0xd0 68124771Sgrehan#define BG_YELLOW 0xe0 69124771Sgrehan#define BG_WHITE 0xf0 70124771Sgrehan 71124771Sgrehan#endif /* !_MACHINE_SC_MACHDEP_H_ */ 72