Exploit databaseDownload repository ZIP
GH-a4473dcd9930d1ae4c0775adc06b1cfb
satheesh575555/linux-4.19.72_cve-2022-36946
Sources for CVE-2022-36946
2 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files249
satheesh575555/linux-4.19.72_cve-2022-36946Revision 34cc7d8183fd
- ↑..Parent directory
- jz4740/
- media/
- txx9/
- x86/
- ad5449.h
- ad5755.h
- ad5761.h
- ad7266.h
- ad7291.h
- ad7298.h
- ad7303.h
- ad7791.h
- ad7793.h
- ad7879.h
- ad7887.h
- adau17x1.h
- adau1977.h
- adp5588.h
- adp8860.h
- adp8870.h
- ads1015.h
- ads7828.h
- ams-delta-fiq.h
- apds990x.h
- arm-ux500-pm.h
- asoc-imx-ssi.h
- asoc-kirkwood.h
- asoc-mx27vis.h
- asoc-palm27x.h
- asoc-s3c.h
- asoc-s3c24xx_simtec.h
- asoc-ti-mcbsp.h
- asoc-ux500-msp.h
- at24.h
- at91_adc.h
- ata-pxa.h
- ata-samsung_cf.h
- atmel.h
- b53.h
- bcmgenet.h
- bd6107.h
- bh1770glc.h
- brcmfmac.h
- clk-da8xx-cfgchip.h
- clk-davinci-pll.h
- clk-integrator.h
- clk-lpss.h
- clk-st.h
- clk-u300.h
- cpuidle-exynos.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
include/linux/platform_data/pm33xx.h
Text · 2,064 bytes/* SPDX-License-Identifier: GPL-2.0 */
/*
* TI pm33xx platform data
*
* Copyright (C) 2016-2018 Texas Instruments, Inc.
* Dave Gerlach <[email protected]>
*/
#ifndef _LINUX_PLATFORM_DATA_PM33XX_H
#define _LINUX_PLATFORM_DATA_PM33XX_H
#include <linux/kbuild.h>
#include <linux/types.h>
/*
* WFI Flags for sleep code control
*
* These flags allow PM code to exclude certain operations from happening
* in the low level ASM code found in sleep33xx.S and sleep43xx.S
*
* WFI_FLAG_FLUSH_CACHE: Flush the ARM caches and disable caching. Only
* needed when MPU will lose context.
* WFI_FLAG_SELF_REFRESH: Let EMIF place DDR memory into self-refresh and
* disable EMIF.
* WFI_FLAG_SAVE_EMIF: Save context of all EMIF registers and restore in
* resume path. Only needed if PER domain loses context
* and must also have WFI_FLAG_SELF_REFRESH set.
* WFI_FLAG_WAKE_M3: Disable MPU clock or clockdomain to cause wkup_m3 to
* execute when WFI instruction executes.
* WFI_FLAG_RTC_ONLY: Configure the RTC to enter RTC+DDR mode.
*/
#define WFI_FLAG_FLUSH_CACHE BIT(0)
#define WFI_FLAG_SELF_REFRESH BIT(1)
#define WFI_FLAG_SAVE_EMIF BIT(2)
#define WFI_FLAG_WAKE_M3 BIT(3)
#define WFI_FLAG_RTC_ONLY BIT(4)
#ifndef __ASSEMBLER__
struct am33xx_pm_sram_addr {
void (*do_wfi)(void);
unsigned long *do_wfi_sz;
unsigned long *resume_offset;
unsigned long *emif_sram_table;
unsigned long *ro_sram_data;
unsigned long resume_address;
};
struct am33xx_pm_platform_data {
int (*init)(void);
int (*soc_suspend)(unsigned int state, int (*fn)(unsigned long),
unsigned long args);
struct am33xx_pm_sram_addr *(*get_sram_addrs)(void);
void __iomem *(*get_rtc_base_addr)(void);
};
struct am33xx_pm_sram_data {
u32 wfi_flags;
u32 l2_aux_ctrl_val;
u32 l2_prefetch_ctrl_val;
} __packed __aligned(8);
struct am33xx_pm_ro_sram_data {
u32 amx3_pm_sram_data_virt;
u32 amx3_pm_sram_data_phys;
void __iomem *rtc_base_virt;
} __packed __aligned(8);
#endif /* __ASSEMBLER__ */
#endif /* _LINUX_PLATFORM_DATA_PM33XX_H */