instruction
stringlengths
82
202
input
stringclasses
1 value
output
stringlengths
73
23.9M
Linux kernel'inin 'arch/arm/probes/kprobes/checkers-arm' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * arch/arm/probes/kprobes/checkers-arm.c * * Copyright (C) 2014 Huawei Inc. */ #include <linux/kernel.h> #include "../decode.h" #include "../decode-arm.h" #include "checkers.h" static enum probes_insn __kprobes arm_check_stack(probes_opcode_t insn, struct arch_pr...
Linux kernel'inin 'arch/arm/probes/kprobes/test-core' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * arch/arm/kernel/kprobes-test.c * * Copyright (C) 2011 Jon Medhurst <tixy@yxit.co.uk>. */ /* * This file contains test code for ARM kprobes. * * The top level function run_all_tests() executes tests for all of the * supported instruction sets: ARM, 16-bit Thumb...
Linux işletim sistemi çekirdeği için 'arch/arm/probes/kprobes/core' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/kernel/kprobes.h * * Copyright (C) 2011 Jon Medhurst <tixy@yxit.co.uk>. * * Some contents moved here from arch/arm/include/asm/kprobes.h which is * Copyright (C) 2006, 2007 Motorola Inc. */ #ifndef _ARM_KERNEL_KPROBES_H #define _ARM_KERNEL_KPROBES_H...
Linux kernel'inin 'arch/arm/probes/kprobes/core' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * arch/arm/kernel/kprobes.c * * Kprobes on ARM * * Abhishek Sagar <sagar.abhishek@gmail.com> * Copyright (C) 2006, 2007 Motorola Inc. * * Nicolas Pitre <nico@marvell.com> * Copyright (C) 2007 Marvell Ltd. */ #define pr_fmt(fmt) "kprobes: " fmt #include <linux...
Linux kernel'inin 'arch/arm/probes/kprobes/test-thumb' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * arch/arm/probes/kprobes/test-thumb.c * * Copyright (C) 2011 Jon Medhurst <tixy@yxit.co.uk>. */ #include <linux/kernel.h> #include <linux/module.h> #include <asm/opcodes.h> #include <asm/probes.h> #include "test-core.h" #define TEST_ISA "16" #define DONT_TEST_I...
Linux kernel'inin 'arch/arm/probes/kprobes/opt-arm' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Kernel Probes Jump Optimization (Optprobes) * * Copyright (C) IBM Corporation, 2002, 2004 * Copyright (C) Hitachi Ltd., 2012 * Copyright (C) Huawei Inc., 2014 */ #include <linux/kprobes.h> #include <linux/jump_label.h> #include <asm/kprobes.h> #include <asm...
Linux kernel'inin 'arch/arm/probes/kprobes/test-arm' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * arch/arm/kernel/kprobes-test-arm.c * * Copyright (C) 2011 Jon Medhurst <tixy@yxit.co.uk>. */ #include <linux/kernel.h> #include <linux/module.h> #include <asm/system_info.h> #include <asm/opcodes.h> #include <asm/probes.h> #include "test-core.h" #define TEST_IS...
Linux kernel'inin 'arch/arm/probes/kprobes/actions-arm' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * arch/arm/probes/kprobes/actions-arm.c * * Copyright (C) 2006, 2007 Motorola Inc. */ /* * We do not have hardware single-stepping on ARM, This * effort is further complicated by the ARM not having a * "next PC" register. Instructions that change the PC * can't...
Linux kernel'inin 'arch/arm/probes/kprobes/actions-common' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * arch/arm/probes/kprobes/actions-common.c * * Copyright (C) 2011 Jon Medhurst <tixy@yxit.co.uk>. * * Some contents moved here from arch/arm/include/asm/kprobes-arm.c which is * Copyright (C) 2006, 2007 Motorola Inc. */ #include <linux/kernel.h> #include <linux/k...
Linux işletim sistemi çekirdeği için 'arch/arm/probes/kprobes/test-core' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/probes/kprobes/test-core.h * * Copyright (C) 2011 Jon Medhurst <tixy@yxit.co.uk>. */ #define VERBOSE 0 /* Set to '1' for more logging of test cases */ #ifdef CONFIG_THUMB2_KERNEL #define NORMAL_ISA "16" #else #define NORMAL_ISA "32" #endif /* Flags ...
Linux işletim sistemi çekirdeği için 'arch/arm/probes/kprobes/checkers' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/probes/kprobes/checkers.h * * Copyright (C) 2014 Huawei Inc. */ #ifndef _ARM_KERNEL_PROBES_CHECKERS_H #define _ARM_KERNEL_PROBES_CHECKERS_H #include <linux/kernel.h> #include <linux/types.h> #include "../decode.h" extern probes_check_t checker_stack_u...
Linux işletim sistemi çekirdeği için 'arch/arm/probes/uprobes/core' 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 __ARM_KERNEL_UPROBES_H #define __ARM_KERNEL_UPROBES_H enum probes_insn uprobe_decode_ldmstm(probes_opcode_t insn, struct arch_probes_insn *asi, const struct decode_header *d); enu...
Linux kernel'inin 'arch/arm/probes/uprobes/core' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Rabin Vincent <rabin at rab.in> */ #include <linux/kernel.h> #include <linux/stddef.h> #include <linux/errno.h> #include <linux/highmem.h> #include <linux/sched.h> #include <linux/uprobes.h> #include <linux/notifier.h> #include <asm/opcodes.h> #i...
Linux kernel'inin 'arch/arm/probes/uprobes/actions-arm' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Rabin Vincent <rabin at rab.in> */ #include <linux/kernel.h> #include <linux/types.h> #include <linux/stddef.h> #include <linux/wait.h> #include <linux/uprobes.h> #include <linux/module.h> #include "../decode.h" #include "../decode-arm.h" #includ...
Linux kernel'inde 'arch/arm/mach-zynq/headsmp' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2013 Steffen Trumtrar <s.trumtrar@pengutronix.de> * Copyright (c) 2012-2013 Xilinx */ #include <linux/linkage.h> #include <linux/init.h> #include <asm/assembler.h> .arm ENTRY(zynq_secondary_trampoline) ARM_BE8(setend be) @ ensure we are...
Linux kernel'inin 'arch/arm/mach-zynq/platsmp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * This file contains Xilinx specific SMP code, used to start up * the second processor. * * Copyright (C) 2011-2013 Xilinx * * based on linux/arch/arm/mach-realview/platsmp.c * * Copyright (C) 2002 ARM Ltd. */ #include <linux/export.h> #include <linux/jiffies.h...
Linux kernel'inin 'arch/arm/mach-zynq/slcr' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Xilinx SLCR driver * * Copyright (c) 2011-2013 Xilinx Inc. */ #include <linux/io.h> #include <linux/reboot.h> #include <linux/mfd/syscon.h> #include <linux/of_address.h> #include <linux/regmap.h> #include "common.h" /* register offsets */ #define SLCR_UNLOCK_...
Linux kernel'inin 'arch/arm/mach-zynq/pm' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Zynq power management * * Copyright (C) 2012 - 2014 Xilinx * * Sören Brinkmann <soren.brinkmann@xilinx.com> */ #include <linux/io.h> #include <linux/of.h> #include <linux/of_address.h> #include "common.h" /* register offsets */ #define DDRC_CTRL_REG1_OFFS...
Linux kernel'inin 'arch/arm/mach-zynq/common' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * This file contains common code that is intended to be used across * boards so that it's not replicated. * * Copyright (C) 2011 Xilinx */ #include <linux/init.h> #include <linux/io.h> #include <linux/kernel.h> #include <linux/cpumask.h> #include <linux/platform_d...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-zynq/common' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * This file contains common function prototypes to avoid externs * in the c files. * * Copyright (C) 2011 Xilinx */ #ifndef __MACH_ZYNQ_COMMON_H__ #define __MACH_ZYNQ_COMMON_H__ extern int zynq_early_slcr_init(void); extern void zynq_slcr_cpu_stop(int cpu); ex...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-mmp/addr-map' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Common address map definitions */ #ifndef __ASM_MACH_ADDR_MAP_H #define __ASM_MACH_ADDR_MAP_H /* APB - Application Subsystem Peripheral Bus * * NOTE: the DMA controller registers are actually on the AXI fabric #1 * slave port to AHB/APB bridge, due to its c...
Linux kernel'inin 'arch/arm/mach-mmp/platsmp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2019 Lubomir Rintel <lkundrak@v3.sk> */ #include <linux/io.h> #include <asm/smp_scu.h> #include <asm/smp.h> #include "addr-map.h" #define SW_BRANCH_VIRT_ADDR CIU_REG(0x24) static int mmp3_boot_secondary(unsigned int cpu, struct task_struct *idle) ...
Linux kernel'inin 'arch/arm/mach-mmp/mmp3' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Marvell MMP3 aka PXA2128 aka 88AP2128 support * * Copyright (C) 2019 Lubomir Rintel <lkundrak@v3.sk> */ #include <asm/mach/arch.h> #include <asm/hardware/cache-l2x0.h> #include "common.h" static const char *const mmp3_dt_board_compat[] __initconst = { "marvel...
Linux kernel'inin 'arch/arm/mach-mmp/mmp-dt' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mach-mmp/mmp-dt.c * * Copyright (C) 2012 Marvell Technology Group Ltd. * Author: Haojian Zhuang <haojian.zhuang@marvell.com> */ #include <linux/of_clk.h> #include <linux/clocksource.h> #include <asm/mach/arch.h> #include <asm/hardware/cache-taur...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-mmp/regs-timers' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Timers Module */ #ifndef __ASM_MACH_REGS_TIMERS_H #define __ASM_MACH_REGS_TIMERS_H #define TMR_CCR (0x0000) #define TMR_TN_MM(n, m) (0x0004 + ((n) << 3) + (((n) + (m)) << 2)) #define TMR_CR(n) (0x0028 + ((n) << 2)) #define TMR_SR(n) (0x0034 + ((n) << 2)) #def...
Linux kernel'inin 'arch/arm/mach-mmp/time' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mach-mmp/time.c * * Support for clocksource and clockevents * * Copyright (C) 2008 Marvell International Ltd. * All rights reserved. * * 2008-04-11: Jason Chagas <Jason.chagas@marvell.com> * 2008-10-08: Bin Yang <bin.yang@marvell.com> * ...
Linux kernel'inin 'arch/arm/mach-mmp/mmp2-dt' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mach-mmp/mmp2-dt.c * * Copyright (C) 2012 Marvell Technology Group Ltd. * Author: Haojian Zhuang <haojian.zhuang@marvell.com> */ #include <linux/of_clk.h> #include <linux/clocksource.h> #include <asm/mach/arch.h> #include <asm/hardware/cache-tau...
Linux kernel'inin 'arch/arm/mach-mmp/common' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mach-mmp/common.c * * Code common to PXA168 processor lines */ #include <linux/init.h> #include <linux/kernel.h> #include <linux/module.h> #include <asm/page.h> #include <asm/mach/map.h> #include <asm/system_misc.h> #include "addr-map.h" #include...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-mmp/common' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #include <linux/reboot.h> extern void mmp_timer_init(int irq, unsigned long rate); extern void __init mmp_map_io(void); extern void __init mmp2_map_io(void); ```
Linux kernel'inin 'arch/arm/mach-mstar/mstarv7' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Device Tree support for MStar/Sigmastar Armv7 SoCs * * Copyright (c) 2020 thingy.jp * Author: Daniel Palmer <daniel@thingy.jp> */ #include <linux/init.h> #include <asm/mach/arch.h> #include <asm/mach/map.h> #include <linux/of.h> #include <linux/of_address.h> #include ...
Linux kernel'inin 'arch/arm/mach-clps711x/board-dt' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Author: Alexander Shiyan <shc_work@mail.ru>, 2016 */ #include <linux/io.h> #include <linux/of_fdt.h> #include <linux/platform_device.h> #include <linux/random.h> #include <linux/sizes.h> #include <linux/mfd/syscon/clps711x.h> #include <asm/system_info.h> #inc...
Linux kernel'inin 'arch/arm/mach-mediatek/platsmp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * arch/arm/mach-mediatek/platsmp.c * * Copyright (c) 2014 Mediatek Inc. * Author: Shunli Wang <shunli.wang@mediatek.com> * Yingjoe Chen <yingjoe.chen@mediatek.com> */ #include <linux/io.h> #include <linux/memblock.h> #include <linux/of.h> #include <linux/of...
Linux kernel'inin 'arch/arm/mach-mediatek/mediatek' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Device Tree support for Mediatek SoCs * * Copyright (c) 2014 MundoReader S.L. * Author: Matthias Brugger <matthias.bgg@gmail.com> */ #include <linux/init.h> #include <linux/io.h> #include <asm/mach/arch.h> #include <linux/of.h> #include <linux/of_clk.h> #inclu...
Linux kernel'inin 'arch/arm/kernel/stacktrace' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only #include <linux/export.h> #include <linux/kprobes.h> #include <linux/sched.h> #include <linux/sched/debug.h> #include <linux/stacktrace.h> #include <asm/sections.h> #include <asm/stacktrace.h> #include <asm/traps.h> #include "reboot.h" #if defined(CONFIG_FRAME_POINTER) &...
Linux kernel'inde 'arch/arm/kernel/head-nommu' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/kernel/head-nommu.S * * Copyright (C) 1994-2002 Russell King * Copyright (C) 2003-2006 Hyok S. Choi * * Common kernel startup code (non-paged MM) */ #include <linux/linkage.h> #include <linux/init.h> #include <linux/errno.h> #includ...
Linux kernel'inin 'arch/arm/kernel/opcodes' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/kernel/opcodes.c * * A32 condition code lookup feature moved from nwfpe/fpopcode.c */ #include <linux/module.h> #include <asm/opcodes.h> #define ARM_OPCODE_CONDITION_UNCOND 0xf /* * condition code lookup table * index into the table is test co...
Linux kernel'inin 'arch/arm/kernel/cacheinfo' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * ARM cacheinfo support * * Copyright (C) 2023 Linaro Ltd. * Copyright (C) 2015 ARM Ltd. * All Rights Reserved */ #include <linux/bitfield.h> #include <linux/cacheinfo.h> #include <linux/of.h> #include <asm/cachetype.h> #include <asm/cputype.h> #include <asm/...
Linux kernel'inin 'arch/arm/kernel/vmcore_info' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only #include <linux/vmcore_info.h> void arch_crash_save_vmcoreinfo(void) { #ifdef CONFIG_ARM_LPAE VMCOREINFO_CONFIG(ARM_LPAE); #endif } ```
Linux kernel'inin 'arch/arm/kernel/irq' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/kernel/irq.c * * Copyright (C) 1992 Linus Torvalds * Modifications for ARM processor Copyright (C) 1995-2000 Russell King. * * Support for Dynamic Tick Timer Copyright (C) 2004-2005 Nokia Corporation. * Dynamic Tick Timer written by Tony Lind...
Linux kernel'inin 'arch/arm/kernel/hw_breakpoint' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * * Copyright (C) 2009, 2010 ARM Limited * * Author: Will Deacon <will.deacon@arm.com> */ /* * HW_breakpoint: a unified kernel/user-space hardware breakpoint facility, * using the CPU's debug registers. */ #define pr_fmt(fmt) "hw-breakpoint: " fmt #include <lin...
Linux kernel'inin 'arch/arm/kernel/atags_compat' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/kernel/atags_compat.c * * Copyright (C) 2001 Russell King * * We keep the old params compatibility cruft in one place (here) * so we don't end up with lots of mess around other places. * * NOTE: * The old struct param_struct is deprecated, bu...
Linux kernel'inin 'arch/arm/kernel/isa' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * linux/arch/arm/kernel/isa.c * * Copyright (C) 1999 Phil Blundell * * ISA shared memory and I/O port support, and is required to support * iopl, inb, outb and friends in userspace via glibc emulation. */ #include <linux/stddef.h> #include <linux/types.h> ...
Linux kernel'inin 'arch/arm/kernel/spectre' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only #include <linux/bpf.h> #include <linux/cpu.h> #include <linux/device.h> #include <asm/spectre.h> static bool _unprivileged_ebpf_enabled(void) { #ifdef CONFIG_BPF_SYSCALL return !sysctl_unprivileged_bpf_disabled; #else return false; #endif } ssize_t cpu_show_spectre_v1(...
Linux kernel'inin 'arch/arm/kernel/suspend' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/ftrace.h> #include <linux/init.h> #include <linux/slab.h> #include <linux/mm_types.h> #include <linux/pgtable.h> #include <asm/bugs.h> #include <asm/cacheflush.h> #include <asm/idmap.h> #include <asm/page.h> #include <asm/smp_plat.h> #include <asm/suspend.h> #in...
Linux kernel'inin 'arch/arm/kernel/reboot' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 1996-2000 Russell King - Converted to ARM. * Original Copyright (C) 1995 Linus Torvalds */ #include <linux/cpu.h> #include <linux/delay.h> #include <linux/reboot.h> #include <asm/cacheflush.h> #include <asm/idmap.h> #include <asm/virt.h> #include <...
Linux kernel'inde 'arch/arm/kernel/vmlinux.lds' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ /* ld script to make ARM Linux kernel * taken from the i386 version by Russell King * Written by Martin Mares <mj@atrey.karlin.mff.cuni.cz> */ #ifdef CONFIG_XIP_KERNEL #include "vmlinux-xip.lds.S" #else #include <linux/pgtable.h> #include <asm/vmlinux.lds.h> #incl...
Linux kernel'inin 'arch/arm/kernel/tcm' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2008-2009 ST-Ericsson AB * TCM memory handling for ARM systems * * Author: Linus Walleij <linus.walleij@stericsson.com> * Author: Rickard Andersson <rickard.andersson@stericsson.com> */ #include <linux/init.h> #include <linux/kernel.h> #include <lin...
Linux işletim sistemi çekirdeği için 'arch/arm/kernel/signal' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c #include <asm/ucontext.h> struct sigframe { struct ucontext uc; unsigned long retcode[4]; }; struct rt_sigframe { struct siginfo info; struct sigframe sig; }; extern struct page *get_signal_page(void); ```
Linux kernel'inin 'arch/arm/kernel/crash_dump' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * arch/arm/kernel/crash_dump.c * * Copyright (C) 2010 Nokia Corporation. * Author: Mika Westerberg * * This code is taken from arch/x86/kernel/crash_dump_64.c * Created by: Hariprasad Nellitheertha (hari@in.ibm.com) * Copyright (C) IBM Corporation, 2004. All ...
Linux kernel'inin 'arch/arm/kernel/insn' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/bug.h> #include <linux/kernel.h> #include <asm/opcodes.h> static unsigned long __arm_gen_branch_thumb2(unsigned long pc, unsigned long addr, bool link, bool warn) { unsigned long s, j1, j2, i1, i2, imm10, imm11; unsigned long first, second;...
Linux kernel'inin 'arch/arm/kernel/head-inflate-data' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * XIP kernel .data segment decompressor * * Created by: Nicolas Pitre, August 2017 * Copyright: (C) 2017 Linaro Limited */ #include <linux/init.h> #include <linux/zutil.h> #include "head.h" /* for struct inflate_state */ #include "../../../lib/zlib_inflate/inftre...
Linux kernel'inin 'arch/arm/kernel/asm-offsets' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 1995-2003 Russell King * 2001-2002 Keith Owens * * Generate definitions needed by assembly language modules. * This code generates raw asm output which is post-processed to extract * and format the required data. */ #define COMPI...
Linux kernel'inin 'arch/arm/kernel/hibernate' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Hibernation support specific for ARM * * Derived from work on ARM hibernation support by: * * Ubuntu project, hibernation support for mach-dove * Copyright (C) 2010 Nokia Corporation (Hiroshi Doyu) * Copyright (C) 2010 Texas Instruments, Inc. (Teerth Reddy et al...
Linux kernel'inin 'arch/arm/kernel/return_address' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * arch/arm/kernel/return_address.c * * Copyright (C) 2009 Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de> * for Pengutronix */ #include <linux/export.h> #include <linux/ftrace.h> #include <linux/sched.h> #include <asm/stacktrace.h> struct return_address_data { ...
Linux kernel'inin 'arch/arm/kernel/ptrace' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/kernel/ptrace.c * * By Ross Biro 1/23/92 * edited by Linus Torvalds * ARM modifications Copyright (C) 2000 Russell King */ #include <linux/kernel.h> #include <linux/sched/signal.h> #include <linux/sched/task_stack.h> #include <linux/mm.h> #includ...
Linux kernel'inde 'arch/arm/kernel/entry-v7m' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/kernel/entry-v7m.S * * Copyright (C) 2008 ARM Ltd. * * Low-level vector interface routines for the ARMv7-M architecture */ #include <asm/page.h> #include <asm/glue.h> #include <asm/thread_notify.h> #include <asm/v7m.h> #include "entry-he...
Linux kernel'inin 'arch/arm/kernel/perf_callchain' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * ARM callchain support * * Copyright (C) 2009 picoChip Designs, Ltd., Jamie Iles * Copyright (C) 2010 ARM Ltd., Will Deacon <will.deacon@arm.com> * * This code is based on the ARM OProfile backtrace code. */ #include <linux/perf_event.h> #include <linux/uaccess.h> #i...
Linux kernel'inin 'arch/arm/kernel/unwind' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * arch/arm/kernel/unwind.c * * Copyright (C) 2008 ARM Limited * * Stack unwinding support for ARM * * An ARM EABI version of gcc is required to generate the unwind * tables. For information about the structure of the unwind tables, * see "Exception Handling ABI ...
Linux kernel'inde 'arch/arm/kernel/phys2virt' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 1994-2002 Russell King * Copyright (c) 2003, 2020 ARM Limited * All Rights Reserved */ #include <linux/init.h> #include <linux/linkage.h> #include <asm/assembler.h> #include <asm/page.h> #ifdef __ARMEB__ #define LOW_OFFSET 0x4 #define H...
Linux kernel'inin 'arch/arm/kernel/topology' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * arch/arm/kernel/topology.c * * Copyright (C) 2011 Linaro Limited. * Written by: Vincent Guittot * * based on arch/sh/kernel/topology.c * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more de...
Linux kernel'inin 'arch/arm/kernel/psci_smp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * * Copyright (C) 2012 ARM Limited * * Author: Will Deacon <will.deacon@arm.com> */ #include <linux/init.h> #include <linux/smp.h> #include <linux/of.h> #include <linux/delay.h> #include <linux/psci.h> #include <uapi/linux/psci.h> #include <asm/psci.h> #include <...
Linux kernel'inin 'arch/arm/kernel/smp_scu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/kernel/smp_scu.c * * Copyright (C) 2002 ARM Ltd. * All Rights Reserved */ #include <linux/init.h> #include <linux/io.h> #include <asm/smp_plat.h> #include <asm/smp_scu.h> #include <asm/cacheflush.h> #include <asm/cputype.h> #define SCU_CTRL 0x...
Linux kernel'inin 'arch/arm/kernel/kgdb' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * arch/arm/kernel/kgdb.c * * ARM KGDB support * * Copyright (c) 2002-2004 MontaVista Software, Inc * Copyright (c) 2008 Wind River Systems, Inc. * * Authors: George Davis <davis_g@mvista.com> * Deepak Saxena <dsaxena@plexity.net> */ #include <linux/irq.h>...
Linux kernel'inde 'arch/arm/kernel/head' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/kernel/head.S * * Copyright (C) 1994-2002 Russell King * Copyright (c) 2003 ARM Limited * All Rights Reserved * * Kernel startup code for all 32-bit CPUs */ #include <linux/linkage.h> #include <linux/init.h> #include <linux/pgtable...
Linux kernel'inin 'arch/arm/kernel/thumbee' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * arch/arm/kernel/thumbee.c * * Copyright (C) 2008 ARM Limited */ #include <linux/kernel.h> #include <linux/init.h> #include <asm/cputype.h> #include <asm/system_info.h> #include <asm/thread_notify.h> /* * Access to the ThumbEE Handler Base register */ static in...
Linux kernel'inin 'arch/arm/kernel/patch' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/kernel.h> #include <linux/spinlock.h> #include <linux/kprobes.h> #include <linux/mm.h> #include <linux/stop_machine.h> #include <asm/cacheflush.h> #include <asm/fixmap.h> #include <asm/smp_plat.h> #include <asm/opcodes.h> #include <asm/text-patching.h> struct p...
Linux kernel'inin 'arch/arm/kernel/ftrace' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Dynamic function tracing support. * * Copyright (C) 2008 Abhishek Sagar <sagar.abhishek@gmail.com> * Copyright (C) 2010 Rabin Vincent <rabin@rab.in> * * For licencing details, see COPYING. * * Defines low-level handling of mcount calls when the kernel * is compiled with the -pg flag. When using dynam...
Linux işletim sistemi çekirdeği için 'arch/arm/kernel/atags' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ void convert_to_tag_list(struct tag *tags); #ifdef CONFIG_ATAGS const struct machine_desc *setup_machine_tags(void *__atags_vaddr, unsigned int machine_nr); #else static inline const struct machine_desc * __init __noreturn setup_machine_tags(void *__atags_vaddr, unsigned in...
Linux kernel'inin 'arch/arm/kernel/vdso' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Adapted from arm64 version. * * Copyright (C) 2012 ARM Limited * Copyright (C) 2015 Mentor Graphics Corporation. */ #include <linux/cache.h> #include <linux/vdso_datastore.h> #include <linux/elf.h> #include <linux/err.h> #include <linux/kernel.h> #include <linux/...
Linux kernel'inin 'arch/arm/kernel/early_printk' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/kernel/early_printk.c * * Copyright (C) 2009 Sascha Hauer <s.hauer@pengutronix.de> */ #include <linux/kernel.h> #include <linux/console.h> #include <linux/init.h> #include <linux/string.h> extern void printascii(const char *); static void early_...
Linux işletim sistemi çekirdeği için 'arch/arm/kernel/iwmmxt' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __IWMMXT_H__ #define __IWMMXT_H__ .irp b, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 .set .LwR\b, \b .set .Lr\b, \b .endr .set .LwCSSF, 0x2 .set .LwCASF, 0x3 .set .LwCGR0, 0x8 .set .LwCGR1, 0x9 .set .LwCGR2, 0xa .set .LwCGR3, 0xb .macro wldrd, reg:req, b...
Linux kernel'inde 'arch/arm/kernel/debug' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/kernel/debug.S * * Copyright (C) 1994-1999 Russell King * * 32-bit debugging code */ #include <linux/linkage.h> #include <asm/assembler.h> .text /* * Some debugging routines (useful if you've got MM problems and * printk isn't wo...
Linux kernel'inin 'arch/arm/kernel/time' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/kernel/time.c * * Copyright (C) 1991, 1992, 1995 Linus Torvalds * Modifications for ARM (C) 1994-2001 Russell King * * This file contains the ARM-specific time handling details: * reading the RTC at bootup, etc... */ #include <linux/clockch...
Linux kernel'inin 'arch/arm/kernel/signal' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/kernel/signal.c * * Copyright (C) 1995-2009 Russell King */ #include <linux/errno.h> #include <linux/random.h> #include <linux/signal.h> #include <linux/personality.h> #include <linux/uaccess.h> #include <linux/resume_user_mode.h> #include <linux/u...
Linux kernel'inin 'arch/arm/kernel/armksyms' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/kernel/armksyms.c * * Copyright (C) 2000 Russell King */ #include <linux/export.h> #include <linux/sched.h> #include <linux/string.h> #include <linux/delay.h> #include <linux/in6.h> #include <linux/syscalls.h> #include <linux/uaccess.h> #include <l...
Linux kernel'inde 'arch/arm/kernel/fiqasm' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* * linux/arch/arm/kernel/fiqasm.S * * Derived from code originally in linux/arch/arm/kernel/fiq.c: * * Copyright (C) 1998 Russell King * Copyright (C) 1998, 1999 Phil Blundell * Copyright (C) 2011, Linaro Limited * * FIQ support written by Philip Blundell <philb@gnu.org>, 1998. * * FIQ s...
Linux kernel'inde 'arch/arm/kernel/head-common' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/kernel/head-common.S * * Copyright (C) 1994-2002 Russell King * Copyright (c) 2003 ARM Limited * All Rights Reserved */ #include <asm/assembler.h> #define ATAG_CORE 0x54410001 #define ATAG_CORE_SIZE ((2*4 + 3*4) >> 2) #define ATAG_CO...
Linux işletim sistemi çekirdeği için 'arch/arm/kernel/reboot' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef REBOOT_H #define REBOOT_H extern void call_with_stack(void (*fn)(void *), void *arg, void *sp); extern void _soft_restart(unsigned long addr, bool disable_l2); #endif ```
Linux kernel'inin 'arch/arm/kernel/swp_emulate' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/kernel/swp_emulate.c * * Copyright (C) 2009 ARM Limited * __user_* functions adapted from include/asm/uaccess.h * * Implements emulation of the SWP/SWPB instructions using load-exclusive and * store-exclusive for processors that have them dis...
Linux kernel'inin 'arch/arm/kernel/module' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/kernel/module.c * * Copyright (C) 2002 Russell King. * Modified for nommu by Hyok S. Choi * * Module allocation method suggested by Andi Kleen. */ #include <linux/module.h> #include <linux/moduleloader.h> #include <linux/kernel.h> #include <lin...
Linux kernel'inin 'arch/arm/kernel/perf_regs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/errno.h> #include <linux/kernel.h> #include <linux/perf_event.h> #include <linux/bug.h> #include <linux/sched/task_stack.h> #include <asm/perf_regs.h> #include <asm/ptrace.h> u64 perf_reg_value(struct pt_regs *regs, int idx) { if (WARN_ON_ONCE((u32)idx >= PERF...
Linux kernel'inde 'arch/arm/kernel/iwmmxt' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/kernel/iwmmxt.S * * XScale iWMMXt (Concan) context switching and handling * * Initial code: * Copyright (c) 2003, Intel Corporation * * Full lazy switching support, optimizations and more, by Nicolas Pitre * Copyright (c) 2003-20...
Linux kernel'inin 'arch/arm/kernel/smp_tlb' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/kernel/smp_tlb.c * * Copyright (C) 2002 ARM Limited, All Rights Reserved. */ #include <linux/preempt.h> #include <linux/smp.h> #include <linux/uaccess.h> #include <asm/smp_plat.h> #include <asm/tlbflush.h> #include <asm/mmu_context.h> /**********...
Linux kernel'inde 'arch/arm/kernel/sleep' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> #include <linux/threads.h> #include <asm/asm-offsets.h> #include <asm/assembler.h> #include <asm/glue-cache.h> #include <asm/glue-proc.h> .text /* * Implementation of MPIDR hash algorithm through shifting * and OR'ing. * * @dst: registe...
Linux kernel'inin 'arch/arm/kernel/cpuidle' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2012 Linaro Ltd. */ #include <linux/cpuidle.h> #include <linux/of.h> #include <asm/cpuidle.h> extern struct of_cpuidle_method __cpuidle_method_of_table[]; static const struct of_cpuidle_method __cpuidle_method_of_table_sentinel __used __section("__c...
Linux kernel'inde 'arch/arm/kernel/smccc-call' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2015, Linaro Limited */ #include <linux/linkage.h> #include <linux/arm-smccc.h> #include <asm/asm-offsets.h> #include <asm/opcodes-sec.h> #include <asm/opcodes-virt.h> #include <asm/unwind.h> /* * Wrap c macros in asm macros to delay expa...
Linux kernel'inin 'arch/arm/kernel/sys_oabi-compat' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * arch/arm/kernel/sys_oabi-compat.c * * Compatibility wrappers for syscalls that are used from * old ABI user space binaries with an EABI kernel. * * Author: Nicolas Pitre * Created: Oct 7, 2005 * Copyright: MontaVista Software, Inc. */ #include <asm/sysc...
Linux kernel'inin 'arch/arm/kernel/setup' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/kernel/setup.c * * Copyright (C) 1995-2001 Russell King */ #include <linux/efi.h> #include <linux/export.h> #include <linux/kernel.h> #include <linux/stddef.h> #include <linux/ioport.h> #include <linux/delay.h> #include <linux/utsname.h> #include <...
Linux kernel'inin 'arch/arm/kernel/fiq' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/arm/kernel/fiq.c * * Copyright (C) 1998 Russell King * Copyright (C) 1998, 1999 Phil Blundell * * FIQ support written by Philip Blundell <philb@gnu.org>, 1998. * * FIQ support re-written by Russell King to be more generic * * We now properly suppor...
Linux kernel'inin 'arch/arm/kernel/smp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/kernel/smp.c * * Copyright (C) 2002 ARM Limited, All Rights Reserved. */ #include <linux/module.h> #include <linux/delay.h> #include <linux/init.h> #include <linux/spinlock.h> #include <linux/sched/mm.h> #include <linux/sched/hotplug.h> #include <l...
Linux kernel'inde 'arch/arm/kernel/sigreturn_codes' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * sigreturn_codes.S - code sinpets for sigreturn syscalls * * Created by: Victor Kamensky, 2013-08-13 * Copyright: (C) 2013 Linaro Limited */ #include <asm/assembler.h> #include <asm/asm-offsets.h> #include <asm/unistd.h> /* * For ARM syscalls, we enco...
Linux kernel'inin 'arch/arm/kernel/smp_twd' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/kernel/smp_twd.c * * Copyright (C) 2002 ARM Ltd. * All Rights Reserved */ #include <linux/init.h> #include <linux/kernel.h> #include <linux/clk.h> #include <linux/cpu.h> #include <linux/delay.h> #include <linux/device.h> #include <linux/err.h> #i...
Linux kernel'inin 'arch/arm/kernel/xscale-cp0' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/kernel/xscale-cp0.c * * XScale DSP and iWMMXt coprocessor context switching and handling */ #include <linux/types.h> #include <linux/kernel.h> #include <linux/signal.h> #include <linux/sched.h> #include <linux/init.h> #include <linux/io.h> #include ...
Linux kernel'inin 'arch/arm/kernel/dma' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/kernel/dma.c * * Copyright (C) 1995-2000 Russell King * * Front-end to the DMA handling. This handles the allocation/freeing * of DMA channels, and provides a unified interface to the machines * DMA facilities. */ #include <linux/module.h> ...
Linux kernel'inin 'arch/arm/kernel/sys_arm' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/kernel/sys_arm.c * * Copyright (C) People who wrote linux/arch/i386/kernel/sys_i386.c * Copyright (C) 1995, 1996 Russell King. * * This file contains various random system calls that * have a non-standard calling sequence on the Linux/arm * ...
Linux kernel'inin 'arch/arm/kernel/devtree' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/kernel/devtree.c * * Copyright (C) 2009 Canonical Ltd. <jeremy.kerr@canonical.com> */ #include <linux/init.h> #include <linux/export.h> #include <linux/errno.h> #include <linux/types.h> #include <linux/memblock.h> #include <linux/of.h> #include <l...
Linux kernel'inde 'arch/arm/kernel/entry-header' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ #include <linux/init.h> #include <linux/linkage.h> #include <asm/assembler.h> #include <asm/asm-offsets.h> #include <asm/errno.h> #include <asm/thread_info.h> #include <asm/uaccess-asm.h> #include <asm/v7m.h> @ Bad Abort numbers @ ----------------- @ #define BAD_PREF...
Linux kernel'inin 'arch/arm/kernel/machine_kexec' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * machine_kexec.c - handle transition of Linux booting another kernel */ #include <linux/mm.h> #include <linux/kexec.h> #include <linux/delay.h> #include <linux/reboot.h> #include <linux/io.h> #include <linux/irq.h> #include <linux/memblock.h> #include <linux/of_fdt.h> #in...
Linux kernel'inin 'arch/arm/kernel/bugs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/init.h> #include <linux/cpu.h> #include <asm/bugs.h> #include <asm/proc-fns.h> void check_other_bugs(void) { #ifdef MULTI_CPU if (cpu_check_bugs) cpu_check_bugs(); #endif } void __init arch_cpu_finalize_init(void) { check_writebuffer_bugs(); check_other_bu...
Linux kernel'inin 'arch/arm/kernel/elf' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/export.h> #include <linux/sched.h> #include <linux/personality.h> #include <linux/binfmts.h> #include <linux/elf.h> #include <linux/elf-fdpic.h> #include <asm/system_info.h> int elf_check_arch(const struct elf32_hdr *x) { unsigned int eflags; /* Make sure it'...