instruction
stringlengths
82
202
input
stringclasses
1 value
output
stringlengths
73
23.9M
Linux kernel'inde 'arch/arm/include/debug/tegra' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2010,2011 Google, Inc. * Copyright (C) 2011-2012 NVIDIA CORPORATION. All Rights Reserved. * * Author: * Colin Cross <ccross@google.com> * Erik Gilling <konkers@google.com> * Doug Anderson <dianders@chromium.org> * Stephen Warren <swarren...
Linux kernel'inde 'arch/arm/include/debug/s5pv210' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. * http://www.samsung.com */ /* pull in the relevant register and map files. */ #define S3C_ADDR_BASE 0xF6000000 #define S3C_VA_UART S3C_ADDR_BASE + 0x01000000 #define S5PV210_PA_UART 0xe2900000 /*...
Linux kernel'inde 'arch/arm/include/debug/msm' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * * Copyright (C) 2007 Google, Inc. * Copyright (c) 2011, Code Aurora Forum. All rights reserved. * Author: Brian Swetland <swetland@google.com> */ .macro addruart, rp, rv, tmp ldr \rp, =CONFIG_DEBUG_UART_PHYS ldr \rv, =CONFIG_DEBUG_UART_VIRT .endm ...
Linux kernel'inde 'arch/arm/include/debug/icedcc' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/debug/icedcc.S * * Copyright (C) 1994-1999 Russell King */ @@ debug using ARM EmbeddedICE DCC channel .macro addruart, rp, rv, tmp .endm #if defined(CONFIG_CPU_V6) || defined(CONFIG_CPU_V6K) || defined(CONFIG_CPU_V7) .macro ...
Linux kernel'inde 'arch/arm/include/debug/exynos' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. * http://www.samsung.com */ /* pull in the relevant register and map files. */ #define S3C_ADDR_BASE 0xF6000000 #define S3C_VA_UART S3C_ADDR_BASE + 0x01000000 #define EXYNOS4_PA_UART 0x13800000 #define ...
Linux kernel'inde 'arch/arm/include/debug/stm32' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) STMicroelectronics SA 2017 - All Rights Reserved * Author: Gerald Baeza <gerald.baeza@st.com> for STMicroelectronics. */ #ifdef CONFIG_STM32F4_DEBUG_UART #define STM32_USART_SR_OFF 0x00 #define STM32_USART_TDR_OFF 0x04 #endif #if defined(CON...
Linux kernel'inde 'arch/arm/include/debug/samsung' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright 2005, 2007 Simtec Electronics * http://armlinux.simtec.co.uk/ * Ben Dooks <ben@simtec.co.uk> */ #include <linux/serial_s3c.h> /* The S5PV210/S5PC110 implementations are as belows. */ .macro fifo_level_s5pv210 rd, rx ldr \rd, [\rx, # S3C2410_UFS...
Linux kernel'inde 'arch/arm/include/debug/dc21285' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* arch/arm/mach-footbridge/include/mach/debug-macro.S * * Debugging macro include header * * Copyright (C) 1994-1999 Russell King * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks */ #include <asm/hardware/dec21285.h> #include <mach/hardware.h> /*...
Linux kernel'inde 'arch/arm/include/debug/meson' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2014 Carlo Caione * Carlo Caione <carlo@caione.org> */ #define MESON_AO_UART_WFIFO 0x0 #define MESON_AO_UART_STATUS 0xc #define MESON_AO_UART_TX_FIFO_EMPTY (1 << 22) #define MESON_AO_UART_TX_FIFO_FULL (1 << 21) .macro addruart, rp, rv, ...
Linux kernel'inde 'arch/arm/include/debug/palmchip' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ #include <linux/serial_reg.h> #undef UART_TX #undef UART_LSR #undef UART_MSR #define UART_TX 1 #define UART_LSR 7 #define UART_MSR 8 #include <debug/8250.S> ```
Linux kernel'inde 'arch/arm/include/debug/pl01x' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* arch/arm/include/debug/pl01x.S * * Debugging macro include header * * Copyright (C) 1994-1999 Russell King * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks */ #include <linux/amba/serial.h> #ifdef CONFIG_DEBUG_UART_PHYS .macro addruart, rp, rv,...
Linux işletim sistemi çekirdeği için 'arch/arm/include/debug/imx-uart' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2012-2015 Freescale Semiconductor, Inc. */ #ifndef __DEBUG_IMX_UART_H #define __DEBUG_IMX_UART_H #define IMX1_UART1_BASE_ADDR 0x00206000 #define IMX1_UART2_BASE_ADDR 0x00207000 #define IMX1_UART_BASE_ADDR(n) IMX1_UART##n##_BASE_ADDR #define IMX1_UA...
Linux kernel'inde 'arch/arm/include/debug/omap2plus' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Debugging macro include header * * Copyright (C) 1994-1999 Russell King * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks */ #include <linux/serial_reg.h> /* External port on Zoom2/3 */ #define ZOOM_UART_BASE 0x10000000 #define ZOOM_UART_VIRT ...
Linux kernel'inde 'arch/arm/include/debug/vt8500' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Debugging macro include header * * Copyright (C) 2010 Alexey Charkov <alchark@gmail.com> * Moved from arch/arm/mach-vt8500/include/mach/debug-macro.S * Minor changes for readability. */ #define DEBUG_LL_PHYS_BASE 0xD8000000 #define DEBUG_LL_VI...
Linux kernel'inde 'arch/arm/include/debug/sa1100' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* arch/arm/include/debug/sa1100.S * * Debugging macro include header * * Copyright (C) 1994-1999 Russell King * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks */ #define UTCR3 0x0c #define UTDR 0x14 #define UTSR1 0x20 #define UTCR3_TXE 0x0000000...
Linux kernel'inde 'arch/arm/include/debug/asm9260' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* Debugging macro include header * * Copyright (C) 1994-1999 Russell King * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks * Modified for ASM9260 by Oleksij Remepl <linux@rempel-privat.de> */ .macro addruart, rp, rv, tmp ldr \rp, = CONFIG_DEBU...
Linux kernel'inde 'arch/arm/include/debug/sti' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/debug/sti.S * * Debugging macro include header * Copyright (C) 2013 STMicroelectronics (R&D) Limited. */ #define ASC_TX_BUF_OFF 0x04 #define ASC_CTRL_OFF 0x0c #define ASC_STA_OFF 0x14 #define ASC_STA_TX_FULL (1<<9) #def...
Linux kernel'inde 'arch/arm/include/debug/8250' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/debug/8250.S * * Copyright (C) 1994-2013 Russell King */ #include <linux/serial_reg.h> .macro addruart, rp, rv, tmp ldr \rp, =CONFIG_DEBUG_UART_PHYS ldr \rv, =CONFIG_DEBUG_UART_VIRT .endm #ifdef CONFIG_DEBUG_UART_8250_WORD .m...
Linux işletim sistemi çekirdeği için 'arch/arm/include/debug/uncompress' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifdef CONFIG_DEBUG_UNCOMPRESS extern void putc(int c); #else static inline void putc(int c) {} #endif static inline void flush(void) {} static inline void arch_decomp_setup(void) {} ```
Linux kernel'inde 'arch/arm/include/debug/zynq' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Debugging macro include header * * Copyright (C) 2011 Xilinx */ #define UART_CR_OFFSET 0x00 /* Control Register [8:0] */ #define UART_SR_OFFSET 0x2C /* Channel Status [11:0] */ #define UART_FIFO_OFFSET 0x30 /* FIFO [15:0] or [7:0] */ #define UART_S...
Linux kernel'inde 'arch/arm/include/debug/imx' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* arch/arm/mach-imx/include/mach/debug-macro.S * * Debugging macro include header * * Copyright (C) 1994-1999 Russell King * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks */ #include <asm/assembler.h> #include "imx-uart.h" /* * FIXME: This is a...
Linux kernel'inde 'arch/arm/include/debug/renesas-scif' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ /* * Renesas SCIF(A) debugging macro include header * * Based on r8a7790.S * * Copyright (C) 2012-2013 Renesas Electronics Corporation * Copyright (C) 1994-1999 Russell King */ #define SCIF_PHYS CONFIG_DEBUG_UART_PHYS #define SCIF_VIRT ((SCIF_PHYS & 0x00ffffff)...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/ptdump' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (C) 2014 ARM Ltd. */ #ifndef __ASM_PTDUMP_H #define __ASM_PTDUMP_H #ifdef CONFIG_ARM_PTDUMP_CORE #include <linux/mm_types.h> #include <linux/seq_file.h> struct addr_marker { unsigned long start_address; char *name; }; struct ptdump_info { struct mm_struct ...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/therm' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * arch/arm/include/asm/therm.h: Definitions for Dallas Semiconductor * DS1620 thermometer driver (as used in the Rebel.com NetWinder) */ #ifndef __ASM_THERM_H #define __ASM_THERM_H /* ioctl numbers for /dev/therm */ #define CMD_SET_THERMOSTATE 0x53 #define CMD_GET_THE...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/glue-pf' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/glue-pf.h * * Copyright (C) 1997-1999 Russell King * Copyright (C) 2000-2002 Deep Blue Solutions Ltd. */ #ifndef ASM_GLUE_PF_H #define ASM_GLUE_PF_H #include <asm/glue.h> /* * Prefetch Abort Model * ================ * * We have the...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/hugetlb-3level' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/hugetlb-3level.h * * Copyright (C) 2012 ARM Ltd. * * Based on arch/x86/include/asm/hugetlb.h. */ #ifndef _ASM_ARM_HUGETLB_3LEVEL_H #define _ASM_ARM_HUGETLB_3LEVEL_H /* * If our huge pte is non-zero then mark the valid bit. * This allo...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/smp_twd' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASMARM_SMP_TWD_H #define __ASMARM_SMP_TWD_H #define TWD_TIMER_LOAD 0x00 #define TWD_TIMER_COUNTER 0x04 #define TWD_TIMER_CONTROL 0x08 #define TWD_TIMER_INTSTAT 0x0C #define TWD_WDOG_LOAD 0x20 #define TWD_WDOG_COUNTER 0x24 #define TWD_WDOG_CONTROL 0x28 #de...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/kfence' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_ARM_KFENCE_H #define __ASM_ARM_KFENCE_H #include <linux/kfence.h> #include <asm/pgalloc.h> #include <asm/set_memory.h> static inline int split_pmd_page(pmd_t *pmd, unsigned long addr) { int i; unsigned long pfn = PFN_DOWN(__pa(addr)); pte_t *pte = pte_all...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/ptrace' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/ptrace.h * * Copyright (C) 1996-2003 Russell King */ #ifndef __ASM_ARM_PTRACE_H #define __ASM_ARM_PTRACE_H #include <uapi/asm/ptrace.h> #ifndef __ASSEMBLY__ #include <linux/bitfield.h> #include <linux/types.h> struct pt_regs { unsigned...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/memblock' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_ARM_MEMBLOCK_H #define _ASM_ARM_MEMBLOCK_H struct machine_desc; void arm_memblock_init(const struct machine_desc *); phys_addr_t arm_memblock_steal(phys_addr_t size, phys_addr_t align); #endif ```
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/hugetlb' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/hugetlb.h * * Copyright (C) 2012 ARM Ltd. * * Based on arch/x86/include/asm/hugetlb.h */ #ifndef _ASM_ARM_HUGETLB_H #define _ASM_ARM_HUGETLB_H #include <asm/cacheflush.h> #include <asm/page.h> #include <asm/hugetlb-3level.h> #include <as...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/v7m' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Common defines for v7m cpus */ #define V7M_SCS_ICTR IOMEM(0xe000e004) #define V7M_SCS_ICTR_INTLINESNUM_MASK 0x0000000f #define BASEADDR_V7M_SCB IOMEM(0xe000ed00) #define V7M_SCB_CPUID 0x00 #define V7M_SCB_ICSR 0x04 #define V7M_SCB_ICSR_PENDSVSET (1 << 28) ...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/nwflash' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _FLASH_H #define _FLASH_H #define CMD_WRITE_DISABLE 0 #define CMD_WRITE_ENABLE 0x28 #define CMD_WRITE_BASE64K_ENABLE 0x47 #endif /* _FLASH_H */ ```
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/sections' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_ARM_SECTIONS_H #define _ASM_ARM_SECTIONS_H #include <asm-generic/sections.h> extern char _exiprom[]; extern char __idmap_text_start[]; extern char __idmap_text_end[]; extern char __entry_text_start[]; extern char __entry_text_end[]; static inline bool in_entr...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/pgtable-3level-hwdef' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/pgtable-3level-hwdef.h * * Copyright (C) 2011 ARM Ltd. * Author: Catalin Marinas <catalin.marinas@arm.com> */ #ifndef _ASM_PGTABLE_3LEVEL_HWDEF_H #define _ASM_PGTABLE_3LEVEL_HWDEF_H /* * Hardware page table definitions. * * + Level 1/2 ...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/topology' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_ARM_TOPOLOGY_H #define _ASM_ARM_TOPOLOGY_H #ifdef CONFIG_ARM_CPU_TOPOLOGY #include <linux/cpumask.h> #include <linux/arch_topology.h> /* big.LITTLE switcher is incompatible with frequency invariance */ #ifndef CONFIG_BL_SWITCHER /* Replace task scheduler's def...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/opcodes-sec' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * * Copyright (C) 2012 ARM Limited */ #ifndef __ASM_ARM_OPCODES_SEC_H #define __ASM_ARM_OPCODES_SEC_H #include <asm/opcodes.h> #define __SMC(imm4) __inst_arm_thumb32( \ 0xE1600070 | (((imm4) & 0xF) << 0), \ 0xF7F08000 | (((imm4) & 0xF) << 16) \ ) #e...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/bugs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 1995-2003 Russell King */ #ifndef __ASM_BUGS_H #define __ASM_BUGS_H extern void check_writebuffer_bugs(void); #ifdef CONFIG_MMU extern void check_other_bugs(void); #else #define check_other_bugs() do { } while (0) #endif #endif ```
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/simd' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_SIMD_H #define _ASM_SIMD_H #include <linux/cleanup.h> #include <linux/compiler_attributes.h> #include <linux/preempt.h> #include <linux/types.h> #include <asm/neon.h> static __must_check inline bool may_use_simd(void) { return IS_ENABLED(CONFIG_KERNEL_MODE_NE...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/elf' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASMARM_ELF_H #define __ASMARM_ELF_H #include <asm/auxvec.h> #include <asm/hwcap.h> /* * ELF register definitions.. */ #include <asm/ptrace.h> #include <asm/user.h> struct task_struct; typedef unsigned long elf_greg_t; typedef unsigned long elf_freg_t[3]; #def...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/word-at-a-time' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_ARM_WORD_AT_A_TIME_H #define __ASM_ARM_WORD_AT_A_TIME_H #ifndef __ARMEB__ /* * Little-endian word-at-a-time zero byte handling. * Heavily based on the x86 algorithm. */ #include <linux/bitops.h> #include <linux/wordpart.h> struct word_at_a_time { const un...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/secure_cntvoff' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASMARM_ARCH_CNTVOFF_H #define __ASMARM_ARCH_CNTVOFF_H extern void secure_cntvoff_init(void); #endif ```
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/vmlinux.lds' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #include <asm-generic/vmlinux.lds.h> #ifdef CONFIG_HOTPLUG_CPU #define ARM_CPU_DISCARD(x) #define ARM_CPU_KEEP(x) x #else #define ARM_CPU_DISCARD(x) x #define ARM_CPU_KEEP(x) #endif #if (defined(CONFIG_SMP_ON_UP) && !defined(CONFIG_DEBUG_SPINLOCK)) || \ defined(CONFIG_GEN...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/fncpy' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/fncpy.h - helper macros for function body copying * * Copyright (C) 2011 Linaro Limited */ /* * These macros are intended for use when there is a need to copy a low-level * function body into special memory. * * For example, when reconf...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/glue-cache' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/glue-cache.h * * Copyright (C) 1999-2002 Russell King */ #ifndef ASM_GLUE_CACHE_H #define ASM_GLUE_CACHE_H #include <asm/glue.h> /* * Cache Model * =========== */ #undef _CACHE #undef MULTI_CACHE #if defined(CONFIG_CPU_CACHE_V4) # if...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/kexec-internal' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ARM_KEXEC_INTERNAL_H #define _ARM_KEXEC_INTERNAL_H struct kexec_relocate_data { unsigned long kexec_start_address; unsigned long kexec_indirection_page; unsigned long kexec_mach_type; unsigned long kexec_r2; }; #endif ```
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/arch_timer' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASMARM_ARCH_TIMER_H #define __ASMARM_ARCH_TIMER_H #include <asm/barrier.h> #include <asm/errno.h> #include <asm/hwcap.h> #include <linux/clocksource.h> #include <linux/init.h> #include <linux/io-64-nonatomic-lo-hi.h> #include <linux/types.h> #include <clocksource/...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/semihost' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2012 ARM Ltd. * Author: Marc Zyngier <marc.zyngier@arm.com> * * Adapted for ARM and earlycon: * Copyright (C) 2014 Linaro Ltd. * Author: Rob Herring <robh@kernel.org> */ #ifndef _ARM_SEMIHOST_H_ #define _ARM_SEMIHOST_H_ #ifdef CONFIG_THUMB2_KERNEL ...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/dma' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_ARM_DMA_H #define __ASM_ARM_DMA_H /* * This is the maximum virtual address which can be DMA'd from. */ #ifndef CONFIG_ZONE_DMA #define MAX_DMA_ADDRESS 0xffffffffUL #else #define MAX_DMA_ADDRESS ({ \ extern phys_addr_t arm_dma_zone_size; \ arm_dma_zone_size ...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/memory' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/memory.h * * Copyright (C) 2000-2002 Russell King * modification for nommu, Hyok S. Choi, 2004 * * Note: this file should not be included explicitly, include <asm/page.h> * to get access to these definitions. */ #ifndef __ASM_ARM_ME...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/kgdb' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * ARM KGDB support * * Author: Deepak Saxena <dsaxena@mvista.com> * * Copyright (C) 2002 MontaVista Software Inc. * */ #ifndef __ARM_KGDB_H__ #define __ARM_KGDB_H__ #include <linux/ptrace.h> #include <asm/opcodes.h> /* * GDB assumes that we're a user process bei...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/prom' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/prom.h * * Copyright (C) 2009 Canonical Ltd. <jeremy.kerr@canonical.com> */ #ifndef __ASMARM_PROM_H #define __ASMARM_PROM_H #ifdef CONFIG_OF extern const struct machine_desc *setup_machine_fdt(void *dt_virt); extern void __init arm_dt_in...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/signal' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASMARM_SIGNAL_H #define _ASMARM_SIGNAL_H #include <uapi/asm/signal.h> /* Most things should be clean enough to redefine this at will, if care is taken to make libc match. */ #define _NSIG 64 #define _NSIG_BPW 32 #define _NSIG_WORDS (_NSIG / _NSIG_BPW) typede...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/bitrev' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_BITREV_H #define __ASM_BITREV_H static __always_inline __attribute_const__ u32 __arch_bitrev32(u32 x) { __asm__ ("rbit %0, %1" : "=r" (x) : "r" (x)); return x; } static __always_inline __attribute_const__ u16 __arch_bitrev16(u16 x) { return __arch_bitrev32(...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/insn' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_ARM_INSN_H #define __ASM_ARM_INSN_H #include <linux/types.h> /* * Avoid a literal load by emitting a sequence of ADD/LDR instructions with the * appropriate relocations. The combined sequence has a range of -/+ 256 MiB, * which should be sufficient for the ...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/efi' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2015 Linaro Ltd <ard.biesheuvel@linaro.org> */ #ifndef __ASM_ARM_EFI_H #define __ASM_ARM_EFI_H #include <asm/cacheflush.h> #include <asm/cachetype.h> #include <asm/early_ioremap.h> #include <asm/fixmap.h> #include <asm/highmem.h> #include <asm/mach...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/fpu' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2023 SiFive */ #ifndef __ASM_FPU_H #define __ASM_FPU_H #include <asm/neon.h> #define kernel_fpu_available() cpu_has_neon() #define kernel_fpu_begin() kernel_neon_begin() #define kernel_fpu_end() kernel_neon_end() #endif /* ! __ASM_FPU_H */ ```
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/kasan_def' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * arch/arm/include/asm/kasan_def.h * * Copyright (c) 2018 Huawei Technologies Co., Ltd. * * Author: Abbott Liu <liuwenliang@huawei.com> */ #ifndef __ASM_KASAN_DEF_H #define __ASM_KASAN_DEF_H #ifdef CONFIG_KASAN /* * Define KASAN_SHADOW_OFFSET,KASAN_SHADOW_STAR...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/virt' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (c) 2012 Linaro Limited. */ #ifndef VIRT_H #define VIRT_H #include <asm/ptrace.h> /* * Flag indicating that the kernel was not entered in the same mode on every * CPU. The zImage loader stashes this value in an SPSR, so we need an * architectu...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/idmap' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_IDMAP_H #define __ASM_IDMAP_H #include <linux/compiler.h> #include <linux/pgtable.h> /* Tag a function as requiring to be executed via an identity mapping. */ #define __idmap __section(".idmap.text") noinline notrace extern pgd_t *idmap_pgd; void setup_mm_fo...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/pgtable-2level-hwdef' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/pgtable-2level-hwdef.h * * Copyright (C) 1995-2002 Russell King */ #ifndef _ASM_PGTABLE_2LEVEL_HWDEF_H #define _ASM_PGTABLE_2LEVEL_HWDEF_H /* * Hardware page table definitions. * * + Level 1 descriptor (PMD) * - common */ #define P...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/spectre' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ #ifndef __ASM_SPECTRE_H #define __ASM_SPECTRE_H enum { SPECTRE_UNAFFECTED, SPECTRE_MITIGATED, SPECTRE_VULNERABLE, }; enum { __SPECTRE_V2_METHOD_BPIALL, __SPECTRE_V2_METHOD_ICIALLU, __SPECTRE_V2_METHOD_SMC, __SPECTRE_V2_METHOD_HVC, __SPECTRE_V2_METHOD_LOOP8, };...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/seccomp' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ #ifndef _ASM_SECCOMP_H #define _ASM_SECCOMP_H #include <asm-generic/seccomp.h> #define SECCOMP_ARCH_NATIVE AUDIT_ARCH_ARM #define SECCOMP_ARCH_NATIVE_NR NR_syscalls #define SECCOMP_ARCH_NATIVE_NAME "arm" #endif /* _ASM_SECCOMP_H */ ```
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/cacheflush' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/cacheflush.h * * Copyright (C) 1999-2002 Russell King */ #ifndef _ASMARM_CACHEFLUSH_H #define _ASMARM_CACHEFLUSH_H #include <linux/mm.h> #include <asm/glue-cache.h> #include <asm/shmparam.h> #include <asm/cachetype.h> #include <asm/outer...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/fpstate' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/fpstate.h * * Copyright (C) 1995 Russell King */ #ifndef __ASM_ARM_FPSTATE_H #define __ASM_ARM_FPSTATE_H #ifndef __ASSEMBLY__ /* * VFP storage area has: * - FPEXC, FPSCR, FPINST and FPINST2. * - 16 or 32 double precision data regi...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/pgtable-3level-types' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/pgtable-3level-types.h * * Copyright (C) 2011 ARM Ltd. * Author: Catalin Marinas <catalin.marinas@arm.com> */ #ifndef _ASM_PGTABLE_3LEVEL_TYPES_H #define _ASM_PGTABLE_3LEVEL_TYPES_H #include <asm/types.h> typedef u64 pteval_t; typedef u64...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/dcc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright (c) 2010, 2014 The Linux Foundation. All rights reserved. */ #include <asm/barrier.h> static inline u32 __dcc_getstatus(void) { u32 __ret; asm volatile("mrc p14, 0, %0, c0, c1, 0 @ read comms ctrl reg" : "=r" (__ret) : : "cc"); return __ret; } stat...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/sparsemem' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef ASMARM_SPARSEMEM_H #define ASMARM_SPARSEMEM_H #include <asm/page.h> /* * Two definitions are required for sparsemem: * * MAX_PHYSMEM_BITS: The number of physical address bits required * to address the last byte of memory. * * SECTION_SIZE_BITS: The number of...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/irq_work' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_ARM_IRQ_WORK_H #define __ASM_ARM_IRQ_WORK_H #include <asm/smp_plat.h> static inline bool arch_irq_work_has_interrupt(void) { return is_smp(); } #endif /* _ASM_ARM_IRQ_WORK_H */ ```
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/irqflags' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_ARM_IRQFLAGS_H #define __ASM_ARM_IRQFLAGS_H #ifdef __KERNEL__ #include <asm/ptrace.h> /* * CPU interrupt mask handling. */ #ifdef CONFIG_CPU_V7M #define IRQMASK_REG_NAME_R "primask" #define IRQMASK_REG_NAME_W "primask" #define IRQMASK_I_BIT 1 #else #define ...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/tls' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASMARM_TLS_H #define __ASMARM_TLS_H #include <linux/compiler.h> #include <asm/thread_info.h> #ifdef __ASSEMBLY__ #include <asm/asm-offsets.h> .macro switch_tls_none, base, tp, tpuser, tmp1, tmp2 .endm .macro switch_tls_v6k, base, tp, tpuser, tmp1, tmp2 mrc p1...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/tcm' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * * Copyright (C) 2008-2009 ST-Ericsson AB * * Author: Rickard Andersson <rickard.andersson@stericsson.com> * Author: Linus Walleij <linus.walleij@stericsson.com> */ #ifndef __ASMARM_TCM_H #define __ASMARM_TCM_H #ifdef CONFIG_HAVE_TCM #include <linux/compiler....
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/futex' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_ARM_FUTEX_H #define _ASM_ARM_FUTEX_H #ifdef __KERNEL__ #include <linux/futex.h> #include <linux/uaccess.h> #include <asm/errno.h> #define __futex_atomic_ex_table(err_reg) \ "3:\n" \ " .pushsection __ex_table,\"a\"\n" \ " .align 3\n" \ " .long ...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/device' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Arch specific extensions to struct device */ #ifndef ASMARM_DEVICE_H #define ASMARM_DEVICE_H struct dev_archdata { #ifdef CONFIG_ARM_DMA_USE_IOMMU struct dma_iommu_mapping *mapping; #endif unsigned int dma_ops_setup:1; }; struct omap_device; struct pdev_archd...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/uprobes' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2012 Rabin Vincent <rabin at rab.in> */ #ifndef _ASM_UPROBES_H #define _ASM_UPROBES_H #include <asm/probes.h> #include <asm/opcodes.h> typedef u32 uprobe_opcode_t; #define MAX_UINSN_BYTES 4 #define UPROBE_XOL_SLOT_BYTES 64 #define UPROBE_SWBP_A...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/uaccess-asm' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ #ifndef __ASM_UACCESS_ASM_H__ #define __ASM_UACCESS_ASM_H__ #include <asm/asm-offsets.h> #include <asm/domain.h> #include <asm/page.h> #include <asm/thread_info.h> .macro csdb #ifdef CONFIG_THUMB2_KERNEL .inst.w 0xf3af8014 #else .inst 0xe320f014 #endif .endm .ma...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/div64' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_ARM_DIV64 #define __ASM_ARM_DIV64 #include <linux/types.h> #include <asm/compiler.h> /* * The semantics of __div64_32() are: * * uint32_t __div64_32(uint64_t *n, uint32_t base) * { * uint32_t remainder = *n % base; * *n = *n / base; * return remainde...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/set_memory' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 1999-2002 Russell King */ #ifndef _ASMARM_SET_MEMORY_H #define _ASMARM_SET_MEMORY_H #ifdef CONFIG_MMU int set_memory_ro(unsigned long addr, int numpages); int set_memory_rw(unsigned long addr, int numpages); int set_memory_x(unsigned long addr, int...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/vermagic' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_VERMAGIC_H #define _ASM_VERMAGIC_H #include <linux/stringify.h> /* * Add the ARM architecture version to the version magic string */ #define MODULE_ARCH_VERMAGIC_ARMVSN "ARMv" __stringify(__LINUX_ARM_ARCH__) " " /* Add __virt_to_phys patching state as well *...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/stackprotector' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * GCC stack protector support. * * Stack protector works by putting predefined pattern at the start of * the stack frame and verifying that it hasn't been overwritten when * returning from the function. The pattern is called stack canary * and gcc expects it to be d...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/cputype' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_ARM_CPUTYPE_H #define __ASM_ARM_CPUTYPE_H #define CPUID_ID 0 #define CPUID_CACHETYPE 1 #define CPUID_TCM 2 #define CPUID_TLBTYPE 3 #define CPUID_MPUIR 4 #define CPUID_MPIDR 5 #define CPUID_REVIDR 6 #ifdef CONFIG_CPU_V7M #define CPUID_EXT_PFR0 0x40 #define CPUI...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/user' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ARM_USER_H #define _ARM_USER_H #include <asm/page.h> #include <asm/ptrace.h> /* Core file format: The core file is written in such a way that gdb can understand it and provide useful information to the user (under linux we use the 'trad-core' bfd). There are ...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/mpu' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ARM_MPU_H #define __ARM_MPU_H /* MPUIR layout */ #define MPUIR_nU 1 #define MPUIR_DREGION 8 #define MPUIR_IREGION 16 #define MPUIR_DREGION_SZMASK (0xFF << MPUIR_DREGION) #define MPUIR_IREGION_SZMASK (0xFF << MPUIR_IREGION) /* ID_MMFR0 data relevant to MPU */ #d...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/krait-l2-accessors' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASMARM_KRAIT_L2_ACCESSORS_H #define __ASMARM_KRAIT_L2_ACCESSORS_H extern void krait_set_l2_indirect_reg(u32 addr, u32 val); extern u32 krait_get_l2_indirect_reg(u32 addr); #endif ```
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/thread_notify' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/thread_notify.h * * Copyright (C) 2006 Russell King. */ #ifndef ASMARM_THREAD_NOTIFY_H #define ASMARM_THREAD_NOTIFY_H #ifdef __KERNEL__ #ifndef __ASSEMBLY__ #include <linux/notifier.h> #include <asm/thread_info.h> static inline int thr...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/module.lds' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifdef CONFIG_ARM_MODULE_PLTS SECTIONS { .plt : { BYTE(0) } .init.plt : { BYTE(0) } } #endif ```
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/irq' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_ARM_IRQ_H #define __ASM_ARM_IRQ_H #define NR_IRQS_LEGACY 16 #ifndef CONFIG_SPARSE_IRQ #include <mach/irqs.h> #else #define NR_IRQS NR_IRQS_LEGACY #endif #ifndef irq_canonicalize #define irq_canonicalize(i) (i) #endif /* * Use this value to indicate lack of ...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/pgtable-hwdef' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/pgtable-hwdef.h * * Copyright (C) 1995-2002 Russell King */ #ifndef _ASMARM_PGTABLE_HWDEF_H #define _ASMARM_PGTABLE_HWDEF_H #ifdef CONFIG_ARM_LPAE #include <asm/pgtable-3level-hwdef.h> #else #include <asm/pgtable-2level-hwdef.h> #endif #...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/text-patching' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ARM_KERNEL_PATCH_H #define _ARM_KERNEL_PATCH_H void patch_text(void *addr, unsigned int insn); void __patch_text_real(void *addr, unsigned int insn, bool remap); static inline void __patch_text(void *addr, unsigned int insn) { __patch_text_real(addr, insn, true); ...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/tlb' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/tlb.h * * Copyright (C) 2002 Russell King * * Experimentation shows that on a StrongARM, it appears to be faster * to use the "invalidate whole tlb" rather than "invalidate single * tlb" for this. * * This appears true for both th...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/mman' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_MMAN_H__ #define __ASM_MMAN_H__ #include <asm/system_info.h> #include <uapi/asm/mman.h> static inline bool arch_memory_deny_write_exec_supported(void) { return cpu_architecture() >= CPU_ARCH_ARMv6; } #define arch_memory_deny_write_exec_supported arch_memory_d...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/firmware' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2012 Samsung Electronics. * Kyungmin Park <kyungmin.park@samsung.com> * Tomasz Figa <t.figa@samsung.com> */ #ifndef __ASM_ARM_FIRMWARE_H #define __ASM_ARM_FIRMWARE_H #include <linux/bug.h> /* * struct firmware_ops * * A structure to specify a...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/glue-df' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/glue-df.h * * Copyright (C) 1997-1999 Russell King * Copyright (C) 2000-2002 Deep Blue Solutions Ltd. */ #ifndef ASM_GLUE_DF_H #define ASM_GLUE_DF_H #include <asm/glue.h> /* * Data Abort Model * ================ * * We have the fol...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/shmparam' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASMARM_SHMPARAM_H #define _ASMARM_SHMPARAM_H /* * This should be the size of the virtually indexed cache/ways, * or page size, whichever is greater since the cache aliases * every size/ways bytes. */ #define SHMLBA (4 * PAGE_SIZE) /* attach addr a multiple of ...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/tlbflush' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/tlbflush.h * * Copyright (C) 1999-2003 Russell King */ #ifndef _ASMARM_TLBFLUSH_H #define _ASMARM_TLBFLUSH_H #ifndef __ASSEMBLY__ # include <linux/mm_types.h> #endif #ifdef CONFIG_MMU #include <asm/glue.h> #define TLB_V4_U_PAGE (1 << 1...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/atomic' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/atomic.h * * Copyright (C) 1996 Russell King. * Copyright (C) 2002 Deep Blue Solutions Ltd. */ #ifndef __ASM_ARM_ATOMIC_H #define __ASM_ARM_ATOMIC_H #include <linux/compiler.h> #include <linux/prefetch.h> #include <linux/types.h> #inclu...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/pgtable-3level' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/pgtable-3level.h * * Copyright (C) 2011 ARM Ltd. * Author: Catalin Marinas <catalin.marinas@arm.com> */ #ifndef _ASM_PGTABLE_3LEVEL_H #define _ASM_PGTABLE_3LEVEL_H /* * With LPAE, there are 3 levels of page tables. Each level has 512 entr...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/setup' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/include/asm/setup.h * * Copyright (C) 1997-1999 Russell King * * Structure passed to kernel to tell it about the * hardware it's running on. See Documentation/arch/arm/setup.rst * for more info. */ #ifndef __ASMARM_SETUP_H #define __ASMARM_SETUP_...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/cpufeature' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2017 Linaro Ltd. <ard.biesheuvel@linaro.org> */ #ifndef __ASM_CPUFEATURE_H #define __ASM_CPUFEATURE_H #include <linux/log2.h> #include <asm/hwcap.h> /* * Due to the fact that ELF_HWCAP is a 32-bit type on ARM, and given the number * of optional ...
Linux işletim sistemi çekirdeği için 'arch/arm/include/asm/mmu' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ARM_MMU_H #define __ARM_MMU_H #ifdef CONFIG_MMU typedef struct { #ifdef CONFIG_CPU_HAS_ASID atomic64_t id; #else int switch_pending; #endif atomic_t vmalloc_seq; unsigned long sigpage; #ifdef CONFIG_VDSO unsigned long vdso; #endif #ifdef CONFIG_BINFMT_ELF_FD...