instruction
stringlengths
82
202
input
stringclasses
1 value
output
stringlengths
73
23.9M
Linux kernel'inin 'arch/powerpc/sysdev/udbg_memcons' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * A udbg backend which logs messages and reads input from in memory * buffers. * * The console output can be read from memcons_output which is a * circular buffer whose next write position is stored in memcons.output_pos. * * Input may be passed by writing int...
Linux kernel'inin 'arch/powerpc/sysdev/fsl_mpic_timer_wakeup' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * MPIC timer wakeup driver * * Copyright 2013 Freescale Semiconductor, Inc. */ #include <linux/kernel.h> #include <linux/slab.h> #include <linux/errno.h> #include <linux/module.h> #include <linux/interrupt.h> #include <linux/device.h> #include <asm/mpic_timer.h...
Linux kernel'inin 'arch/powerpc/sysdev/mpic_msi' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2006-2007, Michael Ellerman, IBM Corporation. */ #include <linux/irq.h> #include <linux/irqdomain.h> #include <linux/of_irq.h> #include <linux/bitmap.h> #include <linux/msi.h> #include <asm/mpic.h> #include <asm/hw_irq.h> #include <asm/ppc-pci.h> #include ...
Linux kernel'inin 'arch/powerpc/sysdev/i8259' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * i8259 interrupt controller driver. */ #undef DEBUG #include <linux/ioport.h> #include <linux/interrupt.h> #include <linux/irqdomain.h> #include <linux/kernel.h> #include <linux/delay.h> #include <asm/io.h> #include <asm/i8259.h> static volatile void __iomem *pc...
Linux kernel'inin 'arch/powerpc/sysdev/fsl_msi' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2007-2011 Freescale Semiconductor, Inc. * * Author: Tony Li <tony.li@freescale.com> * Jason Jin <Jason.jin@freescale.com> * * The hwirq alloc and free code reuse from sysdev/mpic_msi.c */ #include <linux/irq.h> #include <linux/msi.h> #include <l...
Linux kernel'inin 'arch/powerpc/sysdev/fsl_pmc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Suspend/resume support * * Copyright 2009 MontaVista Software, Inc. * * Author: Anton Vorontsov <avorontsov@ru.mvista.com> */ #include <linux/init.h> #include <linux/types.h> #include <linux/errno.h> #include <linux/export.h> #include <linux/suspend.h> #inc...
Linux işletim sistemi çekirdeği için 'arch/powerpc/sysdev/fsl_msi' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2007-2008 Freescale Semiconductor, Inc. All rights reserved. * * Author: Tony Li <tony.li@freescale.com> * Jason Jin <Jason.jin@freescale.com> */ #ifndef _POWERPC_SYSDEV_FSL_MSI_H #define _POWERPC_SYSDEV_FSL_MSI_H #include <linux/of.h> #includ...
Linux kernel'inin 'arch/powerpc/sysdev/ipic' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * arch/powerpc/sysdev/ipic.c * * IPIC routines implementations. * * Copyright 2005 Freescale Semiconductor, Inc. */ #include <linux/kernel.h> #include <linux/init.h> #include <linux/errno.h> #include <linux/reboot.h> #include <linux/slab.h> #include <linux/stdd...
Linux işletim sistemi çekirdeği için 'arch/powerpc/sysdev/fsl_rio' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Freescale MPC85xx/MPC86xx RapidIO support * * Copyright 2009 Sysgo AG * Thomas Moll <thomas.moll@sysgo.com> * - fixed maintenance access routines, check for aligned access * * Copyright 2009 Integrated Device Technology, Inc. * Alex Bounine <alexandre.bo...
Linux işletim sistemi çekirdeği için 'arch/powerpc/sysdev/mpic' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ #ifndef _POWERPC_SYSDEV_MPIC_H #define _POWERPC_SYSDEV_MPIC_H /* * Copyright 2006-2007, Michael Ellerman, IBM Corporation. */ #ifdef CONFIG_PCI_MSI extern void mpic_msi_reserve_hwirq(struct mpic *mpic, irq_hw_number_t hwirq); int __init mpic_msi_init_allocator(struct...
Linux kernel'inin 'arch/powerpc/sysdev/fsl_gtm' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Freescale General-purpose Timers Module * * Copyright (c) Freescale Semiconductor, Inc. 2006. * Shlomi Gridish <gridish@freescale.com> * Jerry Huang <Chang-Ming.Huang@freescale.com> * Copyright (c) MontaVista Software, Inc. 2008. ...
Linux kernel'inin 'arch/powerpc/sysdev/mmio_nvram' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * memory mapped NVRAM * * (C) Copyright IBM Corp. 2005 * * Authors : Utz Bacher <utz.bacher@de.ibm.com> */ #include <linux/fs.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/of_address.h> #include <linux/spinlock.h> #include <linux/types.h...
Linux kernel'inin 'arch/powerpc/sysdev/fsl_lbc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Freescale LBC and UPM routines. * * Copyright © 2007-2008 MontaVista Software, Inc. * Copyright © 2010 Freescale Semiconductor * * Author: Anton Vorontsov <avorontsov@ru.mvista.com> * Author: Jack Lan <Jack.Lan@freescale.com> * Author: Roy Zang <tie-fei.za...
Linux işletim sistemi çekirdeği için 'arch/powerpc/sysdev/cpm2_pic' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PPC_KERNEL_CPM2_H #define _PPC_KERNEL_CPM2_H extern unsigned int cpm2_get_irq(void); extern void cpm2_pic_init(struct device_node *); #endif /* _PPC_KERNEL_CPM2_H */ ```
Linux kernel'inin 'arch/powerpc/sysdev/fsl_rcpm' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * RCPM(Run Control/Power Management) support * * Copyright 2012-2015 Freescale Semiconductor Inc. * * Author: Chenhui Zhao <chenhui.zhao@freescale.com> */ #define pr_fmt(fmt) "%s: " fmt, __func__ #include <linux/types.h> #include <linux/errno.h> #include <lin...
Linux işletim sistemi çekirdeği için 'arch/powerpc/sysdev/dart' 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 Olof Johansson <olof@lixom.net>, IBM Corporation */ #ifndef _POWERPC_SYSDEV_DART_H #define _POWERPC_SYSDEV_DART_H /* Offset from base to control register */ #define DART_CNTL 0 /* Offset from base to exception register */ #define DART_EX...
Linux işletim sistemi çekirdeği için 'arch/powerpc/sysdev/fsl_soc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __PPC_FSL_SOC_H #define __PPC_FSL_SOC_H #ifdef __KERNEL__ #include <asm/mmu.h> struct spi_device; extern phys_addr_t get_immrbase(void); #if defined(CONFIG_CPM) || defined(CONFIG_QUICC_ENGINE) extern u32 get_brgfreq(void); extern u32 get_baudrate(void); #else stati...
Linux kernel'inde 'arch/powerpc/sysdev/dcr-low' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * "Indirect" DCR access * * Copyright (c) 2004 Eugene Surovegin <ebs@ebshome.net> */ #include <linux/export.h> #include <asm/ppc_asm.h> #include <asm/processor.h> #include <asm/bug.h> #define DCR_ACCESS_PROLOG(table) \ cmplwi cr0,r3,1024; \ rlwinm ...
Linux kernel'inin 'arch/powerpc/sysdev/mpic_msgr' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2011-2012, Meador Inge, Mentor Graphics Corporation. * * Some ideas based on un-pushed work done by Vivek Mahajan, Jason Jin, and * Mingkai Hu from Freescale Semiconductor, Inc. */ #include <linux/list.h> #include <linux/of.h> #include <linux/of_address...
Linux kernel'inin 'arch/powerpc/sysdev/grackle' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Functions for setting up and using a MPC106 northbridge * Extracted from arch/powerpc/platforms/powermac/pci.c. * * Copyright (C) 2003 Benjamin Herrenschmuidt (benh@kernel.crashing.org) * Copyright (C) 1997 Paul Mackerras (paulus@samba.org) */ #include <linux...
Linux kernel'inin 'arch/powerpc/sysdev/mpic_u3msi' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2006, Segher Boessenkool, IBM Corporation. * Copyright 2006-2007, Michael Ellerman, IBM Corporation. */ #include <linux/irq.h> #include <linux/irqdomain.h> #include <linux/msi.h> #include <asm/mpic.h> #include <asm/hw_irq.h> #include <asm/ppc-pci.h> #incl...
Linux kernel'inin 'arch/powerpc/sysdev/fsl_mpic_err' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Freescale Semiconductor, Inc. * * Author: Varun Sethi <varun.sethi@freescale.com> */ #include <linux/irq.h> #include <linux/smp.h> #include <linux/interrupt.h> #include <linux/irqdomain.h> #include <asm/io.h> #include <asm/irq.h> #include <asm/...
Linux kernel'inin 'arch/powerpc/sysdev/mpic_timer' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * MPIC timer driver * * Copyright 2013 Freescale Semiconductor, Inc. * Author: Dongsheng Wang <Dongsheng.Wang@freescale.com> * Li Yang <leoli@freescale.com> */ #include <linux/kernel.h> #include <linux/init.h> #include <linux/module.h> #include <linux/errno...
Linux kernel'inin 'arch/powerpc/sysdev/fsl_pci' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * MPC83xx/85xx/86xx PCI/PCIE support routing. * * Copyright 2007-2012 Freescale Semiconductor, Inc. * Copyright 2008-2009 MontaVista Software, Inc. * * Initial author: Xianghua Xiao <x.xiao@freescale.com> * Recode: ZHANG WEI <wei.zhang@freescale.com> * Rewrit...
Linux kernel'inin 'arch/powerpc/sysdev/fsl_rmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Freescale MPC85xx/MPC86xx RapidIO RMU support * * Copyright 2009 Sysgo AG * Thomas Moll <thomas.moll@sysgo.com> * - fixed maintenance access routines, check for aligned access * * Copyright 2009 Integrated Device Technology, Inc. * Alex Bounine <alexandre.b...
Linux kernel'inde 'arch/powerpc/sysdev/6xx-suspend' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Enter and leave sleep state on chips with 6xx-style HID0 * power management bits, which don't leave sleep state via reset. * * Author: Scott Wood <scottwood@freescale.com> * * Copyright (c) 2006-2007 Freescale Semiconductor, Inc. */ #include <asm/ppc_...
Linux kernel'inin 'arch/powerpc/sysdev/mpic' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * arch/powerpc/kernel/mpic.c * * Driver for interrupt controllers following the OpenPIC standard, the * common implementation being IBM's MPIC. This driver also can deal * with various broken implementations of this HW. * * Copyright (C) 2004 Benjamin Herrenschmidt, IBM Corp. * Copyright 2010-2012...
Linux kernel'inin 'arch/powerpc/sysdev/of_rtc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Instantiate mmio-mapped RTC chips based on device tree information * * Copyright 2007 David Gibson <dwg@au1.ibm.com>, IBM Corporation. */ #include <linux/kernel.h> #include <linux/init.h> #include <linux/of.h> #include <linux/of_address.h> #include <linux/platf...
Linux kernel'inin 'arch/powerpc/sysdev/fsl_rio' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Freescale MPC85xx/MPC86xx RapidIO support * * Copyright 2009 Sysgo AG * Thomas Moll <thomas.moll@sysgo.com> * - fixed maintenance access routines, check for aligned access * * Copyright 2009 Integrated Device Technology, Inc. * Alex Bounine <alexandre.bouni...
Linux kernel'inin 'arch/powerpc/sysdev/cpm2' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * General Purpose functions for the global management of the * 8260 Communication Processor Module. * Copyright (c) 1999-2001 Dan Malek <dan@embeddedalley.com> * Copyright (c) 2000 MontaVista Software, Inc (source@mvista.com) * 2.3.99 Updates * * 2006 (c) MontaVista Software, Inc. * Vitaly Bordug <vbord...
Linux kernel'inin 'arch/powerpc/sysdev/msi_bitmap' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2006-2008, Michael Ellerman, IBM Corporation. */ #include <linux/slab.h> #include <linux/kernel.h> #include <linux/kmemleak.h> #include <linux/bitmap.h> #include <linux/memblock.h> #include <linux/of.h> #include <asm/msi_bitmap.h> #include <asm/setup.h> i...
Linux işletim sistemi çekirdeği için 'arch/powerpc/sysdev/fsl_pci' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * MPC85xx/86xx PCI Express structure define * * Copyright 2007,2011 Freescale Semiconductor, Inc */ #ifdef __KERNEL__ #ifndef __POWERPC_FSL_PCI_H #define __POWERPC_FSL_PCI_H struct platform_device; /* FSL PCI controller BRR1 register */ #define PCI_FSL_BRR...
Linux kernel'inin 'arch/powerpc/sysdev/tsi108_dev' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * tsi108/109 device setup code * * Maintained by Roy Zang < tie-fei.zang@freescale.com > */ #include <linux/stddef.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/errno.h> #include <linux/major.h> #include <linux/delay.h> #include <linux/irq...
Linux işletim sistemi çekirdeği için 'arch/powerpc/sysdev/ipic' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * IPIC private definitions and structure. * * Maintainer: Kumar Gala <galak@kernel.crashing.org> * * Copyright 2005 Freescale Semiconductor, Inc */ #ifndef __IPIC_H__ #define __IPIC_H__ #include <asm/ipic.h> #define NR_IPIC_INTS 128 /* External IRQS */ #d...
Linux kernel'inin 'arch/powerpc/sysdev/dart_iommu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * arch/powerpc/sysdev/dart_iommu.c * * Copyright (C) 2004 Olof Johansson <olof@lixom.net>, IBM Corporation * Copyright (C) 2005 Benjamin Herrenschmidt <benh@kernel.crashing.org>, * IBM Corporation * * Based on pSeries_iommu.c: * Copyright (...
Linux kernel'inin 'arch/powerpc/sysdev/dcr' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * (c) Copyright 2006 Benjamin Herrenschmidt, IBM Corp. * <benh@kernel.crashing.org> */ #undef DEBUG #include <linux/kernel.h> #include <linux/export.h> #include <linux/of_address.h> #include <asm/dcr.h> unsigned int dcr_resource_start(const s...
Linux kernel'inin 'arch/powerpc/sysdev/xics/icp-opal' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2016 IBM Corporation. */ #include <linux/types.h> #include <linux/kernel.h> #include <linux/irq.h> #include <linux/smp.h> #include <linux/interrupt.h> #include <linux/irqdomain.h> #include <linux/cpu.h> #include <linux/of.h> #include <asm/smp.h> #inclu...
Linux kernel'inin 'arch/powerpc/sysdev/xics/xics-common' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2011 IBM Corporation. */ #include <linux/types.h> #include <linux/threads.h> #include <linux/kernel.h> #include <linux/irq.h> #include <linux/irqdomain.h> #include <linux/debugfs.h> #include <linux/smp.h> #include <linux/interrupt.h> #include <linux/seq...
Linux kernel'inin 'arch/powerpc/sysdev/xics/icp-native' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2011 IBM Corporation. */ #include <linux/types.h> #include <linux/kernel.h> #include <linux/irq.h> #include <linux/irqdomain.h> #include <linux/smp.h> #include <linux/interrupt.h> #include <linux/init.h> #include <linux/cpu.h> #include <linux/of.h> #in...
Linux kernel'inin 'arch/powerpc/sysdev/xics/ics-native' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * ICS backend for OPAL managed interrupts. * * Copyright 2011 IBM Corp. */ //#define DEBUG #include <linux/types.h> #include <linux/kernel.h> #include <linux/irq.h> #include <linux/smp.h> #include <linux/interrupt.h> #include <linux/init.h> #include <linux/cpu....
Linux kernel'inin 'arch/powerpc/sysdev/xics/ics-opal' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * ICS backend for OPAL managed interrupts. * * Copyright 2011 IBM Corp. */ #undef DEBUG #include <linux/types.h> #include <linux/kernel.h> #include <linux/irq.h> #include <linux/smp.h> #include <linux/interrupt.h> #include <linux/init.h> #include <linux/cpu.h> ...
Linux kernel'inin 'arch/powerpc/sysdev/xics/ics-rtas' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/types.h> #include <linux/kernel.h> #include <linux/irq.h> #include <linux/smp.h> #include <linux/interrupt.h> #include <linux/init.h> #include <linux/cpu.h> #include <linux/of.h> #include <linux/spinlock.h> #include <linux/msi.h> #include <asm/smp.h> #include <a...
Linux kernel'inin 'arch/powerpc/sysdev/xics/icp-hv' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2011 IBM Corporation. */ #include <linux/types.h> #include <linux/kernel.h> #include <linux/irq.h> #include <linux/smp.h> #include <linux/interrupt.h> #include <linux/irqdomain.h> #include <linux/cpu.h> #include <linux/of.h> #include <asm/smp.h> #inclu...
Linux kernel'inin 'arch/powerpc/sysdev/xive/native' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2016,2017 IBM Corporation. */ #define pr_fmt(fmt) "xive: " fmt #include <linux/types.h> #include <linux/irq.h> #include <linux/debugfs.h> #include <linux/smp.h> #include <linux/interrupt.h> #include <linux/seq_file.h> #include <linux/init.h> #include ...
Linux işletim sistemi çekirdeği için 'arch/powerpc/sysdev/xive/xive-internal' 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 __XIVE_INTERNAL_H #define __XIVE_INTERNAL_H /* * A "disabled" interrupt should never fire, to catch problems * we set its logical number to this */ #define XIVE_BAD_IRQ 0x7fffffff #define XIVE_MAX_IRQ (XIVE...
Linux kernel'inin 'arch/powerpc/sysdev/xive/spapr' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2016,2017 IBM Corporation. */ #define pr_fmt(fmt) "xive: " fmt #include <linux/types.h> #include <linux/irq.h> #include <linux/seq_file.h> #include <linux/smp.h> #include <linux/interrupt.h> #include <linux/init.h> #include <linux/of.h> #include <linu...
Linux kernel'inin 'arch/powerpc/sysdev/xive/common' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2016,2017 IBM Corporation. */ #define pr_fmt(fmt) "xive: " fmt #include <linux/types.h> #include <linux/threads.h> #include <linux/kernel.h> #include <linux/irq.h> #include <linux/irqdomain.h> #include <linux/debugfs.h> #include <linux/smp.h> #include...
Linux işletim sistemi çekirdeği için 'arch/powerpc/sysdev/ge/ge_pic' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __GEF_PIC_H__ #define __GEF_PIC_H__ unsigned int gef_pic_get_irq(void); void gef_pic_init(struct device_node *); #endif /* __GEF_PIC_H__ */ ```
Linux kernel'inin 'arch/powerpc/sysdev/ge/ge_pic' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Interrupt handling for GE FPGA based PIC * * Author: Martyn Welch <martyn.welch@ge.com> * * 2008 (c) GE Intelligent Platforms Embedded Systems, 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 *...
Linux kernel'inde 'arch/powerpc/purgatory/kexec-purgatory' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ .section .rodata, "a" .align 8 kexec_purgatory: .globl kexec_purgatory .incbin "arch/powerpc/purgatory/purgatory.ro" .Lkexec_purgatory_end: .align 8 kexec_purgatory_size: .globl kexec_purgatory_size .quad .Lkexec_purgatory_end - kexec_purgatory ```
Linux kernel'inde 'arch/powerpc/purgatory/trampoline_64' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * kexec trampoline * * Based on code taken from kexec-tools and kexec-lite. * * Copyright (C) 2004 - 2005, Milton D Miller II, IBM Corporation * Copyright (C) 2006, Mohan Kumar M, IBM Corporation * Copyright (C) 2013, Anton Blanchard, IBM Corporation */...
Linux kernel'inin 'arch/powerpc/kexec/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> #include <asm/pgalloc.h> void arch_crash_save_vmcoreinfo(void) { #ifdef CONFIG_NUMA VMCOREINFO_SYMBOL(node_data); VMCOREINFO_LENGTH(node_data, MAX_NUMNODES); #endif #ifndef CONFIG_NUMA VMCOREINFO_SYMBOL(contig_page_data); #endif #if defi...
Linux kernel'inin 'arch/powerpc/kexec/elf_64' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Load ELF vmlinux file for the kexec_file_load syscall. * * Copyright (C) 2004 Adam Litke (agl@us.ibm.com) * Copyright (C) 2004 IBM Corp. * Copyright (C) 2005 R Sharada (sharada@in.ibm.com) * Copyright (C) 2006 Mohan Kumar M (mohan@in.ibm.com) * Copyright (C)...
Linux kernel'inin 'arch/powerpc/kexec/ranges' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * powerpc code to implement the kexec_file_load syscall * * Copyright (C) 2004 Adam Litke (agl@us.ibm.com) * Copyright (C) 2004 IBM Corp. * Copyright (C) 2004,2005 Milton D Miller II, IBM Corporation * Copyright (C) 2005 R Sharada (sharada@in.ibm.com) * Copyri...
Linux kernel'inde 'arch/powerpc/kexec/relocate_32' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This file contains kexec low-level functions. * * Copyright (C) 2002-2003 Eric Biederman <ebiederm@xmission.com> * GameCube/ppc32 port Copyright (C) 2004 Albert Herranz * PPC44x port. Copyright (C) 2011, IBM Corporation * Author: Suzuki Poulose ...
Linux kernel'inin 'arch/powerpc/kexec/core_64' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * PPC64 code to handle Linux booting another kernel. * * Copyright (C) 2004-2005, IBM Corp. * * Created by: Milton D Miller II */ #include <linux/kexec.h> #include <linux/smp.h> #include <linux/thread_info.h> #include <linux/init_task.h> #include <linux/errno.h> ...
Linux kernel'inin 'arch/powerpc/kexec/crash' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Architecture specific (PPC64) functions for kexec based crash dumps. * * Copyright (C) 2005, IBM Corp. * * Created by: Haren Myneni */ #include <linux/kernel.h> #include <linux/smp.h> #include <linux/reboot.h> #include <linux/kexec.h> #include <linux/export.h> #...
Linux kernel'inin 'arch/powerpc/kexec/core' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Code to handle transition of Linux booting another kernel. * * Copyright (C) 2002-2003 Eric Biederman <ebiederm@xmission.com> * GameCube/ppc32 port Copyright (C) 2004 Albert Herranz * Copyright (C) 2005 IBM Corporation. */ #include <linux/kexec.h> #include <lin...
Linux kernel'inin 'arch/powerpc/kexec/file_load_64' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * ppc64 code to implement the kexec_file_load syscall * * Copyright (C) 2004 Adam Litke (agl@us.ibm.com) * Copyright (C) 2004 IBM Corp. * Copyright (C) 2004,2005 Milton D Miller II, IBM Corporation * Copyright (C) 2005 R Sharada (sharada@in.ibm.com) * Copyrigh...
Linux kernel'inin 'arch/powerpc/kexec/file_load' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * powerpc code to implement the kexec_file_load syscall * * Copyright (C) 2004 Adam Litke (agl@us.ibm.com) * Copyright (C) 2004 IBM Corp. * Copyright (C) 2004,2005 Milton D Miller II, IBM Corporation * Copyright (C) 2005 R Sharada (sharada@in.ibm.com) * Copyri...
Linux kernel'inin 'arch/powerpc/kexec/core_32' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * PPC32 code to handle Linux booting another kernel. * * Copyright (C) 2002-2003 Eric Biederman <ebiederm@xmission.com> * GameCube/ppc32 port Copyright (C) 2004 Albert Herranz * Copyright (C) 2005 IBM Corporation. */ #include <linux/irq.h> #include <linux/kexec.h...
Linux işletim sistemi çekirdeği için 'arch/parisc/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 */ /* written by Philipp Rumpf, Copyright (C) 1999 SuSE GmbH Nuernberg ** Copyright (C) 2000 Grant Grundler, Hewlett-Packard */ #ifndef _UAPI_PARISC_PTRACE_H #define _UAPI_PARISC_PTRACE_H #include <linux/types.h> /* This struct defines the way the regi...
Linux işletim sistemi çekirdeği için 'arch/parisc/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 __ARCH_PARISC_POSIX_TYPES_H #define __ARCH_PARISC_POSIX_TYPES_H /* * This file is generally used by user-level software, so you need to * be a little careful about namespace pollution etc. Also, we cannot * assume GCC is being used. */ #...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/uapi/asm/shmbuf' 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 _PARISC_SHMBUF_H #define _PARISC_SHMBUF_H #include <asm/bitsperlong.h> #include <asm/ipcbuf.h> #include <asm/posix_types.h> /* * The shmid64_ds structure for parisc architecture. * Note extra padding because this structure is passed back a...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/uapi/asm/errno' 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 _PARISC_ERRNO_H #define _PARISC_ERRNO_H #include <asm-generic/errno-base.h> #define ENOMSG 35 /* No message of desired type */ #define EIDRM 36 /* Identifier removed */ #define ECHRNG 37 /* Channel number out of range */ #define EL2NSYNC 3...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/uapi/asm/termbits' 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 __ARCH_PARISC_TERMBITS_H__ #define __ARCH_PARISC_TERMBITS_H__ #include <asm-generic/termbits-common.h> typedef unsigned int tcflag_t; #define NCCS 19 struct termios { tcflag_t c_iflag; /* input mode flags */ tcflag_t c_oflag; /* output m...
Linux işletim sistemi çekirdeği için 'arch/parisc/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 */ #ifndef _UAPI_ASM_PARISC_SIGNAL_H #define _UAPI_ASM_PARISC_SIGNAL_H #define SIGHUP 1 #define SIGINT 2 #define SIGQUIT 3 #define SIGILL 4 #define SIGTRAP 5 #define SIGABRT 6 #define SIGIOT 6 #define SIGSTKFLT 7 #define SIGFPE 8 #define...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/uapi/asm/ioctl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ /* * Linux/PA-RISC Project (http://www.parisc-linux.org/) * Copyright (C) 1999,2003 Matthew Wilcox < willy at debian . org > * portions from "linux/ioctl.h for Linux" by H.H. Bergman. * * This program is free software; you can redistr...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/uapi/asm/stat' 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 _PARISC_STAT_H #define _PARISC_STAT_H #include <linux/types.h> struct stat { unsigned int st_dev; /* dev_t is 32 bits on parisc */ unsigned int st_ino; /* 32 bits */ unsigned short st_mode; /* 16 bits */ unsigned short st_nlink; /* 16 b...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/uapi/asm/socket' 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_SOCKET_H #define _UAPI_ASM_SOCKET_H #include <linux/posix_types.h> #include <asm/sockios.h> /* For setsockopt(2) */ #define SOL_SOCKET 0xffff #define SO_DEBUG 0x0001 #define SO_REUSEADDR 0x0004 #define SO_KEEPALIVE 0x0008 #define S...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/uapi/asm/ioctls' 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 __ARCH_PARISC_IOCTLS_H__ #define __ARCH_PARISC_IOCTLS_H__ #include <asm/ioctl.h> /* 0x54 is just a magic number to make these relatively unique ('T') */ #define TCGETS _IOR('T', 16, struct termios) /* TCGETATTR */ #define TCSETS _IOW('T', ...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/uapi/asm/ipcbuf' 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 __PARISC_IPCBUF_H__ #define __PARISC_IPCBUF_H__ #include <asm/bitsperlong.h> #include <linux/posix_types.h> /* * The ipc64_perm structure for PA-RISC is almost identical to * kern_ipc_perm as we have always had 32-bit UIDs and GIDs in the k...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/uapi/asm/sembuf' 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 _PARISC_SEMBUF_H #define _PARISC_SEMBUF_H #include <asm/bitsperlong.h> #include <asm/ipcbuf.h> /* * The semid64_ds structure for parisc architecture. * Note extra padding because this structure is passed back and forth * between kernel an...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/uapi/asm/cachectl' 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_CACHECTL #define _ASM_CACHECTL /* * Options for cacheflush system call */ #define ICACHE (1<<0) /* flush instruction cache */ #define DCACHE (1<<1) /* writeback and flush data cache */ #define BCACHE (ICACHE|DCACHE) /* flush both ca...
Linux işletim sistemi çekirdeği için 'arch/parisc/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 __PARISC_MMAN_H__ #define __PARISC_MMAN_H__ #define PROT_READ 0x1 /* page can be read */ #define PROT_WRITE 0x2 /* page can be written */ #define PROT_EXEC 0x4 /* page can be executed */ #define PROT_SEM 0x8 /* page may be used for atomic ...
Linux işletim sistemi çekirdeği için 'arch/parisc/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 _UAPI_ASM_PARISC_PERF_REGS_H #define _UAPI_ASM_PARISC_PERF_REGS_H /* see struct user_regs_struct */ enum perf_event_parisc_regs { PERF_REG_PARISC_R0, /* PSW is in gr[0] */ PERF_REG_PARISC_R1, PERF_REG_PARISC_R2, PERF_REG_PARISC_R3, PERF_R...
Linux işletim sistemi çekirdeği için 'arch/parisc/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 */ #ifndef _PARISC_SETUP_H #define _PARISC_SETUP_H #define COMMAND_LINE_SIZE 1024 #endif /* _PARISC_SETUP_H */ ```
Linux işletim sistemi çekirdeği için 'arch/parisc/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 */ #ifndef _ASMPARISC_SIGCONTEXT_H #define _ASMPARISC_SIGCONTEXT_H #define PARISC_SC_FLAG_ONSTACK 1<<0 #define PARISC_SC_FLAG_IN_SYSCALL 1<<1 /* We will add more stuff here as it becomes necessary, until we know it works. */ struct sigcontext { unsi...
Linux işletim sistemi çekirdeği için 'arch/parisc/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 */ #ifndef _PARISC_FCNTL_H #define _PARISC_FCNTL_H #define O_APPEND 000000010 #define O_CREAT 000000400 /* not fcntl */ #define O_EXCL 000002000 /* not fcntl */ #define O_LARGEFILE 000004000 #define __O_SYNC 000100000 #define O_SYNC (__O_SYNC|O_DSYNC)...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/uapi/asm/msgbuf' 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 _PARISC_MSGBUF_H #define _PARISC_MSGBUF_H #include <asm/bitsperlong.h> #include <asm/ipcbuf.h> /* * The msqid64_ds structure for parisc architecture, copied from sparc. * Note extra padding because this structure is passed back and forth ...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/uapi/asm/pdc' 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_PARISC_PDC_H #define _UAPI_PARISC_PDC_H /* * PDC return values ... * All PDC calls return a subset of these errors. */ #define PDC_WARN 3 /* Call completed with a warning */ #define PDC_REQ_ERR_1 2 /* See above */ #define PD...
Linux işletim sistemi çekirdeği için 'arch/parisc/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 */ #ifndef _PARISC_STATFS_H #define _PARISC_STATFS_H #define __statfs_word long #include <asm-generic/statfs.h> #endif ```
Linux işletim sistemi çekirdeği için 'arch/parisc/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 */ #ifndef _UAPI_PARISC_AUXVEC_H #define _UAPI_PARISC_AUXVEC_H /* The vDSO location. */ #define AT_SYSINFO_EHDR 33 #endif /* _UAPI_PARISC_AUXVEC_H */ ```
Linux işletim sistemi çekirdeği için 'arch/parisc/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 */ #ifndef __ASM_PARISC_BITSPERLONG_H #define __ASM_PARISC_BITSPERLONG_H #if defined(__LP64__) #define __BITS_PER_LONG 64 #else #define __BITS_PER_LONG 32 #endif #include <asm-generic/bitsperlong.h> #endif /* __ASM_PARISC_BITSPERLONG_H */ ```
Linux işletim sistemi çekirdeği için 'arch/parisc/include/uapi/asm/unistd' 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_PARISC_UNISTD_H_ #define _UAPI_ASM_PARISC_UNISTD_H_ #ifdef __LP64__ #include <asm/unistd_64.h> #else #include <asm/unistd_32.h> #endif #define LINUX_GATEWAY_ADDR 0x100 #endif /* _UAPI_ASM_PARISC_UNISTD_H_ */ ```
Linux işletim sistemi çekirdeği için 'arch/parisc/include/uapi/asm/byteorder' 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 _PARISC_BYTEORDER_H #define _PARISC_BYTEORDER_H #include <linux/byteorder/big_endian.h> #endif /* _PARISC_BYTEORDER_H */ ```
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/alternative' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_PARISC_ALTERNATIVE_H #define __ASM_PARISC_ALTERNATIVE_H #define ALT_COND_ALWAYS 0x80 /* always replace instruction */ #define ALT_COND_NO_SMP 0x01 /* when running UP instead of SMP */ #define ALT_COND_NO_DCACHE 0x02 /* if system has no d-cache */ #define ALT...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/kfence' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * PA-RISC KFENCE support. * * Copyright (C) 2021, Helge Deller <deller@gmx.de> */ #ifndef _ASM_PARISC_KFENCE_H #define _ASM_PARISC_KFENCE_H #include <linux/kfence.h> #include <asm/pgtable.h> #include <asm/tlbflush.h> static inline bool arch_kfence_init_pool(void) {...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/ptrace' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* written by Philipp Rumpf, Copyright (C) 1999 SuSE GmbH Nuernberg ** Copyright (C) 2000 Grant Grundler, Hewlett-Packard */ #ifndef _PARISC_PTRACE_H #define _PARISC_PTRACE_H #include <asm/assembly.h> #include <uapi/asm/ptrace.h> #define task_regs(task) ((struct pt_regs *) ...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/hugetlb' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_PARISC64_HUGETLB_H #define _ASM_PARISC64_HUGETLB_H #include <asm/page.h> #define __HAVE_ARCH_HUGE_SET_HUGE_PTE_AT void set_huge_pte_at(struct mm_struct *mm, unsigned long addr, pte_t *ptep, pte_t pte, unsigned long sz); #define __HAVE_ARCH_HUGE_PTEP_GET...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/sections' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PARISC_SECTIONS_H #define _PARISC_SECTIONS_H #ifdef CONFIG_HAVE_FUNCTION_DESCRIPTORS #include <asm/elf.h> typedef Elf64_Fdesc func_desc_t; #endif /* nothing to see, move along */ #include <asm-generic/sections.h> extern char __alt_instructions[], __alt_instruction...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/topology' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c #ifndef _ASM_PARISC_TOPOLOGY_H #define _ASM_PARISC_TOPOLOGY_H #ifdef CONFIG_GENERIC_ARCH_TOPOLOGY #include <linux/cpumask.h> #include <linux/arch_topology.h> #else static inline void init_cpu_topology(void) { } static inline void store_cpu_topology(unsigned int cpuid) { } static inline void reset_cpu_topology(...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/elf' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASMPARISC_ELF_H #define __ASMPARISC_ELF_H /* * ELF register definitions.. */ #include <linux/types.h> #define EM_PARISC 15 /* HPPA specific definitions. */ /* Legal values for e_flags field of Elf32_Ehdr. */ #define EF_PARISC_TRAPNIL 0x00010000 /* Trap nil...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/eisa_eeprom' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * eisa_eeprom.h - provide support for EISA adapters in PA-RISC machines * * Copyright (c) 2001, 2002 Daniel Engstrom <5116@telia.com> */ #ifndef ASM_EISA_EEPROM_H #define ASM_EISA_EEPROM_H extern void __iomem *eisa_eeprom_addr; #define HPEE_MAX_LENGTH ...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/dma' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* asm/dma.h: 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. * (c) Copyright 2000, Grant Grundler */ #ifndef _ASM_DMA_H #define _ASM_DMA_H #include <asm...
Linux işletim sistemi çekirdeği için 'arch/parisc/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: ia32-compatible parport initialisation * * This file should only be included by drivers/parport/parport_pc.c. */ #ifndef _ASM_PARPORT_H #define _ASM_PARPORT_H 1 static int parport_pc_find_nonpci_ports (int autoirq, int autodma) { /* nothing ! */ re...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/kgdb' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * PA-RISC KGDB support * * Copyright (c) 2019 Sven Schnelle <svens@stackframe.org> * */ #ifndef __PARISC_KGDB_H__ #define __PARISC_KGDB_H__ #define BREAK_INSTR_SIZE 4 #define PARISC_KGDB_COMPILED_BREAK_INSN 0x3ffc01f #define PARISC_KGDB_BREAK_INSN 0x3ffa01f #def...
Linux işletim sistemi çekirdeği için 'arch/parisc/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_PARISC_SIGNAL_H #define _ASM_PARISC_SIGNAL_H #include <uapi/asm/signal.h> # ifndef __ASSEMBLER__ /* Most things should be clean enough to redefine this at will, if care is taken to make libc match. */ #include <asm/sigcontext.h> #endif /* !__ASSEMBLER__ ...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/perf' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_PERF_H_ #define _ASM_PERF_H_ /* ioctls */ #define PA_PERF_ON _IO('p', 1) #define PA_PERF_OFF _IOR('p', 2, unsigned int) #define PA_PERF_VERSION _IOR('p', 3, int) #define PA_PERF_DEV "perf" #define PA_PERF_MINOR 146 /* Interface types */ #define UNKNOWN_INTF ...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/pdcpat' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c #ifndef __PARISC_PATPDC_H #define __PARISC_PATPDC_H /* * 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 details. * * Copyright 2000 (c) Hewlett Packard (Paul Bame <bame()spam.parisc-linux.org>) * ...