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 files36
satheesh575555/linux-4.19.72_cve-2022-36946Revision 34cc7d8183fd
- ↑..Parent directory
- addr-map.h
- audio.h
- balloon3.h
- bitfield.h
- corgi.h
- dma.h
- eseries-gpio.h
- generic.h
- hardware.h
- hx4700.h
- io.h
- irqs.h
- lubbock.h
- magician.h
- mainstone.h
- mfp.h
- mtd-xip.h
- palmld.h
- palmtc.h
- palmtx.h
- poodle.h
- pxa25x-udc.h
- pxa2xx-regs.h
- pxa3xx-regs.h
- regs-ac97.h
- regs-lcd.h
- regs-ost.h
- regs-uart.h
- reset.h
- smemc.h
- spitz.h
- tosa.h
- trizeps4.h
- uncompress.h
- vpac270.h
- z2.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
arch/arm/mach-pxa/include/mach/mtd-xip.h
Text · 1,298 bytes/*
* MTD primitives for XIP support. Architecture specific functions
*
* Do not include this file directly. It's included from linux/mtd/xip.h
*
* Author: Nicolas Pitre
* Created: Nov 2, 2004
* Copyright: (C) 2004 MontaVista Software, Inc.
*
* 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.
*/
#ifndef __ARCH_PXA_MTD_XIP_H__
#define __ARCH_PXA_MTD_XIP_H__
#include <mach/regs-ost.h>
/* restored July 2017, this did not build since 2011! */
#define ICIP io_p2v(0x40d00000)
#define ICMR io_p2v(0x40d00004)
#define xip_irqpending() (readl(ICIP) & readl(ICMR))
/* we sample OSCR and convert desired delta to usec (1/4 ~= 1000000/3686400) */
#define xip_currtime() readl(OSCR)
#define xip_elapsed_since(x) (signed)((readl(OSCR) - (x)) / 4)
/*
* xip_cpu_idle() is used when waiting for a delay equal or larger than
* the system timer tick period. This should put the CPU into idle mode
* to save power and to be woken up only when some interrupts are pending.
* As above, this should not rely upon standard kernel code.
*/
#define xip_cpu_idle() asm volatile ("mcr p14, 0, %0, c7, c0, 0" :: "r" (1))
#endif /* __ARCH_PXA_MTD_XIP_H__ */