Exploit database

GH-b6f78b211ff4ea5e7b3ebffe1f088758

abrarkhan/linux-4.19.72_cve-2020-24490

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2020-24490

5 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files127Next files →

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

arch/ia64/include/asm/vga.h

Text · 657 bytes
/* SPDX-License-Identifier: GPL-2.0 */
/*
 *	Access to VGA videoram
 *
 *	(c) 1998 Martin Mares <[email protected]>
 *	(c) 1999 Asit Mallick <[email protected]>
 *	(c) 1999 Don Dugger <[email protected]>
 */

#ifndef __ASM_IA64_VGA_H_
#define __ASM_IA64_VGA_H_

/*
 * On the PC, we can just recalculate addresses and then access the
 * videoram directly without any black magic.
 */

extern unsigned long vga_console_iobase;
extern unsigned long vga_console_membase;

#define VGA_MAP_MEM(x,s)	((unsigned long) ioremap_nocache(vga_console_membase + (x), s))

#define vga_readb(x)	(*(x))
#define vga_writeb(x,y)	(*(y) = (x))

#endif /* __ASM_IA64_VGA_H_ */