arch/x86/include/asm/video.h

Source file repositories/reference/linux-study-clean/arch/x86/include/asm/video.h

File Facts

System
Linux kernel
Corpus path
arch/x86/include/asm/video.h
Extension
.h
Size
524 bytes
Lines
24
Domain
Architecture Layer
Bucket
arch/x86
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 _ASM_X86_VIDEO_H
#define _ASM_X86_VIDEO_H

#include <linux/types.h>

#include <asm/page.h>

struct device;

pgprot_t pgprot_framebuffer(pgprot_t prot,
			    unsigned long vm_start, unsigned long vm_end,
			    unsigned long offset);
#define pgprot_framebuffer pgprot_framebuffer

#ifdef CONFIG_VIDEO
bool video_is_primary_device(struct device *dev);
#define video_is_primary_device video_is_primary_device
#endif

#include <asm-generic/video.h>

#endif /* _ASM_X86_VIDEO_H */

Annotation

Implementation Notes