arch/arm/include/asm/vga.h

Source file repositories/reference/linux-study-clean/arch/arm/include/asm/vga.h

File Facts

System
Linux kernel
Corpus path
arch/arm/include/asm/vga.h
Extension
.h
Size
351 bytes
Lines
16
Domain
Architecture Layer
Bucket
arch/arm
Inferred role
Architecture Layer: implementation source
Status
source implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef ASMARM_VGA_H
#define ASMARM_VGA_H

#include <linux/io.h>

extern unsigned long vga_base;
extern struct screen_info vgacon_screen_info;

#define VGA_MAP_MEM(x,s)	(vga_base + (x))

#define vga_readb(x)	(*((volatile unsigned char *)x))
#define vga_writeb(x,y)	(*((volatile unsigned char *)y) = (x))

#endif

Annotation

Implementation Notes