instruction
stringlengths
82
202
input
stringclasses
1 value
output
stringlengths
73
23.9M
Linux kernel'inin 'arch/arm64/kvm/hypercalls' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 // Copyright (C) 2019 Arm Ltd. #include <linux/arm-smccc.h> #include <linux/kvm_host.h> #include <asm/kvm_emulate.h> #include <kvm/arm_hypercalls.h> #include <kvm/arm_psci.h> #define KVM_ARM_SMCCC_STD_FEATURES \ GENMASK(KVM_REG_ARM_STD_BMAP_BIT_COUNT - 1, 0) #define KVM_...
Linux kernel'inin 'arch/arm64/kvm/emulate-nested' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2016 - Linaro and Columbia University * Author: Jintack Lim <jintack.lim@linaro.org> */ #include <linux/kvm.h> #include <linux/kvm_host.h> #include <asm/kvm_emulate.h> #include <asm/kvm_nested.h> #include "hyp/include/hyp/adjust_pc.h" #include "tra...
Linux kernel'inin 'arch/arm64/kvm/ptdump' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Debug helper used to dump the stage-2 pagetables of the system and their * associated permissions. * * Copyright (C) Google, 2024 * Author: Sebastian Ene <sebastianene@google.com> */ #include <linux/debugfs.h> #include <linux/kvm_host.h> #include <linux/seq_file....
Linux kernel'inin 'arch/arm64/kvm/config' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2025 Google LLC * Author: Marc Zyngier <maz@kernel.org> */ #include <linux/kvm_host.h> #include <asm/kvm_emulate.h> #include <asm/kvm_nested.h> #include <asm/sysreg.h> /* * Describes the dependencies between a set of bits (or the negation * of a se...
Linux kernel'inin 'arch/arm64/kvm/arch_timer' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 ARM Ltd. * Author: Marc Zyngier <marc.zyngier@arm.com> */ #include <linux/cpu.h> #include <linux/kvm.h> #include <linux/kvm_host.h> #include <linux/interrupt.h> #include <linux/irq.h> #include <linux/irqdomain.h> #include <linux/uaccess.h> #incl...
Linux işletim sistemi çekirdeği için 'arch/arm64/kvm/vgic/vgic-mmio' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2015, 2016 ARM Ltd. */ #ifndef __KVM_ARM_VGIC_MMIO_H__ #define __KVM_ARM_VGIC_MMIO_H__ struct vgic_register_region { unsigned int reg_offset; unsigned int len; unsigned int bits_per_irq; unsigned int access_flags; union { unsigned long (*read...
Linux kernel'inin 'arch/arm64/kvm/vgic/vgic-mmio-v2' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * VGICv2 MMIO handling functions */ #include <linux/irqchip/arm-gic.h> #include <linux/kvm.h> #include <linux/kvm_host.h> #include <linux/nospec.h> #include <kvm/iodev.h> #include <kvm/arm_vgic.h> #include "vgic.h" #include "vgic-mmio.h" /* * The Revision field in...
Linux kernel'inin 'arch/arm64/kvm/vgic/vgic-v3-nested' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only #include <linux/cpu.h> #include <linux/kvm.h> #include <linux/kvm_host.h> #include <linux/interrupt.h> #include <linux/io.h> #include <linux/uaccess.h> #include <kvm/arm_vgic.h> #include <asm/kvm_arm.h> #include <asm/kvm_emulate.h> #include <asm/kvm_nested.h> #include "...
Linux kernel'inin 'arch/arm64/kvm/vgic/vgic-irqfd' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2015, 2016 ARM Ltd. */ #include <linux/kvm.h> #include <linux/kvm_host.h> #include <trace/events/kvm.h> #include <kvm/arm_vgic.h> #include "vgic.h" /* * vgic_irqfd_set_irq: inject the IRQ corresponding to the * irqchip routing entry * * This is th...
Linux kernel'inin 'arch/arm64/kvm/vgic/vgic-debug' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2016 Linaro * Author: Christoffer Dall <christoffer.dall@linaro.org> */ #include <linux/cpu.h> #include <linux/debugfs.h> #include <linux/interrupt.h> #include <linux/kvm_host.h> #include <linux/seq_file.h> #include <kvm/arm_vgic.h> #include <asm/kvm_...
Linux kernel'inin 'arch/arm64/kvm/vgic/vgic-mmio' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * VGIC MMIO handling functions */ #include <linux/bitops.h> #include <linux/bsearch.h> #include <linux/interrupt.h> #include <linux/irq.h> #include <linux/kvm.h> #include <linux/kvm_host.h> #include <kvm/iodev.h> #include <kvm/arm_arch_timer.h> #include <kvm/arm_vgic....
Linux kernel'inin 'arch/arm64/kvm/vgic/vgic-v5' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2025, 2026 Arm Ltd. */ #include <kvm/arm_vgic.h> #include <linux/bitops.h> #include <linux/irqchip/arm-vgic-info.h> #include "vgic.h" static struct vgic_v5_ppi_caps ppi_caps; /* * Not all PPIs are guaranteed to be implemented for GICv5. Deterermin...
Linux işletim sistemi çekirdeği için 'arch/arm64/kvm/vgic/vgic' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2015, 2016 ARM Ltd. */ #ifndef __KVM_ARM_VGIC_NEW_H__ #define __KVM_ARM_VGIC_NEW_H__ #include <linux/irqchip/arm-gic-common.h> #include <asm/kvm_mmu.h> #define PRODUCT_ID_KVM 0x4b /* ASCII code K */ #define IMPLEMENTER_ARM 0x43b #define VGIC_ADD...
Linux işletim sistemi çekirdeği için 'arch/arm64/kvm/vgic/trace' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #if !defined(_TRACE_VGIC_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_VGIC_H #include <linux/tracepoint.h> #undef TRACE_SYSTEM #define TRACE_SYSTEM kvm TRACE_EVENT(vgic_update_irq_pending, TP_PROTO(unsigned long vcpu_id, __u32 irq, bool level), TP_ARGS(vcpu_id, ...
Linux kernel'inin 'arch/arm64/kvm/vgic/vgic-v3' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only #include <linux/irqchip/arm-gic-v3.h> #include <linux/irq.h> #include <linux/irqdomain.h> #include <linux/kstrtox.h> #include <linux/kvm.h> #include <linux/kvm_host.h> #include <linux/string_choices.h> #include <kvm/arm_vgic.h> #include <asm/kvm_hyp.h> #include <asm/kvm_mm...
Linux kernel'inin 'arch/arm64/kvm/vgic/vgic-v2' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2015, 2016 ARM Ltd. */ #include <linux/irqchip/arm-gic.h> #include <linux/kvm.h> #include <linux/kvm_host.h> #include <kvm/arm_vgic.h> #include <asm/kvm_mmu.h> #include "vgic-mmio.h" #include "vgic.h" static inline void vgic_v2_write_lr(int lr, u32 v...
Linux kernel'inin 'arch/arm64/kvm/vgic/vgic' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2015, 2016 ARM Ltd. */ #include <linux/interrupt.h> #include <linux/irq.h> #include <linux/kvm.h> #include <linux/kvm_host.h> #include <linux/list_sort.h> #include <linux/nospec.h> #include <asm/kvm_hyp.h> #include "vgic.h" #define CREATE_TRACE_POIN...
Linux kernel'inin 'arch/arm64/kvm/vgic/vgic-init' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2015, 2016 ARM Ltd. */ #include <linux/uaccess.h> #include <linux/interrupt.h> #include <linux/cpu.h> #include <linux/kvm_host.h> #include <kvm/arm_vgic.h> #include <asm/kvm_emulate.h> #include <asm/kvm_mmu.h> #include "vgic.h" /* * Initialization ru...
Linux kernel'inin 'arch/arm64/kvm/vgic/vgic-kvm-device' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * VGIC: KVM DEVICE API * * Copyright (C) 2015 ARM Ltd. * Author: Marc Zyngier <marc.zyngier@arm.com> */ #include <linux/irqchip/arm-gic-v3.h> #include <linux/kvm_host.h> #include <kvm/arm_vgic.h> #include <linux/uaccess.h> #include <asm/kvm_mmu.h> #include <asm/cput...
Linux kernel'inin 'arch/arm64/kvm/vgic/vgic-its' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * GICv3 ITS emulation * * Copyright (C) 2015,2016 ARM Ltd. * Author: Andre Przywara <andre.przywara@arm.com> */ #include <linux/cpu.h> #include <linux/kvm.h> #include <linux/kvm_host.h> #include <linux/interrupt.h> #include <linux/list.h> #include <linux/uaccess.h>...
Linux kernel'inin 'arch/arm64/kvm/vgic/vgic-mmio-v3' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * VGICv3 MMIO handling functions */ #include <linux/bitfield.h> #include <linux/irqchip/arm-gic-v3.h> #include <linux/kvm.h> #include <linux/kvm_host.h> #include <linux/interrupt.h> #include <kvm/iodev.h> #include <kvm/arm_vgic.h> #include <asm/kvm_emulate.h> #includ...
Linux kernel'inin 'arch/arm64/kvm/vgic/vgic-v4' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2017 ARM Ltd. * Author: Marc Zyngier <marc.zyngier@arm.com> */ #include <linux/interrupt.h> #include <linux/irq.h> #include <linux/irqdomain.h> #include <linux/kvm_host.h> #include <linux/irqchip/arm-gic-v3.h> #include "vgic.h" /* * How KVM uses GI...
Linux kernel'inde 'arch/arm64/kvm/hyp/entry' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2015 - ARM Ltd * Author: Marc Zyngier <marc.zyngier@arm.com> */ #include <linux/linkage.h> #include <asm/alternative.h> #include <asm/assembler.h> #include <asm/fpsimdmacros.h> #include <asm/kvm.h> #include <asm/kvm_arm.h> #include <asm/kvm...
Linux kernel'inde 'arch/arm64/kvm/hyp/hyp-entry' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2015-2018 - ARM Ltd * Author: Marc Zyngier <marc.zyngier@arm.com> */ #include <linux/arm-smccc.h> #include <linux/linkage.h> #include <asm/alternative.h> #include <asm/assembler.h> #include <asm/cpufeature.h> #include <asm/kvm_arm.h> #inclu...
Linux kernel'inin 'arch/arm64/kvm/hyp/vgic-v5-sr' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2025, 2026 - Arm Ltd */ #include <linux/irqchip/arm-gic-v5.h> #include <asm/kvm_hyp.h> void __vgic_v5_save_apr(struct vgic_v5_cpu_if *cpu_if) { cpu_if->vgic_apr = read_sysreg_s(SYS_ICH_APR_EL2); } static void __vgic_v5_compat_mode_disable(void) { ...
Linux kernel'inin 'arch/arm64/kvm/hyp/vgic-v2-cpuif-proxy' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012-2015 - ARM Ltd * Author: Marc Zyngier <marc.zyngier@arm.com> */ #include <hyp/adjust_pc.h> #include <linux/compiler.h> #include <linux/irqchip/arm-gic.h> #include <linux/kvm_host.h> #include <linux/swab.h> #include <asm/kvm_emulate.h> #include ...
Linux kernel'inin 'arch/arm64/kvm/hyp/hyp-constants' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only #include <linux/kbuild.h> #include <nvhe/memory.h> #include <nvhe/pkvm.h> int main(void) { DEFINE(STRUCT_HYP_PAGE_SIZE, sizeof(struct hyp_page)); DEFINE(PKVM_HYP_VM_SIZE, sizeof(struct pkvm_hyp_vm)); DEFINE(PKVM_HYP_VCPU_SIZE, sizeof(struct pkvm_hyp_vcpu)); return 0; ...
Linux kernel'inde 'arch/arm64/kvm/hyp/fpsimd' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2015 - ARM Ltd * Author: Marc Zyngier <marc.zyngier@arm.com> */ #include <linux/linkage.h> #include <asm/fpsimdmacros.h> .text SYM_FUNC_START(__fpsimd_save_state) fpsimd_save x0, 1 ret SYM_FUNC_END(__fpsimd_save_state) SYM_FUNC_START(...
Linux kernel'inin 'arch/arm64/kvm/hyp/exception' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Fault injection for both 32 and 64bit guests. * * Copyright (C) 2012,2013 - ARM Ltd * Author: Marc Zyngier <marc.zyngier@arm.com> * * Based on arch/arm/kvm/emulate.c * Copyright (C) 2012 - Virtual Open Systems and Columbia University * Author: Christoffer Dall ...
Linux kernel'inin 'arch/arm64/kvm/hyp/aarch32' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Hyp portion of the (not much of an) Emulation layer for 32bit guests. * * Copyright (C) 2012,2013 - ARM Ltd * Author: Marc Zyngier <marc.zyngier@arm.com> * * based on arch/arm/kvm/emulate.c * Copyright (C) 2012 - Virtual Open Systems and Columbia University * Author...
Linux kernel'inin 'arch/arm64/kvm/hyp/pgtable' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Stand-alone page-table allocator for hyp stage-1 and guest stage-2. * No bombay mix was harmed in the writing of this file. * * Copyright (C) 2020 Google LLC * Author: Will Deacon <will@kernel.org> */ #include <linux/bitfield.h> #include <asm/kvm_pgtable.h> #inc...
Linux kernel'inin 'arch/arm64/kvm/hyp/vgic-v3-sr' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012-2015 - ARM Ltd * Author: Marc Zyngier <marc.zyngier@arm.com> */ #include <hyp/adjust_pc.h> #include <linux/compiler.h> #include <linux/irqchip/arm-gic-v3.h> #include <linux/kvm_host.h> #include <asm/kvm_emulate.h> #include <asm/kvm_hyp.h> #incl...
Linux işletim sistemi çekirdeği için 'arch/arm64/kvm/hyp/include/nvhe/clock' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ARM64_KVM_HYP_NVHE_CLOCK_H #define __ARM64_KVM_HYP_NVHE_CLOCK_H #include <linux/types.h> #include <asm/kvm_hyp.h> #ifdef CONFIG_NVHE_EL2_TRACING void trace_clock_update(u32 mult, u32 shift, u64 epoch_ns, u64 epoch_cyc); u64 trace_clock(void); #else static inline v...
Linux işletim sistemi çekirdeği için 'arch/arm64/kvm/hyp/include/nvhe/memory' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ #ifndef __KVM_HYP_MEMORY_H #define __KVM_HYP_MEMORY_H #include <asm/kvm_mmu.h> #include <asm/page.h> #include <linux/types.h> /* * Bits 0-1 are used to encode the memory ownership state of each page from the * point of view of a pKVM "component" (host, hyp, guest, ....
Linux işletim sistemi çekirdeği için 'arch/arm64/kvm/hyp/include/nvhe/gfp' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ #ifndef __KVM_HYP_GFP_H #define __KVM_HYP_GFP_H #include <linux/list.h> #include <nvhe/memory.h> #include <nvhe/spinlock.h> #define HYP_NO_ORDER ((u8)(~0)) struct hyp_pool { /* * Spinlock protecting concurrent changes to the memory pool as well as * the struct h...
Linux işletim sistemi çekirdeği için 'arch/arm64/kvm/hyp/include/nvhe/ffa' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2022 - Google LLC * Author: Andrew Walbran <qwandor@google.com> */ #ifndef __KVM_HYP_FFA_H #define __KVM_HYP_FFA_H #include <asm/kvm_host.h> #define FFA_MIN_FUNC_NUM 0x60 #define FFA_MAX_FUNC_NUM 0xFF int hyp_ffa_init(void *pages); bool kvm_host_...
Linux işletim sistemi çekirdeği için 'arch/arm64/kvm/hyp/include/nvhe/trap_handler' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Trap handler helpers. * * Copyright (C) 2020 - Google LLC * Author: Marc Zyngier <maz@kernel.org> */ #ifndef __ARM64_KVM_NVHE_TRAP_HANDLER_H__ #define __ARM64_KVM_NVHE_TRAP_HANDLER_H__ #include <asm/kvm_host.h> #define cpu_reg(ctxt, r) (ctxt)->regs.regs[r] #...
Linux işletim sistemi çekirdeği için 'arch/arm64/kvm/hyp/include/nvhe/trace' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ #ifndef __ARM64_KVM_HYP_NVHE_TRACE_H #define __ARM64_KVM_HYP_NVHE_TRACE_H #include <linux/trace_remote_event.h> #include <asm/kvm_hyptrace.h> static inline pid_t __tracing_get_vcpu_pid(struct kvm_cpu_context *host_ctxt) { struct kvm_vcpu *vcpu; if (!host_ctxt) ho...
Linux işletim sistemi çekirdeği için 'arch/arm64/kvm/hyp/include/nvhe/mem_protect' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2020 Google LLC * Author: Quentin Perret <qperret@google.com> */ #ifndef __KVM_NVHE_MEM_PROTECT__ #define __KVM_NVHE_MEM_PROTECT__ #include <linux/kvm_host.h> #include <asm/kvm_hyp.h> #include <asm/kvm_mmu.h> #include <asm/kvm_pgtable.h> #include <...
Linux işletim sistemi çekirdeği için 'arch/arm64/kvm/hyp/include/nvhe/mm' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ #ifndef __KVM_HYP_MM_H #define __KVM_HYP_MM_H #include <asm/kvm_pgtable.h> #include <asm/spectre.h> #include <linux/memblock.h> #include <linux/types.h> #include <nvhe/memory.h> #include <nvhe/spinlock.h> extern struct kvm_pgtable pkvm_pgtable; extern hyp_spinlock_t p...
Linux işletim sistemi çekirdeği için 'arch/arm64/kvm/hyp/include/nvhe/arm-smccc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ #ifndef __ARM64_KVM_HYP_NVHE_ARM_SMCCC_H__ #define __ARM64_KVM_HYP_NVHE_ARM_SMCCC_H__ #include <asm/kvm_hypevents.h> #include <linux/arm-smccc.h> #define hyp_smccc_1_1_smc(...) \ do { \ trace_hyp_exit(NULL, HYP_REASON_SMC); \ arm_smccc_1_1_smc(__VA_ARG...
Linux işletim sistemi çekirdeği için 'arch/arm64/kvm/hyp/include/nvhe/spinlock' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * A stand-alone ticket spinlock implementation for use by the non-VHE * KVM hypervisor code running at EL2. * * Copyright (C) 2020 Google LLC * Author: Will Deacon <will@kernel.org> * * Heavily based on the implementation removed by c11090474d70 which was: * C...
Linux işletim sistemi çekirdeği için 'arch/arm64/kvm/hyp/include/nvhe/define_events' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #undef HYP_EVENT #define HYP_EVENT(__name, __proto, __struct, __assign, __printk) \ struct hyp_event_id hyp_event_id_##__name \ __section(".hyp.event_ids."#__name) = { \ .enabled = ATOMIC_INIT(0), \ } #define HYP_EVENT_MULTI_READ #include <asm/kvm_hypevents.h> ...
Linux işletim sistemi çekirdeği için 'arch/arm64/kvm/hyp/include/nvhe/pkvm' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2021 Google LLC * Author: Fuad Tabba <tabba@google.com> */ #ifndef __ARM64_KVM_NVHE_PKVM_H__ #define __ARM64_KVM_NVHE_PKVM_H__ #include <asm/kvm_pkvm.h> #include <nvhe/gfp.h> #include <nvhe/spinlock.h> /* * Holds the relevant data for maintaini...
Linux işletim sistemi çekirdeği için 'arch/arm64/kvm/hyp/include/nvhe/early_alloc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ #ifndef __KVM_HYP_EARLY_ALLOC_H #define __KVM_HYP_EARLY_ALLOC_H #include <asm/kvm_pgtable.h> void hyp_early_alloc_init(void *virt, unsigned long size); unsigned long hyp_early_alloc_nr_used_pages(void); void *hyp_early_alloc_page(void *arg); void *hyp_early_alloc_conti...
Linux işletim sistemi çekirdeği için 'arch/arm64/kvm/hyp/include/hyp/fault' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2015 - ARM Ltd * Author: Marc Zyngier <marc.zyngier@arm.com> */ #ifndef __ARM64_KVM_HYP_FAULT_H__ #define __ARM64_KVM_HYP_FAULT_H__ #include <asm/kvm_asm.h> #include <asm/kvm_emulate.h> #include <asm/kvm_hyp.h> #include <asm/kvm_mmu.h> static inline...
Linux işletim sistemi çekirdeği için 'arch/arm64/kvm/hyp/include/hyp/adjust_pc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Guest PC manipulation helpers * * Copyright (C) 2012,2013 - ARM Ltd * Copyright (C) 2020 - Google LLC * Author: Marc Zyngier <maz@kernel.org> */ #ifndef __ARM64_KVM_HYP_ADJUST_PC_H__ #define __ARM64_KVM_HYP_ADJUST_PC_H__ #include <asm/kvm_emulate.h> #include <a...
Linux işletim sistemi çekirdeği için 'arch/arm64/kvm/hyp/include/hyp/switch' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2015 - ARM Ltd * Author: Marc Zyngier <marc.zyngier@arm.com> */ #ifndef __ARM64_KVM_HYP_SWITCH_H__ #define __ARM64_KVM_HYP_SWITCH_H__ #include <hyp/adjust_pc.h> #include <hyp/fault.h> #include <linux/arm-smccc.h> #include <linux/kvm_host.h> #include...
Linux işletim sistemi çekirdeği için 'arch/arm64/kvm/hyp/include/hyp/sysreg-sr' 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 - ARM Ltd * Author: Marc Zyngier <marc.zyngier@arm.com> */ #ifndef __ARM64_KVM_HYP_SYSREG_SR_H__ #define __ARM64_KVM_HYP_SYSREG_SR_H__ #include <linux/compiler.h> #include <linux/kvm_host.h> #include <asm/kprobes.h> #include <asm/kvm_asm.h...
Linux işletim sistemi çekirdeği için 'arch/arm64/kvm/hyp/include/hyp/debug-sr' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2015 - ARM Ltd * Author: Marc Zyngier <marc.zyngier@arm.com> */ #ifndef __ARM64_KVM_HYP_DEBUG_SR_H__ #define __ARM64_KVM_HYP_DEBUG_SR_H__ #include <linux/compiler.h> #include <linux/kvm_host.h> #include <asm/debug-monitors.h> #include <asm/kvm_asm.h...
Linux kernel'inin 'arch/arm64/kvm/hyp/nvhe/stacktrace' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * KVM nVHE hypervisor stack tracing support. * * Copyright (C) 2022 Google LLC */ #include <asm/kvm_asm.h> #include <asm/kvm_hyp.h> #include <asm/memory.h> #include <asm/percpu.h> DEFINE_PER_CPU(unsigned long [OVERFLOW_STACK_SIZE/sizeof(long)], overflow_stack) __al...
Linux kernel'inin 'arch/arm64/kvm/hyp/nvhe/pkvm' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2021 Google LLC * Author: Fuad Tabba <tabba@google.com> */ #include <kvm/arm_hypercalls.h> #include <linux/kvm_host.h> #include <linux/mm.h> #include <asm/kvm_emulate.h> #include <nvhe/mem_protect.h> #include <nvhe/memory.h> #include <nvhe/pkvm.h> ...
Linux kernel'inin 'arch/arm64/kvm/hyp/nvhe/trace' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2025 Google LLC * Author: Vincent Donnefort <vdonnefort@google.com> */ #include <nvhe/clock.h> #include <nvhe/mem_protect.h> #include <nvhe/mm.h> #include <nvhe/trace.h> #include <asm/percpu.h> #include <asm/kvm_mmu.h> #include <asm/local.h> #includ...
Linux kernel'inde 'arch/arm64/kvm/hyp/nvhe/cache' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Code copied from arch/arm64/mm/cache.S. */ #include <linux/linkage.h> #include <asm/assembler.h> #include <asm/alternative.h> SYM_FUNC_START(__pi_dcache_clean_inval_poc) dcache_by_line_op civac, sy, x0, x1, x2, x3 ret SYM_FUNC_END(__pi_dcache_clean_inva...
Linux kernel'inin 'arch/arm64/kvm/hyp/nvhe/mm' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2020 Google LLC * Author: Quentin Perret <qperret@google.com> */ #include <linux/kvm_host.h> #include <asm/kvm_hyp.h> #include <asm/kvm_mmu.h> #include <asm/kvm_pgtable.h> #include <asm/kvm_pkvm.h> #include <asm/spectre.h> #include <nvhe/early_alloc....
Linux kernel'inin 'arch/arm64/kvm/hyp/nvhe/psci-relay' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2020 - Google LLC * Author: David Brazdil <dbrazdil@google.com> */ #include <asm/kvm_asm.h> #include <asm/kvm_hyp.h> #include <asm/kvm_hypevents.h> #include <asm/kvm_mmu.h> #include <linux/kvm_host.h> #include <uapi/linux/psci.h> #include <nvhe/arm-s...
Linux kernel'inin 'arch/arm64/kvm/hyp/nvhe/gen-hyprel' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2020 - Google LLC * Author: David Brazdil <dbrazdil@google.com> * * Generates relocation information used by the kernel to convert * absolute addresses in hyp data from kernel VAs to hyp VAs. * * This is necessary because hyp code is linked into th...
Linux kernel'inin 'arch/arm64/kvm/hyp/nvhe/hyp-main' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2020 - Google Inc * Author: Andrew Scull <ascull@google.com> */ #include <hyp/adjust_pc.h> #include <hyp/switch.h> #include <asm/pgtable-types.h> #include <asm/kvm_asm.h> #include <asm/kvm_emulate.h> #include <asm/kvm_host.h> #include <asm/kvm_hyp.h>...
Linux kernel'inin 'arch/arm64/kvm/hyp/nvhe/sys_regs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2021 Google LLC * Author: Fuad Tabba <tabba@google.com> */ #include <linux/irqchip/arm-gic-v3.h> #include <asm/kvm_asm.h> #include <asm/kvm_mmu.h> #include <hyp/adjust_pc.h> #include <nvhe/pkvm.h> #include "../../sys_regs.h" /* * Copies of the h...
Linux kernel'inin 'arch/arm64/kvm/hyp/nvhe/switch' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2015 - ARM Ltd * Author: Marc Zyngier <marc.zyngier@arm.com> */ #include <hyp/switch.h> #include <hyp/sysreg-sr.h> #include <linux/kvm_host.h> #include <linux/types.h> #include <linux/jump_label.h> #include <uapi/linux/psci.h> #include <kvm/arm_psci...
Linux kernel'inin 'arch/arm64/kvm/hyp/nvhe/debug-sr' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2015 - ARM Ltd * Author: Marc Zyngier <marc.zyngier@arm.com> */ #include <hyp/debug-sr.h> #include <linux/compiler.h> #include <linux/kvm_host.h> #include <asm/debug-monitors.h> #include <asm/kvm_asm.h> #include <asm/kvm_hyp.h> #include <asm/kvm_mmu...
Linux kernel'inde 'arch/arm64/kvm/hyp/nvhe/hyp-init' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2012,2013 - ARM Ltd * Author: Marc Zyngier <marc.zyngier@arm.com> */ #include <linux/arm-smccc.h> #include <linux/cfi_types.h> #include <linux/linkage.h> #include <asm/alternative.h> #include <asm/assembler.h> #include <asm/el2_setup.h> #in...
Linux kernel'inin 'arch/arm64/kvm/hyp/nvhe/list_debug' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2022 - Google LLC * Author: Keir Fraser <keirf@google.com> */ #include <linux/list.h> #include <linux/bug.h> static inline __must_check bool nvhe_check_data_corruption(bool v) { return v; } #define NVHE_CHECK_DATA_CORRUPTION(condition) \ nvhe_...
Linux kernel'inin 'arch/arm64/kvm/hyp/nvhe/mem_protect' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2020 Google LLC * Author: Quentin Perret <qperret@google.com> */ #include <linux/kvm_host.h> #include <asm/kvm_emulate.h> #include <asm/kvm_hyp.h> #include <asm/kvm_mmu.h> #include <asm/kvm_pgtable.h> #include <asm/kvm_pkvm.h> #include <asm/stage2_pg...
Linux kernel'inin 'arch/arm64/kvm/hyp/nvhe/page_alloc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2020 Google LLC * Author: Quentin Perret <qperret@google.com> */ #include <asm/kvm_hyp.h> #include <nvhe/gfp.h> u64 __hyp_vmemmap; /* * Index the hyp_vmemmap to find a potential buddy page, but make no assumption * about its current state. * * E...
Linux kernel'inin 'arch/arm64/kvm/hyp/nvhe/tlb' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2015 - ARM Ltd * Author: Marc Zyngier <marc.zyngier@arm.com> */ #include <asm/kvm_hyp.h> #include <asm/kvm_mmu.h> #include <asm/tlbflush.h> #include <nvhe/mem_protect.h> struct tlb_inv_context { struct kvm_s2_mmu *mmu; u64 tcr; u64 sctlr; }; ...
Linux kernel'inin 'arch/arm64/kvm/hyp/nvhe/timer-sr' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012-2015 - ARM Ltd * Author: Marc Zyngier <marc.zyngier@arm.com> */ #include <clocksource/arm_arch_timer.h> #include <linux/compiler.h> #include <linux/kvm_host.h> #include <asm/kvm_hyp.h> #include <asm/kvm_mmu.h> void __kvm_timer_set_cntvoff(u64 c...
Linux kernel'inde 'arch/arm64/kvm/hyp/nvhe/host' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2020 - Google Inc * Author: Andrew Scull <ascull@google.com> */ #include <linux/linkage.h> #include <asm/assembler.h> #include <asm/kvm_arm.h> #include <asm/kvm_asm.h> #include <asm/kvm_mmu.h> #include <asm/kvm_ptrauth.h> .text SYM_FUNC_...
Linux kernel'inin 'arch/arm64/kvm/hyp/nvhe/setup' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2020 Google LLC * Author: Quentin Perret <qperret@google.com> */ #include <linux/kvm_host.h> #include <asm/kvm_hyp.h> #include <asm/kvm_mmu.h> #include <asm/kvm_pgtable.h> #include <asm/kvm_pkvm.h> #include <nvhe/early_alloc.h> #include <nvhe/ffa.h> ...
Linux kernel'inin 'arch/arm64/kvm/hyp/nvhe/early_alloc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2020 Google LLC * Author: Quentin Perret <qperret@google.com> */ #include <asm/kvm_pgtable.h> #include <nvhe/early_alloc.h> #include <nvhe/memory.h> struct kvm_pgtable_mm_ops hyp_early_alloc_mm_ops; s64 __ro_after_init hyp_physvirt_offset; static u...
Linux kernel'inde 'arch/arm64/kvm/hyp/nvhe/hyp.lds' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2020 Google LLC. * Written by David Brazdil <dbrazdil@google.com> * * Linker script used for partial linking of nVHE EL2 object files. */ #include <asm/hyp_image.h> #include <asm-generic/vmlinux.lds.h> #include <asm/cache.h> #include <asm/memor...
Linux kernel'inin 'arch/arm64/kvm/hyp/nvhe/sysreg-sr' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012-2015 - ARM Ltd * Author: Marc Zyngier <marc.zyngier@arm.com> */ #include <hyp/sysreg-sr.h> #include <linux/compiler.h> #include <linux/kvm_host.h> #include <asm/kprobes.h> #include <asm/kvm_asm.h> #include <asm/kvm_emulate.h> #include <asm/kvm_...
Linux kernel'inin 'arch/arm64/kvm/hyp/nvhe/clock' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2025 Google LLC * Author: Vincent Donnefort <vdonnefort@google.com> */ #include <nvhe/clock.h> #include <asm/arch_timer.h> #include <asm/div64.h> static struct clock_data { struct { u32 mult; u32 shift; u64 epoch_ns; u64 epoch_cyc; u64 cyc_ove...
Linux kernel'inin 'arch/arm64/kvm/hyp/nvhe/events' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2025 Google LLC * Author: Vincent Donnefort <vdonnefort@google.com> */ #include <nvhe/mm.h> #include <nvhe/trace.h> #include <nvhe/define_events.h> int __tracing_enable_event(unsigned short id, bool enable) { struct hyp_event_id *event_id = &__hyp_...
Linux kernel'inin 'arch/arm64/kvm/hyp/nvhe/hyp-smp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2020 - Google LLC * Author: David Brazdil <dbrazdil@google.com> */ #include <asm/kvm_asm.h> #include <asm/kvm_hyp.h> #include <asm/kvm_mmu.h> /* * nVHE copy of data structures tracking available CPU cores. * Only entries for CPUs that were online a...
Linux kernel'inin 'arch/arm64/kvm/hyp/nvhe/ffa' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * FF-A v1.0 proxy to filter out invalid memory-sharing SMC calls issued by * the host. FF-A is a slightly more palatable abbreviation of "Arm Firmware * Framework for Arm A-profile", which is specified by Arm in document * number DEN0077. * * Copyright (C) 2022 - G...
Linux kernel'inin 'arch/arm64/kvm/hyp/vhe/switch' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2015 - ARM Ltd * Author: Marc Zyngier <marc.zyngier@arm.com> */ #include <hyp/switch.h> #include <linux/arm-smccc.h> #include <linux/kvm_host.h> #include <linux/types.h> #include <linux/jump_label.h> #include <linux/percpu.h> #include <uapi/linux/psc...
Linux kernel'inin 'arch/arm64/kvm/hyp/vhe/debug-sr' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2015 - ARM Ltd * Author: Marc Zyngier <marc.zyngier@arm.com> */ #include <hyp/debug-sr.h> #include <linux/kvm_host.h> #include <asm/kvm_hyp.h> void __debug_switch_to_guest(struct kvm_vcpu *vcpu) { __debug_switch_to_guest_common(vcpu); } void __de...
Linux kernel'inin 'arch/arm64/kvm/hyp/vhe/tlb' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2015 - ARM Ltd * Author: Marc Zyngier <marc.zyngier@arm.com> */ #include <linux/irqflags.h> #include <asm/kvm_hyp.h> #include <asm/kvm_mmu.h> #include <asm/tlbflush.h> struct tlb_inv_context { struct kvm_s2_mmu *mmu; unsigned long flags; u64 t...
Linux kernel'inin 'arch/arm64/kvm/hyp/vhe/timer-sr' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012-2015 - ARM Ltd * Author: Marc Zyngier <marc.zyngier@arm.com> */ #include <asm/kvm_hyp.h> void __kvm_timer_set_cntvoff(u64 cntvoff) { write_sysreg(cntvoff, cntvoff_el2); } ```
Linux kernel'inin 'arch/arm64/kvm/hyp/vhe/sysreg-sr' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012-2015 - ARM Ltd * Author: Marc Zyngier <marc.zyngier@arm.com> */ #include <hyp/sysreg-sr.h> #include <linux/compiler.h> #include <linux/kvm_host.h> #include <asm/kprobes.h> #include <asm/kvm_asm.h> #include <asm/kvm_emulate.h> #include <asm/kvm_...
Linux kernel'inin 'arch/arm64/hyperv/mshyperv' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Core routines for interacting with Microsoft's Hyper-V hypervisor, * including hypervisor initialization. * * Copyright (C) 2021, Microsoft, Inc. * * Author : Michael Kelley <mikelley@microsoft.com> */ #include <linux/types.h> #include <linux/acpi.h> #include <linu...
Linux kernel'inin 'arch/arm64/hyperv/hv_core' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Low level utility routines for interacting with Hyper-V. * * Copyright (C) 2021, Microsoft, Inc. * * Author : Michael Kelley <mikelley@microsoft.com> */ #include <linux/types.h> #include <linux/export.h> #include <linux/mm.h> #include <linux/arm-smccc.h> #include <l...
Linux işletim sistemi çekirdeği için 'arch/arm64/include/uapi/asm/ptrace' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Based on arch/arm/include/asm/ptrace.h * * Copyright (C) 1996-2003 Russell King * Copyright (C) 2012 ARM Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License ve...
Linux işletim sistemi çekirdeği için 'arch/arm64/include/uapi/asm/posix_types' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef __ASM_POSIX_TYPES_H #define __ASM_POSIX_TYPES_H typedef unsigned short __kernel_old_uid_t; typedef unsigned short __kernel_old_gid_t; #define __kernel_old_uid_t __kernel_old_uid_t #include <asm-generic/posix_types.h> #endif /* __ASM_POSIX_T...
Linux işletim sistemi çekirdeği için 'arch/arm64/include/uapi/asm/signal' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Copyright (C) 2012 ARM Ltd. * * 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 distri...
Linux işletim sistemi çekirdeği için 'arch/arm64/include/uapi/asm/sve_context' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* Copyright (C) 2017-2018 ARM Limited */ /* * For use by other UAPI headers only. * Do not make direct use of header or its definitions. */ #ifndef _UAPI__ASM_SVE_CONTEXT_H #define _UAPI__ASM_SVE_CONTEXT_H #include <linux/types.h> #define __SVE...
Linux işletim sistemi çekirdeği için 'arch/arm64/include/uapi/asm/kvm' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Copyright (C) 2012,2013 - ARM Ltd * Author: Marc Zyngier <marc.zyngier@arm.com> * * Derived from arch/arm/include/uapi/asm/kvm.h: * Copyright (C) 2012 - Virtual Open Systems and Columbia University * Author: Christoffer Dall <c.dall@virtualo...
Linux işletim sistemi çekirdeği için 'arch/arm64/include/uapi/asm/param' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Copyright (C) 2012 ARM Ltd. * * 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 distri...
Linux işletim sistemi çekirdeği için 'arch/arm64/include/uapi/asm/mman' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _UAPI__ASM_MMAN_H #define _UAPI__ASM_MMAN_H #include <asm-generic/mman.h> #define PROT_BTI 0x10 /* BTI guarded page */ #define PROT_MTE 0x20 /* Normal Tagged mapping */ /* Override any generic PKEY permission defines */ #define PKEY_DISABL...
Linux işletim sistemi çekirdeği için 'arch/arm64/include/uapi/asm/bpf_perf_event' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _UAPI__ASM_BPF_PERF_EVENT_H__ #define _UAPI__ASM_BPF_PERF_EVENT_H__ #include <asm/ptrace.h> typedef struct user_pt_regs bpf_user_pt_regs_t; #endif /* _UAPI__ASM_BPF_PERF_EVENT_H__ */ ```
Linux işletim sistemi çekirdeği için 'arch/arm64/include/uapi/asm/perf_regs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _ASM_ARM64_PERF_REGS_H #define _ASM_ARM64_PERF_REGS_H enum perf_event_arm_regs { PERF_REG_ARM64_X0, PERF_REG_ARM64_X1, PERF_REG_ARM64_X2, PERF_REG_ARM64_X3, PERF_REG_ARM64_X4, PERF_REG_ARM64_X5, PERF_REG_ARM64_X6, PERF_REG_ARM64_X7, P...
Linux işletim sistemi çekirdeği için 'arch/arm64/include/uapi/asm/setup' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Based on arch/arm/include/asm/setup.h * * Copyright (C) 1997-1999 Russell King * Copyright (C) 2012 ARM Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License ver...
Linux işletim sistemi çekirdeği için 'arch/arm64/include/uapi/asm/sigcontext' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Copyright (C) 2012 ARM Ltd. * * 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 distri...
Linux işletim sistemi çekirdeği için 'arch/arm64/include/uapi/asm/fcntl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Copyright (C) 2012 ARM Ltd. * * 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 distri...
Linux işletim sistemi çekirdeği için 'arch/arm64/include/uapi/asm/ucontext' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Copyright (C) 2012 ARM Ltd. * * 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 distri...
Linux işletim sistemi çekirdeği için 'arch/arm64/include/uapi/asm/hwcap' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Copyright (C) 2012 ARM Ltd. * * 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 distri...
Linux işletim sistemi çekirdeği için 'arch/arm64/include/uapi/asm/statfs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Copyright (C) 2012 ARM Ltd. * * 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 distri...
Linux işletim sistemi çekirdeği için 'arch/arm64/include/uapi/asm/auxvec' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Copyright (C) 2012 ARM Ltd. * * 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 distri...
Linux işletim sistemi çekirdeği için 'arch/arm64/include/uapi/asm/bitsperlong' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Copyright (C) 2012 ARM Ltd. * * 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 distri...