instruction
stringlengths
82
202
input
stringclasses
1 value
output
stringlengths
73
23.9M
Linux işletim sistemi çekirdeği için 'arch/powerpc/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_POWERPC_SECTIONS_H #define _ASM_POWERPC_SECTIONS_H #ifdef __KERNEL__ #include <linux/elf.h> #include <linux/uaccess.h> #ifdef CONFIG_HAVE_FUNCTION_DESCRIPTORS typedef struct func_desc func_desc_t; #endif #include <asm-generic/sections.h> extern char __head_en...
Linux işletim sistemi çekirdeği için 'arch/powerpc/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_POWERPC_TOPOLOGY_H #define _ASM_POWERPC_TOPOLOGY_H #ifdef __KERNEL__ struct device; struct device_node; struct drmem_lmb; #ifdef CONFIG_NUMA /* * If zone_reclaim_mode is enabled, a RECLAIM_DISTANCE of 10 will mean that * all zones on all nodes will be eligi...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/perf_event_server' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Performance event support - PowerPC classic/server specific definitions. * * Copyright 2008-2009 Paul Mackerras, IBM Corporation. */ #include <linux/types.h> #include <asm/hw_irq.h> #include <linux/device.h> #include <uapi/asm/perf_event.h> /* Update perf_...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/reg' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Contains the definition of registers common to all PowerPC variants. * If a register definition has been changed in a different PowerPC * variant, we will case it in #ifndef XXX ... #endif, and have the * number used in the Programming Environments Manual For 32-Bit ...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/exception-64e' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Definitions for use by exception code on Book3-E * * Copyright (C) 2008 Ben. Herrenschmidt (benh@kernel.crashing.org), IBM Corp. */ #ifndef _ASM_POWERPC_EXCEPTION_64E_H #define _ASM_POWERPC_EXCEPTION_64E_H /* * SPRGs usage an other considerations... * ...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/ps3' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * PS3 platform declarations. * * Copyright (C) 2006 Sony Computer Entertainment Inc. * Copyright 2006 Sony Corp. */ #if !defined(_ASM_POWERPC_PS3_H) #define _ASM_POWERPC_PS3_H #include <linux/types.h> #include <linux/device.h> #include <asm/cell-pmu.h> unio...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/io_event_irq' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright 2010, 2011 Mark Nelson and Tseng-Hui (Frank) Lin, IBM Corporation */ #ifndef _ASM_POWERPC_IO_EVENT_IRQ_H #define _ASM_POWERPC_IO_EVENT_IRQ_H #include <linux/types.h> #include <linux/notifier.h> #define PSERIES_IOEI_RPC_MAX_LEN 216 #define PSERIES...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/icswx' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * ICSWX api * * Copyright (C) 2015 IBM Corp. * * This provides the Initiate Coprocessor Store Word Indexed (ICSWX) * instruction. This instruction is used to communicate with PowerPC * coprocessors. This also provides definitions of the structures used *...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/kvm_para' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * * Copyright IBM Corp. 2008 * * Authors: Hollis Blanchard <hollisb@us.ibm.com> */ #ifndef __POWERPC_KVM_PARA_H__ #define __POWERPC_KVM_PARA_H__ #include <asm/kvm_guest.h> #include <uapi/asm/kvm_para.h> static inline int kvm_para_available(void) { return IS_E...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/nvram' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * NVRAM definitions and access functions. */ #ifndef _ASM_POWERPC_NVRAM_H #define _ASM_POWERPC_NVRAM_H #include <linux/types.h> #include <linux/errno.h> #include <linux/list.h> #include <uapi/asm/nvram.h> /* * Set oops header version to distinguish between ol...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/elf' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * ELF register definitions.. */ #ifndef _ASM_POWERPC_ELF_H #define _ASM_POWERPC_ELF_H #include <linux/sched.h> /* for task_struct */ #include <asm/page.h> #include <asm/string.h> #include <uapi/asm/elf.h> /* * This is used to ensure we don't load something fo...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/tsi108_irq' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) Copyright 2005 Tundra Semiconductor Corp. * Alex Bounine, <alexandreb at tundra.com). * * See file CREDITS for list of people who contributed to this * project. */ /* * definitions for interrupt controller initialization and external interrupt * dem...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/svm' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0+ */ /* * SVM helper functions * * Copyright 2018 Anshuman Khandual, IBM Corporation. */ #ifndef _ASM_POWERPC_SVM_H #define _ASM_POWERPC_SVM_H #ifdef CONFIG_PPC_SVM #include <asm/reg.h> static inline bool is_secure_guest(void) { return mfmsr() & MSR_S; } void dtl_cache_...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/word-at-a-time' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c #ifndef _ASM_WORD_AT_A_TIME_H #define _ASM_WORD_AT_A_TIME_H /* * Word-at-a-time interfaces for PowerPC. */ #include <linux/bitops.h> #include <linux/wordpart.h> #include <asm/asm-compat.h> #include <asm/extable.h> #ifdef __BIG_ENDIAN__ struct word_at_a_time { const unsigned long high_bits, low_bits; }; #def...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/pkeys' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0+ */ /* * PowerPC Memory Protection Keys management * * Copyright 2017, Ram Pai, IBM Corporation. */ #ifndef _ASM_POWERPC_KEYS_H #define _ASM_POWERPC_KEYS_H #include <linux/jump_label.h> #include <asm/firmware.h> extern int num_pkey; extern u32 reserved_allocation_mask; /*...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/tsi108' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * common routine and memory layout for Tundra TSI108(Grendel) host bridge * memory controller. * * Author: Jacob Pan (jacob.pan@freescale.com) * Alex Bounine (alexandreb@tundra.com) * * Copyright 2004-2006 Freescale Semiconductor, Inc. */ #ifndef __PPC...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/backlight' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Routines for handling backlight control on PowerBooks * * For now, implementation resides in * arch/powerpc/platforms/powermac/backlight.c * */ #ifndef __ASM_POWERPC_BACKLIGHT_H #define __ASM_POWERPC_BACKLIGHT_H #ifdef __KERNEL__ #include <linux/mutex.h> struct b...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/rtas-types' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _ASM_POWERPC_RTAS_TYPES_H #define _ASM_POWERPC_RTAS_TYPES_H #include <linux/compiler_attributes.h> typedef __be32 rtas_arg_t; struct rtas_args { __be32 token; __be32 nargs; __be32 nret; rtas_arg_t args[16]; rtas_arg_t *rets; /* Pointer to return v...
Linux işletim sistemi çekirdeği için 'arch/powerpc/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_POWERPC_DMA_H #define _ASM_POWERPC_DMA_H #ifdef __KERNEL__ /* * Defines for using and allocating dma channels. * Written by Hennus Bergman, 1992. * High DMA channel support & info by Hannu Savolainen * and John Boyd, Nov. 1992. * Changes for ppc sound by Ch...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/mpc85xx' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * MPC85xx cpu type detection * * Copyright 2011-2012 Freescale Semiconductor, Inc. */ #ifndef __ASM_PPC_MPC85XX_H #define __ASM_PPC_MPC85XX_H #define SVR_REV(svr) ((svr) & 0xFF) /* SOC design resision */ #define SVR_MAJ(svr) (((svr) >> 4) & 0xF) /* Major r...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/secvar' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2019 IBM Corporation * Author: Nayna Jain * * PowerPC secure variable operations. */ #ifndef SECVAR_OPS_H #define SECVAR_OPS_H #include <linux/types.h> #include <linux/errno.h> #include <linux/sysfs.h> extern const struct secvar_operations *secvar_op...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/parport' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * parport.h: platform-specific PC-style parport initialisation * * Copyright (C) 1999, 2000 Tim Waugh <tim@cyberelk.demon.co.uk> * * This file should only be included by drivers/parport/parport_pc.c. */ #ifndef _ASM_POWERPC_PARPORT_H #define _ASM_POWERPC_PARPORT_H ...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/qspinlock' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_POWERPC_QSPINLOCK_H #define _ASM_POWERPC_QSPINLOCK_H #include <linux/compiler.h> #include <asm/qspinlock_types.h> #include <asm/paravirt.h> #ifdef CONFIG_PPC64 /* * Use the EH=1 hint for accesses that result in the lock being acquired. * The hardware is suppo...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/disassemble' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * * Copyright IBM Corp. 2008 * * Authors: Hollis Blanchard <hollisb@us.ibm.com> */ #ifndef __ASM_PPC_DISASSEMBLE_H__ #define __ASM_PPC_DISASSEMBLE_H__ #include <linux/types.h> static inline unsigned int get_op(u32 inst) { return inst >> 26; } static inline u...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/page_64' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _ASM_POWERPC_PAGE_64_H #define _ASM_POWERPC_PAGE_64_H /* * Copyright (C) 2001 PPC64 Team, IBM Corp */ #include <asm/asm-const.h> /* * We always define HW_PAGE_SHIFT to 12 as use of 64K pages remains Linux * specific, every notion of page number shared ...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/mce' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Machine check exception header file. * * Copyright 2013 IBM Corporation * Author: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> */ #ifndef __ASM_PPC64_MCE_H__ #define __ASM_PPC64_MCE_H__ #include <linux/bitops.h> enum MCE_Version { MCE_V1 = 1, }; enum ...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/pmc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * pmc.h * Copyright (C) 2004 David Gibson, IBM Corporation */ #ifndef _POWERPC_PMC_H #define _POWERPC_PMC_H #ifdef __KERNEL__ #include <asm/ptrace.h> typedef void (*perf_irq_t)(struct pt_regs *); extern perf_irq_t perf_irq; int reserve_pmc_hardware(perf_irq...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/syscall_wrapper' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * syscall_wrapper.h - powerpc specific wrappers to syscall definitions * * Based on arch/{x86,arm64}/include/asm/syscall_wrapper.h */ #ifndef __ASM_POWERPC_SYSCALL_WRAPPER_H #define __ASM_POWERPC_SYSCALL_WRAPPER_H struct pt_regs; #define SC_POWERPC_REGS_TO_ARGS(x, ....
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/kgdb' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * The PowerPC (32/64) specific defines / externs for KGDB. Based on * the previous 32bit and 64bit specific files, which had the following * copyrights: * * PPC64 Mods (C) 2005 Frank Rowand (frowand@mvista.com) * PPC Mods (C) 2004 Tom Rini (trini@mvista.com) * PPC Mods (C) 2003 John Whitney (john.whitne...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/mpc5121' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * MPC5121 Prototypes and definitions */ #ifndef __ASM_POWERPC_MPC5121_H__ #define __ASM_POWERPC_MPC5121_H__ /* MPC512x Reset module registers */ struct mpc512x_reset_module { u32 rcwlr; /* Reset Configuration Word Low Register */ u32 rcwhr; /* Reset Configuratio...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/asm-compat' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c #ifndef _ASM_POWERPC_ASM_COMPAT_H #define _ASM_POWERPC_ASM_COMPAT_H #include <asm/asm-const.h> #include <asm/types.h> #include <asm/ppc-opcode.h> #ifdef __powerpc64__ /* operations for longs and pointers */ #define PPC_LL stringify_in_c(ld) #define PPC_STL stringify_in_c(std) #define PPC_STLU stringify_in_c(s...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/prom' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _POWERPC_PROM_H #define _POWERPC_PROM_H #ifdef __KERNEL__ /* * Definitions for talking to the Open Firmware PROM on * Power Macintosh computers. * * Copyright (C) 1996-2005 Paul Mackerras. * * Updates for PPC64 by Peter Bergner & David Engebretsen, IBM...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/spu_priv1' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Defines an spu hypervisor abstraction layer. * * Copyright 2006 Sony Corp. */ #if !defined(_SPU_PRIV1_H) #define _SPU_PRIV1_H #if defined(__KERNEL__) #include <linux/types.h> struct spu; struct spu_context; /* access to priv1 registers */ struct spu_priv1_...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/signal' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_POWERPC_SIGNAL_H #define _ASM_POWERPC_SIGNAL_H #define __ARCH_HAS_SA_RESTORER #include <uapi/asm/signal.h> #include <uapi/asm/ptrace.h> struct pt_regs; void do_notify_resume(struct pt_regs *regs, unsigned long thread_info_flags); unsigned long get_min_sigframe...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/accounting' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Common time accounting prototypes and such for all ppc machines. */ #ifndef __POWERPC_ACCOUNTING_H #define __POWERPC_ACCOUNTING_H /* Stuff for accurate time accounting */ struct cpu_accounting_data { /* Accumulated cputime values to flush on ticks*/ unsign...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/rheap' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * include/asm-ppc/rheap.h * * Header file for the implementation of a remote heap. * * Author: Pantelis Antoniou <panto@intracom.gr> * * 2004 (c) INTRACOM S.A. Greece. This file is licensed under * the terms of the GNU General Public License version 2. This program * is licensed "as is" without any war...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/cell-regs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * cbe_regs.h * * This file is intended to hold the various register definitions for CBE * on-chip system devices (memory controller, IO controller, etc...) * * (C) Copyright IBM Corporation 2001,2006 * * Authors: Maximino Aguilar (maguilar@us.ibm.com) * D...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/plpar_wrappers' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_POWERPC_PLPAR_WRAPPERS_H #define _ASM_POWERPC_PLPAR_WRAPPERS_H #ifdef CONFIG_PPC_PSERIES #include <linux/string.h> #include <linux/irqflags.h> #include <linux/delay.h> #include <asm/hvcall.h> #include <asm/paca.h> #include <asm/lppaca.h> #include <asm/page.h> ...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/static_call' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_POWERPC_STATIC_CALL_H #define _ASM_POWERPC_STATIC_CALL_H #define __PPC_SCT(name, inst) \ asm(".pushsection .text, \"ax\" \n" \ ".align 5 \n" \ ".globl " STATIC_CALL_TRAMP_STR(name) " \n" \ STATIC_CALL_TRAMP_STR(name) ": \n" \ ...
Linux işletim sistemi çekirdeği için 'arch/powerpc/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_POWERPC_FPU_H #define _ASM_POWERPC_FPU_H #include <linux/preempt.h> #include <asm/cpu_has_feature.h> #include <asm/switch_to.h> #define kernel_fpu_available() (!cpu_has_feature(CPU_FTR_FPU_UNAVAILABLE)) static inline ...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/pmac_low_i2c' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * include/asm-ppc/pmac_low_i2c.h * * Copyright (C) 2003 Ben. Herrenschmidt (benh@kernel.crashing.org) */ #ifndef __PMAC_LOW_I2C_H__ #define __PMAC_LOW_I2C_H__ #ifdef __KERNEL__ /* i2c mode (based on the platform functions format) */ enum { pmac_i2c_mode_d...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/exception-64s' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _ASM_POWERPC_EXCEPTION_H #define _ASM_POWERPC_EXCEPTION_H /* * Extracted from head_64.S * * PowerPC version * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) * * Rewritten by Cort Dougan (cort@cs.nmt.edu) for PReP * Copyright (C) 1996 Co...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/vio' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * IBM PowerPC Virtual I/O Infrastructure Support. * * Copyright (c) 2003 IBM Corp. * Dave Engebretsen engebret@us.ibm.com * Santiago Leon santil@us.ibm.com */ #ifndef _ASM_POWERPC_VIO_H #define _ASM_POWERPC_VIO_H #ifdef __KERNEL__ #include <linux/errno.h...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/seccomp' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_POWERPC_SECCOMP_H #define _ASM_POWERPC_SECCOMP_H #include <linux/unistd.h> #define __NR_seccomp_sigreturn_32 __NR_sigreturn #include <asm-generic/seccomp.h> #ifdef __LITTLE_ENDIAN__ #define __SECCOMP_ARCH_LE __AUDIT_ARCH_LE #define __SECCOMP_ARCH_LE_NAME "l...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/crash_reserve' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_POWERPC_CRASH_RESERVE_H #define _ASM_POWERPC_CRASH_RESERVE_H /* crash kernel regions are Page size agliged */ #define CRASH_ALIGN PAGE_SIZE #ifdef CONFIG_ARCH_HAS_GENERIC_CRASHKERNEL_RESERVATION static inline bool arch_add_crash_res_to_iomem(void) {...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/mem_encrypt' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0+ */ /* * SVM helper functions * * Copyright 2018 IBM Corporation */ #ifndef _ASM_POWERPC_MEM_ENCRYPT_H #define _ASM_POWERPC_MEM_ENCRYPT_H #include <asm/svm.h> #include <linux/types.h> struct device; static inline bool force_dma_unencrypted(struct device *dev) { return i...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/systemcfg' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _SYSTEMCFG_H #define _SYSTEMCFG_H /* * Copyright (C) 2002 Peter Bergner <bergner@vnet.ibm.com>, IBM * Copyright (C) 2005 Benjamin Herrenschmidy <benh@kernel.crashing.org>, * IBM Corp. */ #ifdef CONFIG_PPC64 /* * If the major version changes we...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/head-64' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_POWERPC_HEAD_64_H #define _ASM_POWERPC_HEAD_64_H #include <asm/cache.h> #ifdef __ASSEMBLER__ /* * We can't do CPP stringification and concatination directly into the section * name for some reason, so these macros can do it for us. */ .macro define_ftsec nam...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/plpks' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2022 IBM Corporation * Author: Nayna Jain <nayna@linux.ibm.com> * * Platform keystore for pseries LPAR(PLPKS). */ #ifndef _ASM_POWERPC_PLPKS_H #define _ASM_POWERPC_PLPKS_H #ifdef CONFIG_PSERIES_PLPKS #include <linux/types.h> #include <linux/list.h> ...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/uic' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * IBM PPC4xx UIC external definitions and structure. * * Maintainer: David Gibson <dwg@au1.ibm.com> * Copyright 2007 IBM Corporation. */ #ifndef _ASM_POWERPC_UIC_H #define _ASM_POWERPC_UIC_H #ifdef __KERNEL__ extern void __init uic_init_tree(void); extern u...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/qspinlock_types' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _ASM_POWERPC_QSPINLOCK_TYPES_H #define _ASM_POWERPC_QSPINLOCK_TYPES_H #include <linux/types.h> #include <asm/byteorder.h> typedef struct qspinlock { union { u32 val; #ifdef __LITTLE_ENDIAN struct { u16 locked; u8 reserved[2]; }; #else struct...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/cacheflush' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* */ #ifndef _ASM_POWERPC_CACHEFLUSH_H #define _ASM_POWERPC_CACHEFLUSH_H #include <linux/mm.h> #include <asm/cputable.h> #include <asm/cpu_has_feature.h> /* * This flag is used to indicate that the page pointed to by a pte is clean * and does not require cleani...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/mmzone' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Written by Kanoj Sarcar (kanoj@sgi.com) Aug 99 * * PowerPC64 port: * Copyright (C) 2002 Anton Blanchard, IBM Corp. */ #ifndef _ASM_MMZONE_H_ #define _ASM_MMZONE_H_ #ifdef __KERNEL__ #include <linux/cpumask.h> /* * generic non-linear memory support: * * 1) we wi...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/vmalloc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c #ifndef _ASM_POWERPC_VMALLOC_H #define _ASM_POWERPC_VMALLOC_H #include <asm/mmu.h> #include <asm/page.h> #ifdef CONFIG_HAVE_ARCH_HUGE_VMAP #define arch_vmap_pud_supported arch_vmap_pud_supported static __always_inline bool arch_vmap_pud_supported(pgprot_t prot) { /* HPT does not cope with large pages in the vm...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/fadump' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Firmware Assisted dump header file. * * Copyright 2011 IBM Corporation * Author: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> */ #ifndef _ASM_POWERPC_FADUMP_H #define _ASM_POWERPC_FADUMP_H #ifdef CONFIG_FA_DUMP extern int crashing_cpu; extern int is_fa...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/vas' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright 2016-17 IBM Corp. */ #ifndef _ASM_POWERPC_VAS_H #define _ASM_POWERPC_VAS_H #include <linux/sched/mm.h> #include <linux/mmu_context.h> #include <asm/icswx.h> #include <uapi/asm/vas-api.h> /* * Min and max FIFO sizes are based on Version 1.05 Sectio...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/kvm_guest' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2020 IBM Corporation */ #ifndef _ASM_POWERPC_KVM_GUEST_H_ #define _ASM_POWERPC_KVM_GUEST_H_ #if defined(CONFIG_PPC_PSERIES) || defined(CONFIG_KVM_GUEST) #include <linux/jump_label.h> DECLARE_STATIC_KEY_FALSE(kvm_guest); static inline bool is_kvm_...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/pnv-ocxl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0+ */ // Copyright 2017 IBM Corp. #ifndef _ASM_PNV_OCXL_H #define _ASM_PNV_OCXL_H #include <linux/bitfield.h> #include <linux/pci.h> #define PNV_OCXL_TL_MAX_TEMPLATE 63 #define PNV_OCXL_TL_BITS_PER_RATE 4 #define PNV_OCXL_TL_RATE_BUF_SIZE ((PNV_OCXL_TL_MAX_TEM...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/sparsemem' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_POWERPC_SPARSEMEM_H #define _ASM_POWERPC_SPARSEMEM_H 1 #ifdef __KERNEL__ #ifdef CONFIG_SPARSEMEM /* * SECTION_SIZE_BITS 2^N: how big each section will be * MAX_PHYSMEM_BITS 2^N: how much memory we can have in that space */ #define SECTION_SIZE_BITS 24...
Linux işletim sistemi çekirdeği için 'arch/powerpc/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_POWERPC_IRQ_WORK_H #define _ASM_POWERPC_IRQ_WORK_H static inline bool arch_irq_work_has_interrupt(void) { return true; } #endif /* _ASM_POWERPC_IRQ_WORK_H */ ```
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/irqflags' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * IRQ flags handling */ #ifndef _ASM_IRQFLAGS_H #define _ASM_IRQFLAGS_H #ifndef __ASSEMBLER__ /* * Get definitions for arch_local_save_flags(x), etc. */ #include <asm/hw_irq.h> #endif #endif ```
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/cpu_setup' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2020 IBM Corporation */ #ifndef _ASM_POWERPC_CPU_SETUP_H #define _ASM_POWERPC_CPU_SETUP_H void __setup_cpu_power7(unsigned long offset, struct cpu_spec *spec); void __setup_cpu_power8(unsigned long offset, struct cpu_spec *spec); void __setup_cp...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/dbell' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright 2009 Freescale Semiconductor, Inc. * * provides masks and opcode images for use by code generation, emulation * and for instructions that older assemblers might not know about */ #ifndef _ASM_POWERPC_DBELL_H #define _ASM_POWERPC_DBELL_H #include ...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/dbdma' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Definitions for using the Apple Descriptor-Based DMA controller * in Power Macintosh computers. * * Copyright (C) 1996 Paul Mackerras. */ #ifdef __KERNEL__ #ifndef _ASM_DBDMA_H_ #define _ASM_DBDMA_H_ /* * DBDMA control/status registers. All little-endian. */ str...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/xive' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright 2016,2017 IBM Corporation. */ #ifndef _ASM_POWERPC_XIVE_H #define _ASM_POWERPC_XIVE_H #include <asm/opal-api.h> #define XIVE_INVALID_VP 0xffffffff #ifdef CONFIG_PPC_XIVE /* * Thread Interrupt Management Area (TIMA) * * This is a global MMIO re...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/ps3av' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * PS3 AV backend support. * * Copyright (C) 2007 Sony Computer Entertainment Inc. * Copyright 2007 Sony Corp. */ #ifndef _ASM_POWERPC_PS3AV_H_ #define _ASM_POWERPC_PS3AV_H_ /** command for ioctl() **/ #define PS3AV_VERSION 0x205 /* version of ps3av command *...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/kdump' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PPC64_KDUMP_H #define _PPC64_KDUMP_H #include <asm/page.h> #define KDUMP_KERNELBASE 0x2000000 /* How many bytes to reserve at zero for kdump. The reserve limit should * be greater or equal to the trampoline's end address. * Reserve to the end of the FWNMI area, ...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/kvm_book3s_uvmem' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_KVM_BOOK3S_UVMEM_H__ #define __ASM_KVM_BOOK3S_UVMEM_H__ #ifdef CONFIG_PPC_UV int kvmppc_uvmem_init(void); void kvmppc_uvmem_free(void); bool kvmppc_uvmem_available(void); int kvmppc_uvmem_slot_init(struct kvm *kvm, const struct kvm_memory_slot *slot); void kvmp...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/ehv_pic' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * EHV_PIC private definitions and structure. * * Copyright 2008-2010 Freescale Semiconductor, Inc. * * This file is licensed under the terms of the GNU General Public License * version 2. This program is licensed "as is" without any warranty of any * kind, whether express or implied. */ #ifndef __EHV_P...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/fsl_lbc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* Freescale Local Bus Controller * * Copyright © 2006-2007, 2010 Freescale Semiconductor * * Authors: Nick Spence <nick.spence@freescale.com>, * Scott Wood <scottwood@freescale.com> * Jack Lan <jack.lan@freescale.com> */ #ifndef __ASM_FSL_L...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/sstep' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2004 Paul Mackerras <paulus@au.ibm.com>, IBM */ #include <asm/inst.h> struct pt_regs; /* * We don't allow single-stepping an mtmsrd that would clear * MSR_RI, since that would make the exception unrecoverable. * Since we need to single-step ...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/kvm_booke' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * * Copyright SUSE Linux Products GmbH 2010 * * Authors: Alexander Graf <agraf@suse.de> */ #ifndef __ASM_KVM_BOOKE_H__ #define __ASM_KVM_BOOKE_H__ #include <linux/types.h> #include <linux/kvm_host.h> /* * Number of available lpids. Only the low-order 6 bits o...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/mpic_timer' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * arch/powerpc/include/asm/mpic_timer.h * * Header file for Mpic Global Timer * * Copyright 2013 Freescale Semiconductor, Inc. * * Author: Wang Dongsheng <Dongsheng.Wang@freescale.com> * Li Yang <leoli@freescale.com> */ #ifndef __MPIC_TIMER__ #define ...
Linux işletim sistemi çekirdeği için 'arch/powerpc/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_POWERPC_FUTEX_H #define _ASM_POWERPC_FUTEX_H #ifdef __KERNEL__ #include <linux/futex.h> #include <linux/uaccess.h> #include <asm/errno.h> #include <asm/synch.h> #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg) \ __asm__ __volatile ( \ PPC_ATOMIC_E...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/xics' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Common definitions across all variants of ICP and ICS interrupt * controllers. */ #ifndef _XICS_H #define _XICS_H #include <linux/interrupt.h> #define XICS_IPI 2 #define XICS_IRQ_SPURIOUS 0 /* Want a priority other than 0. Various HW issues require this. */ #def...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/syscalls_32' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _ASM_POWERPC_SYSCALLS_32_H #define _ASM_POWERPC_SYSCALLS_32_H #include <linux/compat.h> #include <asm/siginfo.h> #include <asm/signal.h> /* * Data types and macros for providing 32b PowerPC support. */ /* These are here to support 32-bit syscalls on a 64...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/serial' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* */ #ifndef _ASM_POWERPC_SERIAL_H #define _ASM_POWERPC_SERIAL_H /* * Serial ports are not listed here, because they are discovered * through the device tree. */ /* Default baud base if not found in device-tree */ #define BASE_BAUD ( 1843200 / 16 ) #ifdef CON...
Linux işletim sistemi çekirdeği için 'arch/powerpc/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 _ASM_POWERPC_DEVICE_H #define _ASM_POWERPC_DEVICE_H struct device_node; #ifdef CONFIG_PPC64 struct pci_dn; struct iommu_table; #endif /* * Arch extensions to struct device. * * When adding fields, consider ...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/nmi' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_NMI_H #define _ASM_NMI_H #ifdef CONFIG_PPC_WATCHDOG long soft_nmi_interrupt(struct pt_regs *regs); void watchdog_hardlockup_set_timeout_pct(u64 pct); #else static inline void watchdog_hardlockup_set_timeout_pct(u64 pct) {} #endif extern void hv_nmi_check_nonrec...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/machdep' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _ASM_POWERPC_MACHDEP_H #define _ASM_POWERPC_MACHDEP_H #ifdef __KERNEL__ #include <linux/compiler.h> #include <linux/init.h> #include <linux/export.h> #include <linux/time64.h> #include <asm/page.h> struct pt_regs; struct pci_bus; struct device; struct devi...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/uprobes' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _ASM_UPROBES_H #define _ASM_UPROBES_H /* * User-space Probes (UProbes) for powerpc * * Copyright IBM Corporation, 2007-2012 * * Adapted from the x86 port by Ananth N Mavinakayanahalli <ananth@in.ibm.com> */ #include <linux/notifier.h> #include <asm/pro...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/mpic' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_POWERPC_MPIC_H #define _ASM_POWERPC_MPIC_H #ifdef __KERNEL__ #include <linux/irq.h> #include <asm/dcr.h> #include <asm/msi_bitmap.h> /* * Global registers */ #define MPIC_GREG_BASE 0x01000 #define MPIC_GREG_FEATURE_0 0x00000 #define MPIC_GREG_FEATURE_LA...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/dcr' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (c) Copyright 2006 Benjamin Herrenschmidt, IBM Corp. * <benh@kernel.crashing.org> */ #ifndef _ASM_POWERPC_DCR_H #define _ASM_POWERPC_DCR_H #ifdef __KERNEL__ #ifndef __ASSEMBLER__ #ifdef CONFIG_PPC_DCR #include <asm/dcr-native.h> typedef ...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/hvcserver' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * hvcserver.h * Copyright (C) 2004 Ryan S Arnold, IBM Corporation * * PPC64 virtual I/O console server support. */ #ifndef _PPC64_HVCSERVER_H #define _PPC64_HVCSERVER_H #ifdef __KERNEL__ #include <linux/list.h> /* Converged Location Code length */ #define ...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/isa-bridge' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ISA_BRIDGE_H #define __ISA_BRIDGE_H #ifdef CONFIG_PPC64 extern void isa_bridge_find_early(struct pci_controller *hose); extern void isa_bridge_init_non_pci(struct device_node *np); static inline int isa_vaddr_is_ioport(void __iomem *address) { /* Check if addres...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/set_memory' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_POWERPC_SET_MEMORY_H #define _ASM_POWERPC_SET_MEMORY_H #define SET_MEMORY_RO 0 #define SET_MEMORY_RW 1 #define SET_MEMORY_NX 2 #define SET_MEMORY_X 3 #define SET_MEMORY_NP 4 /* Set memory non present */ #define SET_MEMORY_P 5 /* Set memory present */ #define SET...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/reg_booke' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Contains register definitions common to the Book E PowerPC * specification. * * Copyright 2009-2010 Freescale Semiconductor, Inc. */ #ifdef __KERNEL__ #ifndef __ASM_POWERPC_REG_BOOKE_H__ #define __ASM_POWERPC_REG_BOOKE_H__ #include <asm/ppc-opcode.h> /* Machi...
Linux işletim sistemi çekirdeği için 'arch/powerpc/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 #ifdef CONFIG_ARCH_USING_PATCHABLE_FUNCTION_ENTRY #define MODULE_ARCH_VERMAGIC_FTRACE "patchable-function-entry " #elif defined(CONFIG_MPROFILE_KERNEL) #define MODULE_ARCH_VERMAGIC_FTRACE "mprofile-kernel " #else #define MODULE...
Linux işletim sistemi çekirdeği için 'arch/powerpc/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. * */ #ifndef _ASM_STACKPROTECTOR_H #define _ASM_STACKPROTECTOR_H #include <asm/reg.h> #include <asm/current.h> #include <asm/paca.h> /* * Initialize the stackprotector canary value. * * NOTE: this must only be called from functions t...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/pte-walk' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c #ifndef _ASM_POWERPC_PTE_WALK_H #define _ASM_POWERPC_PTE_WALK_H #include <linux/sched.h> /* Don't use this directly */ extern pte_t *__find_linux_pte(pgd_t *pgdir, unsigned long ea, bool *is_thp, unsigned *hshift); static inline pte_t *find_linux_pte(pgd_t *pgdir, unsigned long ea, bool *is_th...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/opal-api' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * OPAL API definitions. * * Copyright 2011-2015 IBM Corp. */ #ifndef __OPAL_API_H #define __OPAL_API_H /****** OPAL APIs ******/ /* Return codes */ #define OPAL_SUCCESS 0 #define OPAL_PARAMETER -1 #define OPAL_BUSY -2 #define OPAL_PARTIAL -3 #define OPA...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/security_features' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0+ */ /* * Security related feature bit definitions. * * Copyright 2018, Michael Ellerman, IBM Corporation. */ #ifndef _ASM_POWERPC_SECURITY_FEATURES_H #define _ASM_POWERPC_SECURITY_FEATURES_H extern u64 powerpc_security_features; extern bool rfi_flush; /* These are bit fl...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/rio' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * RapidIO architecture support * * Copyright 2005 MontaVista Software, Inc. * Matt Porter <mporter@kernel.crashing.org> */ #ifndef ASM_PPC_RIO_H #define ASM_PPC_RIO_H #ifdef CONFIG_FSL_RIO extern int fsl_rio_mcheck_exception(struct pt_regs *); #else static ...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/interrupt' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _ASM_POWERPC_INTERRUPT_H #define _ASM_POWERPC_INTERRUPT_H /* BookE/4xx */ #define INTERRUPT_CRITICAL_INPUT 0x100 /* BookE */ #define INTERRUPT_DEBUG 0xd00 #ifdef CONFIG_BOOKE #define INTERRUPT_PERFMON 0x260 #define INTERRUPT_DOORBELL ...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/user' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_POWERPC_USER_H #define _ASM_POWERPC_USER_H #include <asm/ptrace.h> #include <asm/page.h> /* * Adapted from <asm-alpha/user.h> * * Core file format: The core file is written in such a way that gdb * can understand it and provide useful information to the use...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/tce' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2001 Mike Corrigan & Dave Engebretsen, IBM Corporation * Rewrite, cleanup: * Copyright (C) 2004 Olof Johansson <olof@lixom.net>, IBM Corporation */ #ifndef _ASM_POWERPC_TCE_H #define _ASM_POWERPC_TCE_H #ifdef __KERNEL__ #include <asm/iommu.h>...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/task_size_32' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_POWERPC_TASK_SIZE_32_H #define _ASM_POWERPC_TASK_SIZE_32_H #include <linux/sizes.h> #if CONFIG_TASK_SIZE > CONFIG_KERNEL_START #error User TASK_SIZE overlaps with KERNEL_START address #endif #ifdef CONFIG_PPC_8xx #define MODULES_END ASM_CONST(CONFIG_PAGE_OFFSE...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/cpm2' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Communication Processor Module v2. * * This file contains structures and information for the communication * processor channels found in the dual port RAM or parameter RAM. * All CPM control and status is available through the CPM2 internal * memory map. See immap...
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/module.lds' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* Force alignment of .toc section. */ SECTIONS { .toc 0 : ALIGN(256) { *(.got .toc) } } ```
Linux işletim sistemi çekirdeği için 'arch/powerpc/include/asm/irq' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ #ifdef __KERNEL__ #ifndef _ASM_POWERPC_IRQ_H #define _ASM_POWERPC_IRQ_H /* */ #include <linux/threads.h> #include <linux/list.h> #include <linux/radix-tree.h> #include <asm/types.h> #include <linux/atomic.h> extern atomic_t ppc_n_lost_interrupts; /* Total numb...