lib/fonts/font_6x8.c

Source file repositories/reference/linux-study-clean/lib/fonts/font_6x8.c

File Facts

System
Linux kernel
Corpus path
lib/fonts/font_6x8.c
Extension
.c
Size
46967 bytes
Lines
2579
Domain
Kernel Services
Bucket
lib
Inferred role
Kernel Services: implementation source
Status
source implementation candidate

Why This File Exists

Shared kernel service surface used by multiple subsystems, including helpers, cryptography, virtualization support, and async I/O infrastructure.

Dependency Surface

Detected Declarations

Annotated Snippet

// SPDX-License-Identifier: GPL-2.0

#include "font.h"

#define FONTDATAMAX 2048

static const struct font_data fontdata_6x8 = {
	{ 0, 0, FONTDATAMAX, 0 }, {
	/* 0 0x00 '^@' */
	0x00, /* 000000 */
	0x00, /* 000000 */
	0x00, /* 000000 */
	0x00, /* 000000 */
	0x00, /* 000000 */
	0x00, /* 000000 */
	0x00, /* 000000 */
	0x00, /* 000000 */

	/* 1 0x01 '^A' */
	0x78, /* 011110 */
	0x84, /* 100001 */
	0xCC, /* 110011 */
	0x84, /* 100001 */
	0xCC, /* 110011 */
	0xB4, /* 101101 */
	0x78, /* 011110 */
	0x00, /* 000000 */

	/* 2 0x02 '^B' */
	0x78, /* 011110 */
	0xFC, /* 111111 */
	0xB4, /* 101101 */
	0xFC, /* 111111 */
	0xB4, /* 101101 */
	0xCC, /* 110011 */
	0x78, /* 011110 */
	0x00, /* 000000 */

	/* 3 0x03 '^C' */
	0x00, /* 000000 */
	0x28, /* 001010 */
	0x7C, /* 011111 */
	0x7C, /* 011111 */
	0x38, /* 001110 */
	0x10, /* 000100 */
	0x00, /* 000000 */
	0x00, /* 000000 */

	/* 4 0x04 '^D' */
	0x00, /* 000000 */
	0x10, /* 000100 */
	0x38, /* 001110 */
	0x7C, /* 011111 */
	0x38, /* 001110 */
	0x10, /* 000100 */
	0x00, /* 000000 */
	0x00, /* 000000 */

	/* 5 0x05 '^E' */
	0x00, /* 000000 */
	0x38, /* 001110 */
	0x38, /* 001110 */
	0x6C, /* 011011 */
	0x6C, /* 011011 */
	0x10, /* 000100 */
	0x38, /* 001110 */
	0x00, /* 000000 */

	/* 6 0x06 '^F' */
	0x00, /* 000000 */
	0x10, /* 000100 */
	0x38, /* 001110 */
	0x7C, /* 011111 */
	0x7C, /* 011111 */
	0x10, /* 000100 */
	0x38, /* 001110 */
	0x00, /* 000000 */

	/* 7 0x07 '^G' */
	0x00, /* 000000 */
	0x00, /* 000000 */
	0x30, /* 001100 */
	0x78, /* 011110 */
	0x30, /* 001100 */
	0x00, /* 000000 */
	0x00, /* 000000 */
	0x00, /* 000000 */

	/* 8 0x08 '^H' */
	0xFC, /* 111111 */

Annotation

Implementation Notes