Patrick Georgi ac9590395e treewide: replace GPLv2 long form headers with SPDX header
This replaces GPLv2-or-later and GPLv2-only long form text with the
short SPDX identifiers.

Commands used:
perl -i -p0e 's|/\*[*\n\t ]*This program is free software[:;].*you.*can.*redistribute.*it.*and/or.*modify.*it.*under.*the.*terms.*of.*the.*GNU.*General.*Public.*License.*as.*published.*by.*the.*Free.*Software.*Foundation[;,].*version.*2.*of.*the.*License.*or.*(at.*your.*option).*any.*later.*version.+This.*program.*is.*distributed.*in.*the.*hope.*that.*it.*will.*be.*useful,.*but.*;.*without.*even.*the.*implied.*warranty.*of.*MERCHANTABILITY.*or.*FITNESS.*FOR.*A.*PARTICULAR.*PURPOSE..*.*See.*the.*GNU.*General.*Public.*License for more details.[\n\t ]*\*/|/* SPDX-License-Identifier: GPL-2.0-or-later */|s' $(cat filelist)

perl -i -p0e 's|/\*[*\n\t ]*This program is free software[:;].*you.*can.*redistribute.*it.*and/or.*modify.*it.*under.*the.*terms.*of.*the.*GNU.*General.*Public.*License.*as.*published.*by.*the.*Free.*Software.*Foundation[;,].*version.*2.+This.*program.*is.*distributed.*in.*the.*hope.*that.*it.*will.*be.*useful,.*but.*;.*without.*even.*the.*implied.*warranty.*of.*MERCHANTABILITY.*or.*FITNESS.*FOR.*A.*PARTICULAR.*PURPOSE..*.*See.*the.*GNU.*General.*Public.*License for more details.[\n\t ]*\*/|/* SPDX-License-Identifier: GPL-2.0-only */|s' $(cat filelist)

perl -i -p0e 's|/\*[*\n\t ]*This program is free software[:;].*you.*can.*redistribute.*it.*and/or.*modify.*it.*under.*the.*terms.*of.*the.*GNU.*General.*Public.*License.*version.*2.*as.*published.*by.*the.*Free.*Software.*Foundation[.;,].+This.*program.*is.*distributed.*in.*the.*hope.*that.*it.*will.*be.*useful,.*but.*;.*without.*even.*the.*implied.*warranty.*of.*MERCHANTABILITY.*or.*FITNESS.*FOR.*A.*PARTICULAR.*PURPOSE..*.*See.*the.*GNU.*General.*Public.*License for more details.[\n\t ]*\*/|/* SPDX-License-Identifier: GPL-2.0-only */|s' $(cat filelist)

perl -i -p0e 's|/\*[*\n\t ]*This software is licensed under.*the.*terms.*of.*the.*GNU.*General.*Public.*License.*version.*2.*as.*published.*by.*the.*Free.*Software.*Foundation,.+This.*program.*is.*distributed.*in.*the.*hope.*that.*it.*will.*be.*useful,.*but.*;.*without.*even.*the.*implied.*warranty.*of.*MERCHANTABILITY.*or.*FITNESS.*FOR.*A.*PARTICULAR.*PURPOSE..*.*See.*the.*GNU.*General.*Public.*License for more details.[\n\t ]*\*/|/* SPDX-License-Identifier: GPL-2.0-only */|s' $(cat filelist)

Change-Id: I7a746088a35633c11fc7ebe86006e96458a1abf8
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41066
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: David Hendricks <david.hendricks@gmail.com>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
2020-05-06 22:20:57 +00:00

261 lines
5.5 KiB
C

/* This file is part of the coreboot project. */
/* SPDX-License-Identifier: GPL-2.0-or-later */
#include "vga.h"
/*
* Basic palette.
*/
const struct palette
default_vga_palette[0x100] = {
{ 0x00, 0x00, 0x00},
{ 0x00, 0x00, 0x2A},
{ 0x00, 0x2A, 0x00},
{ 0x00, 0x2A, 0x2A},
{ 0x2A, 0x00, 0x00},
{ 0x2A, 0x00, 0x2A},
{ 0x2A, 0x15, 0x00},
{ 0x2A, 0x2A, 0x2A},
{ 0x15, 0x15, 0x15},
{ 0x15, 0x15, 0x3F},
{ 0x15, 0x3F, 0x15},
{ 0x15, 0x3F, 0x3F},
{ 0x3F, 0x15, 0x15},
{ 0x3F, 0x15, 0x3F},
{ 0x3F, 0x3F, 0x15},
{ 0x3F, 0x3F, 0x3F},
{ 0x00, 0x00, 0x00},
{ 0x05, 0x05, 0x05},
{ 0x08, 0x08, 0x08},
{ 0x0B, 0x0B, 0x0B},
{ 0x0E, 0x0E, 0x0E},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 0x1C},
{ 0x00, 0x00, 0x20},
{ 0x04, 0x00, 0x20},
{ 0x08, 0x00, 0x20},
{ 0x0C, 0x00, 0x20},
{ 0x20, 0x00, 0x20},
{ 0x20, 0x00, 0x0C},
{ 0x20, 0x00, 0x08},
{ 0x20, 0x00, 0x04},
{ 0x20, 0x00, 0x00},
{ 0x20, 0x04, 0x00},
{ 0x20, 0x08, 0x00},
{ 0x20, 0x0C, 0x00},
{ 0x20, 0x20, 0x00},
{ 0x0C, 0x20, 0x00},
{ 0x08, 0x20, 0x00},
{ 0x04, 0x20, 0x00},
{ 0x00, 0x20, 0x00},
{ 0x00, 0x20, 0x04},
{ 0x00, 0x20, 0x08},
{ 0x00, 0x20, 0x0C},
{ 0x00, 0x20, 0x20},
{ 0x00, 0x0C, 0x20},
{ 0x00, 0x08, 0x20},
{ 0x00, 0x04, 0x20},
{ 0x08, 0x08, 0x20},
{ 0x0A, 0x08, 0x20},
{ 0x0C, 0x08, 0x20},
{ 0x0E, 0x08, 0x20},
{ 0x20, 0x08, 0x20},
{ 0x20, 0x08, 0x0E},
{ 0x20, 0x08, 0x0C},
{ 0x20, 0x08, 0x0A},
{ 0x20, 0x08, 0x08},
{ 0x20, 0x0A, 0x08},
{ 0x20, 0x0C, 0x08},
{ 0x20, 0x0E, 0x08},
{ 0x20, 0x20, 0x08},
{ 0x0E, 0x20, 0x08},
{ 0x0C, 0x20, 0x08},
{ 0x0A, 0x20, 0x08},
{ 0x08, 0x20, 0x08},
{ 0x08, 0x20, 0x0A},
{ 0x08, 0x20, 0x0C},
{ 0x08, 0x20, 0x0E},
{ 0x08, 0x20, 0x20},
{ 0x08, 0x0E, 0x20},
{ 0x08, 0x0C, 0x20},
{ 0x08, 0x0A, 0x20},
{ 0x0B, 0x0B, 0x20},
{ 0x0C, 0x0B, 0x20},
{ 0x0D, 0x0B, 0x20},
{ 0x0F, 0x0B, 0x20},
{ 0x20, 0x0B, 0x20},
{ 0x20, 0x0B, 0x0F},
{ 0x20, 0x0B, 0x0D},
{ 0x20, 0x0B, 0x0C},
{ 0x20, 0x0B, 0x0B},
{ 0x20, 0x0C, 0x0B},
{ 0x20, 0x0D, 0x0B},
{ 0x20, 0x0F, 0x0B},
{ 0x20, 0x20, 0x0B},
{ 0x0F, 0x20, 0x0B},
{ 0x0D, 0x20, 0x0B},
{ 0x0C, 0x20, 0x0B},
{ 0x0B, 0x20, 0x0B},
{ 0x0B, 0x20, 0x0C},
{ 0x0B, 0x20, 0x0D},
{ 0x0B, 0x20, 0x0F},
{ 0x0B, 0x20, 0x20},
{ 0x0B, 0x0F, 0x20},
{ 0x0B, 0x0D, 0x20},
{ 0x0B, 0x0C, 0x20},
/* Pad with NULL */
};