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 files12

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

drivers/media/platform/mtk-mdp/mtk_mdp_vpu.h

Text · 1,251 bytes
/*
 * Copyright (c) 2015-2016 MediaTek Inc.
 * Author: Houlong Wei <[email protected]>
 *         Ming Hsiu Tsai <[email protected]>
 *
 * 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 ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

#ifndef __MTK_MDP_VPU_H__
#define __MTK_MDP_VPU_H__

#include "mtk_mdp_ipi.h"


/**
 * struct mtk_mdp_vpu - VPU instance for MDP
 * @pdev	: pointer to the VPU platform device
 * @inst_addr	: VPU MDP instance address
 * @failure	: VPU execution result status
 * @vsi		: VPU shared information
 */
struct mtk_mdp_vpu {
	struct platform_device	*pdev;
	uint32_t		inst_addr;
	int32_t			failure;
	struct mdp_process_vsi	*vsi;
};

int mtk_mdp_vpu_register(struct platform_device *pdev);
int mtk_mdp_vpu_init(struct mtk_mdp_vpu *vpu);
int mtk_mdp_vpu_deinit(struct mtk_mdp_vpu *vpu);
int mtk_mdp_vpu_process(struct mtk_mdp_vpu *vpu);

#endif /* __MTK_MDP_VPU_H__ */