instruction
stringlengths
82
202
input
stringclasses
1 value
output
stringlengths
73
23.9M
Linux kernel'inin 'arch/powerpc/platforms/pseries/papr_platform_attributes' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Platform energy and frequency attributes driver * * This driver creates a sys file at /sys/firmware/papr/ which encapsulates a * directory structure containing files in keyword - value pairs that specify * energy and frequency configuration of the system. * ...
Linux kernel'inin 'arch/powerpc/platforms/pseries/dlpar' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Support for dynamic reconfiguration for PCI, Memory, and CPU * Hotplug and Dynamic Logical Partitioning on RPA platforms. * * Copyright (C) 2009 Nathan Fontenot * Copyright (C) 2009 IBM Corporation */ #define pr_fmt(fmt) "dlpar: " fmt #include <linux/kernel.h> ...
Linux kernel'inin 'arch/powerpc/platforms/pseries/plpks-secvar' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only // Secure variable implementation using the PowerVM LPAR Platform KeyStore (PLPKS) // // Copyright 2022, 2023 IBM Corporation // Authors: Russell Currey // Andrew Donnellan // Nayna Jain #define pr_fmt(fmt) "secvar: "fmt #include <linux/printk.h> #inclu...
Linux kernel'inde 'arch/powerpc/platforms/pseries/hvCall' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This file contains the generic code to perform a call to the * pSeries LPAR hypervisor. */ #include <linux/jump_label.h> #include <asm/hvcall.h> #include <asm/processor.h> #include <asm/ppc_asm.h> #include <asm/asm-offsets.h> #include <asm/ptrace.h> #i...
Linux kernel'inin 'arch/powerpc/platforms/pseries/papr-indices' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only #define pr_fmt(fmt) "papr-indices: " fmt #include <linux/build_bug.h> #include <linux/file.h> #include <linux/fs.h> #include <linux/init.h> #include <linux/lockdep.h> #include <linux/kernel.h> #include <linux/miscdevice.h> #include <linux/signal.h> #include <linux/slab.h>...
Linux kernel'inin 'arch/powerpc/platforms/pseries/firmware' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * pSeries firmware setup code. * * Portions from arch/powerpc/platforms/pseries/setup.c: * Copyright (C) 1995 Linus Torvalds * Adapted from 'alpha' version by Gary Thomas * Modified by Cort Dougan (cort@cs.nmt.edu) * Modified by PPC64 Team, IBM Corp...
Linux kernel'inin 'arch/powerpc/platforms/pseries/hotplug-cpu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * pseries CPU Hotplug infrastructure. * * Split out from arch/powerpc/platforms/pseries/setup.c * arch/powerpc/kernel/rtas.c, and arch/powerpc/platforms/pseries/smp.c * * Peter Bergner, IBM March 2001. * Copyright (C) 2001 IBM. * Dave Engebretsen, Peter Berg...
Linux kernel'inin 'arch/powerpc/platforms/pseries/papr-hvpipe' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only #define pr_fmt(fmt) "papr-hvpipe: " fmt #include <linux/module.h> #include <linux/kernel.h> #include <linux/types.h> #include <linux/delay.h> #include <linux/anon_inodes.h> #include <linux/miscdevice.h> #include <linux/file.h> #include <linux/fs.h> #include <linux/poll.h>...
Linux kernel'inin 'arch/powerpc/platforms/pseries/papr-platform-dump' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only #define pr_fmt(fmt) "papr-platform-dump: " fmt #include <linux/anon_inodes.h> #include <linux/file.h> #include <linux/fs.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/miscdevice.h> #include <asm/machdep.h> #include <asm/rtas-work-area.h> #include <a...
Linux kernel'inin 'arch/powerpc/platforms/pseries/hvcserver' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * hvcserver.c * Copyright (C) 2004 Ryan S Arnold, IBM Corporation * * PPC64 virtual I/O console server support. */ #include <linux/kernel.h> #include <linux/list.h> #include <linux/module.h> #include <linux/slab.h> #include <linux/string.h> #include <asm/hvcal...
Linux kernel'inin 'arch/powerpc/platforms/pseries/rtas-work-area' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only #define pr_fmt(fmt) "rtas-work-area: " fmt #include <linux/genalloc.h> #include <linux/log2.h> #include <linux/kernel.h> #include <linux/memblock.h> #include <linux/mempool.h> #include <linux/minmax.h> #include <linux/mutex.h> #include <linux/numa.h> #include <linux/sizes...
Linux kernel'inin 'arch/powerpc/platforms/pseries/kexec' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2006 Michael Ellerman, IBM Corporation */ #include <linux/kernel.h> #include <linux/interrupt.h> #include <asm/setup.h> #include <asm/page.h> #include <asm/firmware.h> #include <asm/kexec.h> #include <asm/xics.h> #include <asm/xive.h> #include <asm/s...
Linux kernel'inin 'arch/powerpc/platforms/pseries/htmdump' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) IBM Corporation, 2024 */ #define pr_fmt(fmt) "htmdump: " fmt #include <linux/debugfs.h> #include <linux/module.h> #include <asm/io.h> #include <asm/machdep.h> #include <asm/plpar_wrappers.h> #include <asm/kvm_guest.h> static void *htm_buf; static...
Linux kernel'inin 'arch/powerpc/platforms/pseries/ras' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2001 Dave Engebretsen IBM Corporation */ #include <linux/sched.h> #include <linux/interrupt.h> #include <linux/irq.h> #include <linux/of.h> #include <linux/fs.h> #include <linux/reboot.h> #include <linux/irq_work.h> #include <asm/machdep.h> #inclu...
Linux kernel'inin 'arch/powerpc/platforms/pseries/setup' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * 64-bit pSeries and RS/6000 setup code. * * Copyright (C) 1995 Linus Torvalds * Adapted from 'alpha' version by Gary Thomas * Modified by Cort Dougan (cort@cs.nmt.edu) * Modified by PPC64 Team, IBM Corp */ /* * bootup setup stuff.. */ #include <linu...
Linux kernel'inin 'arch/powerpc/platforms/pseries/ibmebus' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * IBM PowerPC IBM eBus Infrastructure Support. * * Copyright (c) 2005 IBM Corporation * Joachim Fenkes <fenkes@de.ibm.com> * Heiko J Schick <schickhj@de.ibm.com> * * All rights reserved. * * This source code is distributed under a dual license of GPL v2.0 and OpenIB * BSD. * * OpenIB BSD License ...
Linux kernel'inin 'arch/powerpc/platforms/pseries/io_event_irq' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2010 2011 Mark Nelson and Tseng-Hui (Frank) Lin, IBM Corporation */ #include <linux/errno.h> #include <linux/slab.h> #include <linux/export.h> #include <linux/irq.h> #include <linux/interrupt.h> #include <linux/of.h> #include <linux/list.h> #include <l...
Linux kernel'inin 'arch/powerpc/platforms/pseries/smp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * SMP support for pSeries machines. * * Dave Engebretsen, Peter Bergner, and * Mike Corrigan {engebret|bergner|mikec}@us.ibm.com * * Plus various changes from other IBM teams... */ #include <linux/kernel.h> #include <linux/sched.h> #include <linux/smp.h> #in...
Linux kernel'inin 'arch/powerpc/platforms/pseries/pci' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2001 Dave Engebretsen, IBM Corporation * Copyright (C) 2003 Anton Blanchard <anton@au.ibm.com>, IBM * * pSeries specific routines for PCI. */ #include <linux/init.h> #include <linux/ioport.h> #include <linux/kernel.h> #include <linux/pci.h> #inc...
Linux kernel'inin 'arch/powerpc/platforms/pseries/vas' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2020-21 IBM Corp. */ #define pr_fmt(fmt) "vas: " fmt #include <linux/module.h> #include <linux/kernel.h> #include <linux/export.h> #include <linux/types.h> #include <linux/delay.h> #include <linux/slab.h> #include <linux/interrupt.h> #include <linux/i...
Linux kernel'inin 'arch/powerpc/platforms/pseries/mobility' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Support for Partition Mobility/Migration * * Copyright (C) 2010 Nathan Fontenot * Copyright (C) 2010 IBM Corporation */ #define pr_fmt(fmt) "mobility: " fmt #include <linux/cpu.h> #include <linux/kernel.h> #include <linux/kobject.h> #include <linux/nmi.h> #incl...
Linux kernel'inin 'arch/powerpc/platforms/pseries/papr_scm' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #define pr_fmt(fmt) "papr-scm: " fmt #include <linux/of.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/ioport.h> #include <linux/seq_file.h> #include <linux/slab.h> #include <linux/ndctl.h> #include <linux/sched.h> #include <linux/libnvdimm.h> #include ...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/pseries/pseries' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright 2006 IBM Corporation. */ #ifndef _PSERIES_PSERIES_H #define _PSERIES_PSERIES_H #include <linux/interrupt.h> #include <asm/rtas.h> struct device_node; void __init request_event_sources_irqs(struct device_node *np, irq_handler_t handler,...
Linux kernel'inin 'arch/powerpc/platforms/pseries/papr-sysparm' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only #define pr_fmt(fmt) "papr-sysparm: " fmt #include <linux/anon_inodes.h> #include <linux/bug.h> #include <linux/file.h> #include <linux/fs.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/miscdevice.h> #include <linux/printk.h> #include <linux/slab.h> #...
Linux kernel'inin 'arch/powerpc/platforms/pseries/papr-phy-attest' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only #define pr_fmt(fmt) "papr-phy-attest: " fmt #include <linux/build_bug.h> #include <linux/file.h> #include <linux/fs.h> #include <linux/init.h> #include <linux/lockdep.h> #include <linux/kernel.h> #include <linux/miscdevice.h> #include <linux/signal.h> #include <linux/slab...
Linux kernel'inin 'arch/powerpc/platforms/pseries/msi' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2006 Jake Moilanen <moilanen@austin.ibm.com>, IBM Corp. * Copyright 2006-2007 Michael Ellerman, IBM Corp. */ #include <linux/crash_dump.h> #include <linux/device.h> #include <linux/irq.h> #include <linux/irqchip/irq-msi-lib.h> #include <linux/irqdomain.h>...
Linux kernel'inin 'arch/powerpc/platforms/pseries/rng' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2013, Michael Ellerman, IBM Corporation. */ #define pr_fmt(fmt) "pseries-rng: " fmt #include <linux/kernel.h> #include <linux/of.h> #include <asm/archrandom.h> #include <asm/machdep.h> #include <asm/plpar_wrappers.h> #include "pseries.h" static int ...
Linux kernel'inin 'arch/powerpc/platforms/pseries/pmem' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Handles hot and cold plug of persistent memory regions on pseries. */ #define pr_fmt(fmt) "pseries-pmem: " fmt #include <linux/kernel.h> #include <linux/interrupt.h> #include <linux/delay.h> #include <linux/sched.h> /* for idle_task_exit */ #include <linux/sched/ho...
Linux kernel'inin 'arch/powerpc/platforms/pseries/cc_platform' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Confidential Computing Platform Capability checks * * Copyright (C) 2021 Advanced Micro Devices, Inc. * * Author: Tom Lendacky <thomas.lendacky@amd.com> */ #include <linux/export.h> #include <linux/cc_platform.h> #include <asm/machdep.h> #include <asm/svm.h> b...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/pseries/papr-hvpipe' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ #ifndef _PAPR_HVPIPE_H #define _PAPR_HVPIPE_H #define HVPIPE_HMC_ID_MASK 0x02000000 /*02-HMC,00-reserved and HMC ID */ #define HVPIPE_MAX_WRITE_BUFFER_SIZE 4048 /* * hvpipe specific RTAS return values */ #define RTAS_HVPIPE_CLOSED -4 #define HVPIPE_HDR_LEN sizeof(st...
Linux kernel'inin 'arch/powerpc/platforms/pseries/nvram' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * c 2001 PPC 64 Team, IBM Corp * * /dev/nvram driver for PPC64 */ #include <linux/types.h> #include <linux/errno.h> #include <linux/init.h> #include <linux/spinlock.h> #include <linux/slab.h> #include <linux/ctype.h> #include <linux/uaccess.h> #include <linux/...
Linux kernel'inin 'arch/powerpc/platforms/pseries/lparcfg' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * PowerPC64 LPAR Configuration Information Driver * * Dave Engebretsen engebret@us.ibm.com * Copyright (c) 2003 Dave Engebretsen * Will Schmidt willschm@us.ibm.com * SPLPAR updates, Copyright (c) 2003 Will Schmidt IBM Corporation. * seq_file updates, ...
Linux kernel'inin 'arch/powerpc/platforms/pseries/hvconsole' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * hvconsole.c * Copyright (C) 2004 Hollis Blanchard, IBM Corporation * Copyright (C) 2004 IBM Corporation * * Additional Author(s): * Ryan S. Arnold <rsa@us.ibm.com> * * LPAR console support. */ #include <linux/kernel.h> #include <linux/export.h> #include ...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/pseries/papr-rtas-common' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ #ifndef _ASM_POWERPC_PAPR_RTAS_COMMON_H #define _ASM_POWERPC_PAPR_RTAS_COMMON_H #include <linux/types.h> /* * Return codes for sequence based RTAS calls. * Not listed under PAPR+ v2.13 7.2.8: "Return Codes". * But defined in the specific section of each RTAS call. ...
Linux kernel'inin 'arch/powerpc/platforms/512x/pdm360ng' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2010 DENX Software Engineering * * Anatolij Gustschin, <agust@denx.de> * * PDM360NG board setup */ #include <linux/device.h> #include <linux/kernel.h> #include <linux/io.h> #include <linux/of.h> #include <linux/of_address.h> #include <linux/of_...
Linux kernel'inin 'arch/powerpc/platforms/512x/mpc5121_ads' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007, 2008 Freescale Semiconductor, Inc. All rights reserved. * * Author: John Rigby, <jrigby@freescale.com>, Thur Mar 29 2007 * * Description: * MPC5121 ADS board setup */ #include <linux/kernel.h> #include <linux/io.h> #include <linux/of.h> ...
Linux kernel'inin 'arch/powerpc/platforms/512x/mpc512x_generic' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007,2008 Freescale Semiconductor, Inc. All rights reserved. * * Author: John Rigby, <jrigby@freescale.com> * * Description: * MPC512x SoC setup */ #include <linux/kernel.h> #include <linux/of.h> #include <asm/machdep.h> #include <asm/ipic.h>...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/512x/mpc5121_ads' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2008 Freescale Semiconductor, Inc. All rights reserved. * * Prototypes for ADS5121 specific code */ #ifndef __MPC512ADS_H__ #define __MPC512ADS_H__ extern void __init mpc5121_ads_cpld_map(void); extern void __init mpc5121_ads_cpld_pic_init(voi...
Linux kernel'inin 'arch/powerpc/platforms/512x/mpc5121_ads_cpld' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2008 Freescale Semiconductor, Inc. All rights reserved. * * Author: John Rigby, <jrigby@freescale.com> * * Description: * MPC5121ADS CPLD irq handling */ #undef DEBUG #include <linux/kernel.h> #include <linux/interrupt.h> #include <linux/irq....
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/512x/mpc512x' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved. * * Prototypes for MPC512x shared code */ #ifndef __MPC512X_H__ #define __MPC512X_H__ extern void __init mpc512x_init_IRQ(void); extern void __init mpc512x_init_early(void); extern void _...
Linux kernel'inin 'arch/powerpc/platforms/512x/clock-commonclk' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2013 DENX Software Engineering * * Gerhard Sittig, <gsi@denx.de> * * common clock driver support for the MPC512x platform */ #include <linux/bitops.h> #include <linux/clk.h> #include <linux/clk-provider.h> #include <linux/clkdev.h> #include <li...
Linux kernel'inin 'arch/powerpc/platforms/512x/mpc512x_lpbfifo' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * The driver for Freescale MPC512x LocalPlus Bus FIFO * (called SCLPC in the Reference Manual). * * Copyright (C) 2013-2015 Alexander Popov <alex.popov@linux.com>. */ #include <linux/interrupt.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/o...
Linux kernel'inin 'arch/powerpc/platforms/512x/mpc512x_shared' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007,2008 Freescale Semiconductor, Inc. All rights reserved. * * Author: John Rigby <jrigby@freescale.com> * * Description: * MPC512x Shared code */ #include <linux/clk.h> #include <linux/kernel.h> #include <linux/io.h> #include <linux/irq.h> ...
Linux kernel'inin 'arch/powerpc/platforms/83xx/suspend' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * MPC83xx suspend support * * Author: Scott Wood <scottwood@freescale.com> * * Copyright (c) 2006-2007 Freescale Semiconductor, Inc. */ #include <linux/pm.h> #include <linux/types.h> #include <linux/ioport.h> #include <linux/interrupt.h> #include <linux/wait.h> #i...
Linux kernel'inin 'arch/powerpc/platforms/83xx/mpc830x_rdb' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * arch/powerpc/platforms/83xx/mpc830x_rdb.c * * Description: MPC830x RDB board specific routines. * This file is based on mpc831x_rdb.c * * Copyright (C) Freescale Semiconductor, Inc. 2009. All rights reserved. * Copyright (C) 2010. Ilya Yanok, Emcraft Systems...
Linux kernel'inin 'arch/powerpc/platforms/83xx/asp834x' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * arch/powerpc/platforms/83xx/asp834x.c * * Analogue & Micro ASP8347 board specific routines * clone of mpc834x_itx * * Copyright 2008 Codehermit * * Maintainer: Bryan O'Donoghue <bodonoghue@codhermit.ie> */ #include <linux/pci.h> #include <linux/of_platfor...
Linux kernel'inin 'arch/powerpc/platforms/83xx/mcu_mpc8349emitx' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Power Management and GPIO expander driver for MPC8349E-mITX-compatible MCU * * Copyright (c) 2008 MontaVista Software, Inc. * * Author: Anton Vorontsov <avorontsov@ru.mvista.com> */ #include <linux/kernel.h> #include <linux/mod_devicetable.h> #include <linu...
Linux kernel'inin 'arch/powerpc/platforms/83xx/usb_837x' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Freescale 83xx USB SOC setup code * * Copyright (C) 2007 Freescale Semiconductor, Inc. * Author: Li Yang */ #include <linux/stddef.h> #include <linux/kernel.h> #include <linux/errno.h> #include <linux/of.h> #include <linux/of_address.h> #include <linux/io.h> ...
Linux kernel'inin 'arch/powerpc/platforms/83xx/mpc834x_itx' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * arch/powerpc/platforms/83xx/mpc834x_itx.c * * MPC834x ITX board specific routines * * Maintainer: Kumar Gala <galak@kernel.crashing.org> */ #include <linux/stddef.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/errno.h> #include <linux/r...
Linux kernel'inin 'arch/powerpc/platforms/83xx/mpc831x_rdb' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * arch/powerpc/platforms/83xx/mpc831x_rdb.c * * Description: MPC831x RDB board specific routines. * This file is based on mpc834x_sys.c * Author: Lo Wlison <r43300@freescale.com> * * Copyright (C) Freescale Semiconductor, Inc. 2006. All rights reserved. */ #...
Linux kernel'inin 'arch/powerpc/platforms/83xx/km83xx' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2008-2011 DENX Software Engineering GmbH * Author: Heiko Schocher <hs@denx.de> * * Description: * Keymile 83xx platform specific routines. */ #include <linux/stddef.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/errno.h> #incl...
Linux kernel'inin 'arch/powerpc/platforms/83xx/usb_831x' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Freescale 83xx USB SOC setup code * * Copyright (C) 2007 Freescale Semiconductor, Inc. * Author: Li Yang */ #include <linux/stddef.h> #include <linux/kernel.h> #include <linux/errno.h> #include <linux/of.h> #include <linux/of_address.h> #include <linux/io.h> ...
Linux kernel'inin 'arch/powerpc/platforms/83xx/misc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * misc setup functions for MPC83xx * * Maintainer: Kumar Gala <galak@kernel.crashing.org> */ #include <linux/stddef.h> #include <linux/kernel.h> #include <linux/of_platform.h> #include <linux/pci.h> #include <asm/debug.h> #include <asm/io.h> #include <asm/hw_ir...
Linux kernel'inin 'arch/powerpc/platforms/83xx/mpc836x_rdk' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * MPC8360E-RDK board file. * * Copyright (c) 2006 Freescale Semiconductor, Inc. * Copyright (c) 2007-2008 MontaVista Software, Inc. * * Author: Anton Vorontsov <avorontsov@ru.mvista.com> */ #include <linux/kernel.h> #include <linux/pci.h> #include <linux/of...
Linux kernel'inin 'arch/powerpc/platforms/83xx/mpc837x_rdb' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * arch/powerpc/platforms/83xx/mpc837x_rdb.c * * Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved. * * MPC837x RDB board specific routines */ #include <linux/pci.h> #include <linux/of_platform.h> #include <asm/time.h> #include <asm/ipic.h> ...
Linux kernel'inin 'arch/powerpc/platforms/83xx/usb_834x' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Freescale 83xx USB SOC setup code * * Copyright (C) 2007 Freescale Semiconductor, Inc. * Author: Li Yang */ #include <linux/stddef.h> #include <linux/kernel.h> #include <linux/errno.h> #include <linux/of.h> #include <linux/of_address.h> #include <linux/io.h> ...
Linux kernel'inin 'arch/powerpc/platforms/83xx/mpc832x_rdb' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * arch/powerpc/platforms/83xx/mpc832x_rdb.c * * Copyright (C) Freescale Semiconductor, Inc. 2007. All rights reserved. * * Description: * MPC832x RDB board specific routines. * This file is based on mpc832x_mds.c and mpc8313_rdb.c * Author: Michael Barkowski ...
Linux kernel'inde 'arch/powerpc/platforms/83xx/suspend-asm' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Enter and leave deep sleep state on MPC83xx * * Copyright (c) 2006-2008 Freescale Semiconductor, Inc. * Author: Scott Wood <scottwood@freescale.com> */ #include <asm/page.h> #include <asm/ppc_asm.h> #include <asm/reg.h> #include <asm/asm-offsets.h> #de...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/83xx/mpc83xx' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __MPC83XX_H__ #define __MPC83XX_H__ #include <linux/init.h> /* System Clock Control Register */ #define MPC83XX_SCCR_OFFS 0xA08 #define MPC83XX_SCCR_USB_MASK 0x00f00000 #define MPC83XX_SCCR_USB_MPHCM_11 0x00c00000 #define MPC83XX_SCCR_USB_MPHCM_01 0x...
Linux kernel'inin 'arch/powerpc/platforms/powermac/udbg_adb' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/string.h> #include <linux/kernel.h> #include <linux/errno.h> #include <linux/bitops.h> #include <linux/ptrace.h> #include <linux/adb.h> #include <linux/pmu.h> #include <linux/cuda.h> #include <linux/of.h> #include <asm/machdep.h> #include <asm/io.h> #include <asm...
Linux kernel'inin 'arch/powerpc/platforms/powermac/bootx_init' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Early boot support code for BootX bootloader * * Copyright (C) 2005 Ben. Herrenschmidt (benh@kernel.crashing.org) */ #include <linux/kernel.h> #include <linux/string.h> #include <linux/init.h> #include <linux/of_fdt.h> #include <generated/utsrelease.h> #incl...
Linux kernel'inin 'arch/powerpc/platforms/powermac/feature' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 1996-2001 Paul Mackerras (paulus@cs.anu.edu.au) * Ben. Herrenschmidt (benh@kernel.crashing.org) * * TODO: * * - Replace mdelay with some schedule loop if possible * - Shorten some obfuscated delays on some routine...
Linux kernel'inde 'arch/powerpc/platforms/powermac/cache' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This file contains low-level cache management functions * used for sleep and CPU speed changes on Apple machines. * (In fact the only thing that is Apple-specific is that we assume * that we can read from ROM at physical address 0xfff00000.) * * ...
Linux kernel'inin 'arch/powerpc/platforms/powermac/pfunc_core' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * * FIXME: Properly make this race free with refcounting etc... * * FIXME: LOCKING !!! */ #include <linux/delay.h> #include <linux/kernel.h> #include <linux/spinlock.h> #include <linux/slab.h> #include <linux/module.h> #include <linux/mutex.h> #include <linux/of.h>...
Linux kernel'inin 'arch/powerpc/platforms/powermac/low_i2c' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * arch/powerpc/platforms/powermac/low_i2c.c * * Copyright (C) 2003-2005 Ben. Herrenschmidt (benh@kernel.crashing.org) * * The linux i2c layer isn't completely suitable for our needs for various * reasons ranging from too late initialisation to semantics not pe...
Linux kernel'inin 'arch/powerpc/platforms/powermac/pfunc_base' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/types.h> #include <linux/init.h> #include <linux/delay.h> #include <linux/kernel.h> #include <linux/interrupt.h> #include <linux/spinlock.h> #include <linux/of_irq.h> #include <asm/pmac_feature.h> #include <asm/pmac_pfunc.h> #undef DEBUG #ifdef DEBUG #define DB...
Linux kernel'inin 'arch/powerpc/platforms/powermac/time' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Support for periodic interrupts (100 per second) and for getting * the current time from the RTC on Power Macintoshes. * * We use the decrementer register for our periodic interrupts. * * Paul Mackerras August 1996. * Copyright (C) 1996 Paul Mackerras. * Copyright (...
Linux kernel'inde 'arch/powerpc/platforms/powermac/sleep' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This file contains sleep low-level functions for PowerBook G3. * Copyright (C) 1999 Benjamin Herrenschmidt (benh@kernel.crashing.org) * and Paul Mackerras (paulus@samba.org). */ #include <asm/processor.h> #include <asm/page.h> #include <asm/ppc...
Linux kernel'inin 'arch/powerpc/platforms/powermac/setup' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Powermac setup and early boot code plus other random bits. * * PowerPC version * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) * * Adapted for Power Macintosh by Paul Mackerras * Copyright (C) 1996 Paul Mackerras (paulus@samba.org) * * D...
Linux kernel'inin 'arch/powerpc/platforms/powermac/smp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * SMP support for power macintosh. * * We support both the old "powersurge" SMP architecture * and the current Core99 (G4 PowerMac) machines. * * Note that we don't support the very first rev. of * Apple/DayStar 2 CPUs board, the one with the funky * watchdog...
Linux kernel'inin 'arch/powerpc/platforms/powermac/pci' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Support for PCI bridges found on Power Macintoshes. * * Copyright (C) 2003-2005 Benjamin Herrenschmuidt (benh@kernel.crashing.org) * Copyright (C) 1997 Paul Mackerras (paulus@samba.org) */ #include <linux/kernel.h> #include <linux/pci.h> #include <linux/delay...
Linux kernel'inin 'arch/powerpc/platforms/powermac/udbg_scc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * udbg for zilog scc ports as found on Apple PowerMacs * * Copyright (C) 2001-2005 PPC 64 Team, IBM Corp */ #include <linux/types.h> #include <linux/of.h> #include <asm/udbg.h> #include <asm/processor.h> #include <asm/io.h> #include <asm/pmac_feature.h> extern u...
Linux kernel'inin 'arch/powerpc/platforms/powermac/backlight' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Miscellaneous procedures for dealing with the PowerMac hardware. * Contains support for the backlight. * * Copyright (C) 2000 Benjamin Herrenschmidt * Copyright (C) 2006 Michael Hanselmann <linux-kernel@hansmi.ch> * */ #include <linux/kernel.h> #include <li...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/powermac/pmac' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __PMAC_H__ #define __PMAC_H__ #include <linux/pci.h> #include <linux/irq.h> #include <asm/pmac_feature.h> /* * Declaration for the various functions exported by the * pmac_* files. Mostly for use by pmac_setup */ struct rtc_time; extern int pmac_newworld; voi...
Linux kernel'inin 'arch/powerpc/platforms/powermac/pic' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Support for the interrupt controllers found on Power Macintosh, * currently Apple's "Grand Central" interrupt controller in all * its incarnations. OpenPIC support used on newer machines is * in a separate file * * Copyright (C) 1997 Paul Mackerras (paul...
Linux kernel'inin 'arch/powerpc/platforms/powermac/nvram' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2002 Benjamin Herrenschmidt (benh@kernel.crashing.org) * * Todo: - add support for the OF persistent properties */ #include <linux/export.h> #include <linux/kernel.h> #include <linux/stddef.h> #include <linux/string.h> #include <linux/nvram.h> #...
Linux kernel'inin 'arch/powerpc/platforms/86xx/mvme7100' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Board setup routines for the Emerson/Artesyn MVME7100 * * Copyright 2016 Elettra-Sincrotrone Trieste S.C.p.A. * * Author: Alessio Igor Bogani <alessio.bogani@elettra.eu> * * Based on earlier code by: * * Ajit Prem <ajit.prem@emerson.com> * Copyright 2008 ...
Linux kernel'inin 'arch/powerpc/platforms/86xx/gef_sbc310' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * GE SBC310 board support * * Author: Martyn Welch <martyn.welch@ge.com> * * Copyright 2008 GE Intelligent Platforms Embedded Systems, Inc. * * Based on: mpc86xx_hpcn.c (MPC86xx HPCN board specific routines) * Copyright 2006 Freescale Semiconductor Inc. * *...
Linux kernel'inin 'arch/powerpc/platforms/86xx/mpc86xx_smp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Author: Xianghua Xiao <x.xiao@freescale.com> * Zhang Wei <wei.zhang@freescale.com> * * Copyright 2006 Freescale Semiconductor Inc. */ #include <linux/stddef.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/delay.h> #include <linux/...
Linux kernel'inin 'arch/powerpc/platforms/86xx/gef_sbc610' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * GE SBC610 board support * * Author: Martyn Welch <martyn.welch@ge.com> * * Copyright 2008 GE Intelligent Platforms Embedded Systems, Inc. * * Based on: mpc86xx_hpcn.c (MPC86xx HPCN board specific routines) * Copyright 2006 Freescale Semiconductor Inc. * *...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/86xx/mpc86xx' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright 2006 Freescale Semiconductor Inc. */ #ifndef __MPC86XX_H__ #define __MPC86XX_H__ /* * Declaration for the various functions exported by the * mpc86xx_* files. Mostly for use by mpc86xx_setup(). */ extern void mpc86xx_smp_init(void); extern void...
Linux kernel'inin 'arch/powerpc/platforms/86xx/pic' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2008 Freescale Semiconductor, Inc. */ #include <linux/stddef.h> #include <linux/kernel.h> #include <linux/interrupt.h> #include <linux/of.h> #include <linux/of_irq.h> #include <asm/mpic.h> #include <asm/i8259.h> #include "mpc86xx.h" #ifdef CONFIG_PP...
Linux kernel'inin 'arch/powerpc/platforms/86xx/common' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Routines common to most mpc86xx-based boards. */ #include <linux/init.h> #include <linux/mod_devicetable.h> #include <linux/of_platform.h> #include <asm/reg.h> #include <asm/synch.h> #include "mpc86xx.h" static const struct of_device_id mpc86xx_common_ids[] __init...
Linux kernel'inin 'arch/powerpc/platforms/86xx/gef_ppc9a' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * GE PPC9A board support * * Author: Martyn Welch <martyn.welch@ge.com> * * Copyright 2008 GE Intelligent Platforms Embedded Systems, Inc. * * Based on: mpc86xx_hpcn.c (MPC86xx HPCN board specific routines) * Copyright 2006 Freescale Semiconductor Inc. * * ...
Linux kernel'inin 'arch/powerpc/platforms/pasemi/iommu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2005-2008, PA Semi, Inc * * Maintained by: Olof Johansson <olof@lixom.net> */ #undef DEBUG #include <linux/memblock.h> #include <linux/types.h> #include <linux/spinlock.h> #include <linux/pci.h> #include <linux/of.h> #include <asm/iommu.h> #include ...
Linux kernel'inin 'arch/powerpc/platforms/pasemi/idle' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2006-2007 PA Semi, Inc * * Maintained by: Olof Johansson <olof@lixom.net> */ #undef DEBUG #include <linux/kernel.h> #include <linux/string.h> #include <linux/irq.h> #include <asm/machdep.h> #include <asm/reg.h> #include <asm/smp.h> #include "pasem...
Linux kernel'inde 'arch/powerpc/platforms/pasemi/powersave' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2006-2007 PA Semi, Inc * * Maintained by: Olof Johansson <olof@lixom.net> */ #include <asm/processor.h> #include <asm/page.h> #include <asm/ppc_asm.h> #include <asm/cputable.h> #include <asm/cache.h> #include <asm/thread_info.h> #include <a...
Linux kernel'inin 'arch/powerpc/platforms/pasemi/time' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2006 PA Semi, Inc * * Maintained by: Olof Johansson <olof@lixom.net> */ #include <linux/time.h> #include <asm/time.h> #include "pasemi.h" time64_t __init pas_get_boot_time(void) { /* Let's just return a fake date right now */ return mktime64(200...
Linux kernel'inin 'arch/powerpc/platforms/pasemi/misc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007 PA Semi, Inc * * Parts based on arch/powerpc/sysdev/fsl_soc.c: * * 2006 (c) MontaVista Software, Inc. */ #include <linux/errno.h> #include <linux/kernel.h> #include <linux/pci.h> #include <linux/of.h> #include <linux/of_irq.h> #include <li...
Linux kernel'inin 'arch/powerpc/platforms/pasemi/dma_lib' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2006-2007 PA Semi, Inc * * Common functions for DMA access on PA Semi PWRficient */ #include <linux/kernel.h> #include <linux/export.h> #include <linux/pci.h> #include <linux/slab.h> #include <linux/of.h> #include <linux/of_address.h> #include <linux...
Linux kernel'inin 'arch/powerpc/platforms/pasemi/gpio_mdio' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2006-2007 PA Semi, Inc * * Author: Olof Johansson, PA Semi * * Maintained by: Olof Johansson <olof@lixom.net> * * Based on drivers/net/fs_enet/mii-bitbang.c. */ #include <linux/io.h> #include <linux/module.h> #include <linux/types.h> #include <li...
Linux kernel'inin 'arch/powerpc/platforms/pasemi/setup' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2006-2007 PA Semi, Inc * * Authors: Kip Walker, PA Semi * Olof Johansson, PA Semi * * Maintained by: Olof Johansson <olof@lixom.net> * * Based on arch/powerpc/platforms/maple/setup.c */ #include <linux/errno.h> #include <linux/kernel.h> #inc...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/pasemi/pasemi' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PASEMI_PASEMI_H #define _PASEMI_PASEMI_H extern time64_t pas_get_boot_time(void); extern void pas_pci_init(void); struct pci_dev; extern void pas_pci_dma_dev_setup(struct pci_dev *dev); void __iomem *__init pasemi_pci_getcfgaddr(struct pci_dev *dev, int offset); e...
Linux kernel'inin 'arch/powerpc/platforms/pasemi/pci' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2006 PA Semi, Inc * * Authors: Kip Walker, PA Semi * Olof Johansson, PA Semi * * Maintained by: Olof Johansson <olof@lixom.net> * * Based on arch/powerpc/platforms/maple/pci.c */ #include <linux/kernel.h> #include <linux/of_address.h> #incl...
Linux kernel'inin 'arch/powerpc/platforms/pasemi/msi' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2007, Olof Johansson, PA Semi * * Based on arch/powerpc/sysdev/mpic_u3msi.c: * * Copyright 2006, Segher Boessenkool, IBM Corporation. * Copyright 2006-2007, Michael Ellerman, IBM Corporation. */ #include <linux/irq.h> #include <linux/irqdomain.h> #inc...
Linux kernel'inin 'arch/powerpc/platforms/cell/spu_callbacks' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * System call callback functions for SPUs */ #undef DEBUG #include <linux/kallsyms.h> #include <linux/export.h> #include <linux/syscalls.h> #include <asm/spu.h> #include <asm/syscalls.h> #include <asm/unistd.h> /* * This table defines the system calls that an SPU ...
Linux kernel'inin 'arch/powerpc/platforms/cell/spu_syscalls' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * SPU file system -- system call stubs * * (C) Copyright IBM Deutschland Entwicklung GmbH 2005 * (C) Copyright 2006-2007, IBM Corporation * * Author: Arnd Bergmann <arndb@de.ibm.com> */ #include <linux/file.h> #include <linux/fs.h> #include <linux/module.h> #i...
Linux kernel'inin 'arch/powerpc/platforms/cell/spu_base' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Low-level SPU handling * * (C) Copyright IBM Deutschland Entwicklung GmbH 2005 * * Author: Arnd Bergmann <arndb@de.ibm.com> */ #undef DEBUG #include <linux/interrupt.h> #include <linux/list.h> #include <linux/init.h> #include <linux/ptrace.h> #include <linu...
Linux kernel'inin 'arch/powerpc/platforms/cell/spufs/spu_restore' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * spu_restore.c * * (C) Copyright IBM Corp. 2005 * * SPU-side context restore sequence outlined in * Synergistic Processor Element Book IV * * Author: Mark Nutter <mnutter@us.ibm.com> */ #ifndef LS_SIZE #define LS_SIZE 0x40000 /* 256K (in b...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/cell/spufs/spufs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * SPU file system * * (C) Copyright IBM Deutschland Entwicklung GmbH 2005 * * Author: Arnd Bergmann <arndb@de.ibm.com> */ #ifndef SPUFS_H #define SPUFS_H #include <linux/kref.h> #include <linux/mutex.h> #include <linux/spinlock.h> #include <linux/fs.h> #inc...