instruction
stringlengths
82
202
input
stringclasses
1 value
output
stringlengths
73
23.9M
Linux kernel'inin 'arch/powerpc/kernel/ptrace/ptrace-tm' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later #include <linux/regset.h> #include <asm/switch_to.h> #include <asm/tm.h> #include <asm/asm-prototypes.h> #include "ptrace-decl.h" void flush_tmregs_to_thread(struct task_struct *tsk) { /* * If task is not current, it will have been flushed already to * its thre...
Linux kernel'inin 'arch/powerpc/kernel/ptrace/ptrace-view' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later #include <linux/regset.h> #include <linux/elf.h> #include <linux/nospec.h> #include <linux/pkeys.h> #include "ptrace-decl.h" struct pt_regs_offset { const char *name; int offset; }; #define STR(s) #s /* convert to string */ #define REG_OFFSET_NAME(r) {.name = #r...
Linux kernel'inin 'arch/powerpc/kernel/ptrace/ptrace-spe' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later #include <linux/regset.h> #include <asm/switch_to.h> #include "ptrace-decl.h" /* * For get_evrregs/set_evrregs functions 'data' has the following layout: * * struct { * u32 evr[32]; * u64 acc; * u32 spefscr; * } */ int evr_active(struct task_struct *t...
Linux işletim sistemi çekirdeği için 'arch/powerpc/kernel/ptrace/ptrace-decl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ #include <linux/regset.h> /* * Set of msr bits that gdb can change on behalf of a process. */ #ifdef CONFIG_PPC_ADV_DEBUG_REGS #define MSR_DEBUGCHANGE 0 #else #define MSR_DEBUGCHANGE (MSR_SE | MSR_BE) #endif /* * Max register writeable via put_reg */ #ifdef CO...
Linux kernel'inin 'arch/powerpc/kernel/ptrace/ptrace-novsx' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later #include <linux/regset.h> #include <asm/switch_to.h> #include "ptrace-decl.h" /* * Regardless of transactions, 'fp_state' holds the current running * value of all FPR registers and 'ckfp_state' holds the last checkpointed * value of all FPR registers for the curr...
Linux kernel'inin 'arch/powerpc/kernel/ptrace/ptrace-adv' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later #include <linux/regset.h> #include <linux/hw_breakpoint.h> #include "ptrace-decl.h" void user_enable_single_step(struct task_struct *task) { struct pt_regs *regs = task->thread.regs; if (regs != NULL) { task->thread.debug.dbcr0 &= ~DBCR0_BT; task->thread.debug...
Linux kernel'inin 'arch/powerpc/kernel/ptrace/ptrace-noadv' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later #include <linux/regset.h> #include <linux/hw_breakpoint.h> #include <asm/debug.h> #include "ptrace-decl.h" void user_enable_single_step(struct task_struct *task) { struct pt_regs *regs = task->thread.regs; if (regs != NULL) regs_set_return_msr(regs, (regs->msr ...
Linux kernel'inin 'arch/powerpc/net/bpf_jit_comp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * eBPF JIT compiler * * Copyright 2016 Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> * IBM Corporation * * Based on the powerpc classic BPF JIT compiler by Matt Evans */ #include <linux/moduleloader.h> #include <asm/cacheflush.h> #include <asm/asm-compat.h> #...
Linux işletim sistemi çekirdeği için 'arch/powerpc/net/bpf_jit' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * bpf_jit.h: BPF JIT compiler for PPC * * Copyright 2011 Matt Evans <matt@ozlabs.org>, IBM Corporation * 2016 Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> */ #ifndef _BPF_JIT_H #define _BPF_JIT_H #ifndef __ASSEMBLER__ #include <asm/types.h> #include <a...
Linux kernel'inin 'arch/powerpc/net/bpf_jit_comp64' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * bpf_jit_comp64.c: eBPF JIT compiler * * Copyright 2016 Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> * IBM Corporation * * Based on the powerpc classic BPF JIT compiler by Matt Evans */ #include <linux/moduleloader.h> #include <asm/cacheflush.h> #include <a...
Linux kernel'inin 'arch/powerpc/net/bpf_jit_comp32' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * eBPF JIT compiler for PPC32 * * Copyright 2020 Christophe Leroy <christophe.leroy@csgroup.eu> * CS GROUP France * * Based on PPC64 eBPF JIT compiler by Naveen N. Rao */ #include <linux/moduleloader.h> #include <asm/cacheflush.h> #include <asm/asm-compat.h> #i...
Linux kernel'inin 'arch/powerpc/platforms/fsl_uli1575' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * ULI M1575 setup code - specific to Freescale boards * * Copyright 2007 Freescale Semiconductor Inc. */ #include <linux/stddef.h> #include <linux/kernel.h> #include <linux/pci.h> #include <linux/interrupt.h> #include <linux/mc146818rtc.h> #include <linux/of_irq...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/82xx/pq2' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PQ2_H #define _PQ2_H void __noreturn pq2_restart(char *cmd); #ifdef CONFIG_PCI int pq2ads_pci_init_irq(void); void pq2_init_pci(void); #else static inline int pq2ads_pci_init_irq(void) { return 0; } static inline void pq2_init_pci(void) { } #endif #endif ```
Linux kernel'inin 'arch/powerpc/platforms/82xx/ep8248e' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Embedded Planet EP8248E support * * Copyright 2007 Freescale Semiconductor, Inc. * Author: Scott Wood <scottwood@freescale.com> */ #include <linux/init.h> #include <linux/interrupt.h> #include <linux/fsl_devices.h> #include <linux/mdio-bitbang.h> #include <li...
Linux kernel'inin 'arch/powerpc/platforms/82xx/pq2' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Common PowerQUICC II code. * * Author: Scott Wood <scottwood@freescale.com> * Copyright (c) 2007 Freescale Semiconductor * * Based on code by Vitaly Bordug <vbordug@ru.mvista.com> * pq2_restart fix by Wade Farnsworth <wfarnsworth@mvista.com> * Copyright (c)...
Linux kernel'inin 'arch/powerpc/platforms/82xx/km82xx' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Keymile km82xx support * Copyright 2008-2011 DENX Software Engineering GmbH * Author: Heiko Schocher <hs@denx.de> * * based on code from: * Copyright 2007 Freescale Semiconductor, Inc. * Author: Scott Wood <scottwood@freescale.com> */ #include <linux/init....
Linux kernel'inin 'arch/powerpc/platforms/52xx/mpc5200_simple' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Support for 'mpc5200-simple-platform' compatible boards. * * Written by Marian Balakowicz <m8@semihalf.com> * Copyright (C) 2007 Semihalf * * Description: * This code implements support for a simple MPC52xx based boards which * do not need a custom platform...
Linux kernel'inin 'arch/powerpc/platforms/52xx/efika' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Efika 5K2 platform code * Some code really inspired from the lite5200b platform. * * Copyright (C) 2006 bplan GmbH * * 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. ...
Linux kernel'inde 'arch/powerpc/platforms/52xx/mpc52xx_sleep' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ #include <asm/reg.h> #include <asm/ppc_asm.h> #include <asm/processor.h> .text _GLOBAL(mpc52xx_deep_sleep) mpc52xx_deep_sleep: /* args r3-r6: SRAM, SDRAM regs, CDM regs, INTR regs */ /* enable interrupts */ mfmsr r7 ori r7, r7, 0x8000 /* EE */ mtmsr r7 sync; i...
Linux kernel'inin 'arch/powerpc/platforms/52xx/media5200' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Support for 'media5200-platform' compatible boards. * * Copyright (C) 2008 Secret Lab Technologies Ltd. * * Description: * This code implements support for the Freescape Media5200 platform * (built around the MPC5200 SoC). * * Notable characteristic of the...
Linux kernel'inin 'arch/powerpc/platforms/52xx/mpc52xx_pci' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * PCI code for the Freescale MPC52xx embedded CPU. * * Copyright (C) 2006 Secret Lab Technologies Ltd. * Grant Likely <grant.likely@secretlab.ca> * Copyright (C) 2004 Sylvain Munaut <tnt@246tNt.com> * * This file is licensed under the terms of the GNU General Public License * vers...
Linux kernel'inin 'arch/powerpc/platforms/52xx/lite5200_pm' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/init.h> #include <linux/suspend.h> #include <linux/of_address.h> #include <asm/io.h> #include <asm/time.h> #include <asm/mpc52xx.h> #include <asm/switch_to.h> /* defined in lite5200_sleep.S and only used here */ extern void lite5200_low_power(void __iomem *sram...
Linux kernel'inin 'arch/powerpc/platforms/52xx/mpc52xx_pic' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * * Programmable Interrupt Controller functions for the Freescale MPC52xx. * * Copyright (C) 2008 Secret Lab Technologies Ltd. * Copyright (C) 2006 bplan GmbH * Copyright (C) 2004 Sylvain Munaut <tnt@246tNt.com> * Copyright (C) 2003 Montavista Software, Inc * * Based on the code from the 2.4 kernel by ...
Linux kernel'inin 'arch/powerpc/platforms/52xx/lite5200' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Freescale Lite5200 board support * * Written by: Grant Likely <grant.likely@secretlab.ca> * * Copyright (C) Secret Lab Technologies Ltd. 2006. All rights reserved. * Copyright 2006 Freescale Semiconductor, Inc. All rights reserved. * * Description: */ #un...
Linux kernel'inde 'arch/powerpc/platforms/52xx/lite5200_sleep' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> #include <asm/reg.h> #include <asm/ppc_asm.h> #include <asm/processor.h> #include <asm/cache.h> #define SDRAM_CTRL 0x104 #define SC_MODE_EN (1<<31) #define SC_CKE (1<<30) #define SC_REF_EN (1<<28) #define SC_SOFT_PRE (1<<1) #define GPIOW...
Linux kernel'inin 'arch/powerpc/platforms/52xx/mpc52xx_common' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * * Utility functions for the Freescale MPC52xx. * * Copyright (C) 2006 Sylvain Munaut <tnt@246tNt.com> * * 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. * */ #undef...
Linux kernel'inin 'arch/powerpc/platforms/52xx/mpc52xx_gpt' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * MPC5200 General Purpose Timer device driver * * Copyright (c) 2009 Secret Lab Technologies Ltd. * Copyright (c) 2008 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix * * This file is a driver for the General Purpose Timer (gpt) devices * found on the MPC52...
Linux kernel'inin 'arch/powerpc/platforms/52xx/mpc52xx_pm' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/init.h> #include <linux/suspend.h> #include <linux/io.h> #include <linux/of_address.h> #include <asm/time.h> #include <asm/cacheflush.h> #include <asm/mpc52xx.h> /* these are defined in mpc52xx_sleep.S, and only used here */ extern void mpc52xx_deep_sleep(void ...
Linux kernel'inin 'arch/powerpc/platforms/8xx/ep88xc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Platform setup for the Embedded Planet EP88xC board * * Author: Scott Wood <scottwood@freescale.com> * Copyright 2007 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 * ki...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/8xx/mpc86xads' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * A collection of structures, addresses, and values associated with * the Freescale MPC86xADS board. * Copied from the FADS stuff. * * Author: MontaVista Software, Inc. * source@mvista.com * * 2005 (c) MontaVista Software, Inc. This file is licensed under the * terms of the GNU General Public ...
Linux kernel'inin 'arch/powerpc/platforms/8xx/mpc885ads_setup' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Platform setup for the Freescale mpc885ads board * * Vitaly Bordug <vbordug@ru.mvista.com> * * Copyright 2005 MontaVista Software Inc. * * Heavily modified by Scott Wood <scottwood@freescale.com> * Copyright 2007 Freescale Semiconductor, Inc. * * This file is licensed under the terms of the GNU Gene...
Linux kernel'inin 'arch/powerpc/platforms/8xx/adder875' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* Analogue & Micro Adder MPC875 board support * * Author: Scott Wood <scottwood@freescale.com> * * Copyright (c) 2007 Freescale Semiconductor, Inc. */ #include <linux/init.h> #include <linux/of_platform.h> #include <asm/time.h> #include <asm/machdep.h> #include <asm...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/8xx/mpc885ads' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * A collection of structures, addresses, and values associated with * the Freescale MPC885ADS board. * Copied from the FADS stuff. * * Author: MontaVista Software, Inc. * source@mvista.com * * 2005 (c) MontaVista Software, Inc. This file is licensed under the * terms of the GNU General Public ...
Linux kernel'inin 'arch/powerpc/platforms/8xx/mpc86xads_setup' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /*arch/powerpc/platforms/8xx/mpc86xads_setup.c * * Platform setup for the Freescale mpc86xads board * * Vitaly Bordug <vbordug@ru.mvista.com> * * Copyright 2005 MontaVista Software Inc. * * Heavily modified by Scott Wood <scottwood@freescale.com> * Copyright 2007 Freescale Semiconductor, Inc. * * This f...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/8xx/mpc8xx' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * Prototypes, etc. for the Freescale MPC8xx embedded cpu chips * May need to be cleaned as the port goes on ... * * Copyright (C) 2008 Jochen Friedrich <jochen@scram.de> * * This file is licensed under the terms of the GNU General Public License * version 2. This program is licensed "as is" without any w...
Linux kernel'inin 'arch/powerpc/platforms/8xx/micropatch' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Microcode patches for the CPM as supplied by Motorola. * This is the one for IIC/SPI. There is a newer one that * also relocates SMC2, but this would require additional changes * to uart.c, so I am holding off on that for a moment. */ #include <linux/init.h> #include...
Linux kernel'inin 'arch/powerpc/platforms/8xx/machine_check' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* */ #include <linux/kernel.h> #include <linux/printk.h> #include <linux/ptrace.h> #include <asm/reg.h> int machine_check_8xx(struct pt_regs *regs) { unsigned long reason = regs->msr; pr_err("Machine check in kernel mode.\n"); pr_err("Caused by (from SRR1=%lx):...
Linux kernel'inin 'arch/powerpc/platforms/8xx/cpm1' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * General Purpose functions for the global management of the * Communication Processor Module. * Copyright (c) 1997 Dan error_act (dmalek@jlc.net) * * In addition to the individual control of the communication * channels, there are a few functions that globally affect t...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/8xx/pic' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c #ifndef _PPC_KERNEL_MPC8xx_H #define _PPC_KERNEL_MPC8xx_H #include <linux/irq.h> #include <linux/interrupt.h> void mpc8xx_pic_init(void); unsigned int mpc8xx_get_irq(void); /* * Some internal interrupt registers use an 8-bit mask for the interrupt * level instead of a number. */ static inline uint mk_int_int...
Linux kernel'inin 'arch/powerpc/platforms/8xx/tqm8xx_setup' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Platform setup for the MPC8xx based boards from TQM. * * Heiko Schocher <hs@denx.de> * Copyright 2010 DENX Software Engineering GmbH * * based on: * Vitaly Bordug <vbordug@ru.mvista.com> * * Copyright 2005 MontaVista Software Inc. * * Heavily modified by Scott Wood <scottwood@freescale.com> * Copy...
Linux kernel'inin 'arch/powerpc/platforms/8xx/pic' alt sistemi için gerekli C kaynak kodunu implemente et.
```c #include <linux/kernel.h> #include <linux/stddef.h> #include <linux/sched.h> #include <linux/signal.h> #include <linux/irq.h> #include <linux/dma-mapping.h> #include <linux/of_address.h> #include <linux/of_irq.h> #include <asm/irq.h> #include <asm/io.h> #include <asm/8xx_immap.h> #include "pic.h" #define PIC_VE...
Linux kernel'inin 'arch/powerpc/platforms/8xx/cpm1-ic' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Interrupt controller for the * Communication Processor Module. * Copyright (c) 1997 Dan error_act (dmalek@jlc.net) */ #include <linux/kernel.h> #include <linux/interrupt.h> #include <linux/irqdomain.h> #include <linux/platform_device.h> #include <asm/cpm1.h> struct cpm...
Linux kernel'inin 'arch/powerpc/platforms/8xx/m8xx_setup' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 1995 Linus Torvalds * Adapted from 'alpha' version by Gary Thomas * Modified by Cort Dougan (cort@cs.nmt.edu) * Modified for MBX using prep/chrp/pmac functions by Dan (dmalek@jlc.net) * Further modified for generic 8xx by Dan. */ /* * bootup setu...
Linux kernel'inin 'arch/powerpc/platforms/ps3/system-bus' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * PS3 system bus driver. * * Copyright (C) 2006 Sony Computer Entertainment Inc. * Copyright 2006 Sony Corp. */ #include <linux/kernel.h> #include <linux/init.h> #include <linux/export.h> #include <linux/dma-map-ops.h> #include <linux/err.h> #include <linux/slab...
Linux kernel'inin 'arch/powerpc/platforms/ps3/mm' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * PS3 address space management. * * Copyright (C) 2006 Sony Computer Entertainment Inc. * Copyright 2006 Sony Corp. */ #include <linux/dma-mapping.h> #include <linux/kernel.h> #include <linux/export.h> #include <linux/memblock.h> #include <linux/slab.h> #includ...
Linux kernel'inde 'arch/powerpc/platforms/ps3/hvcall' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * PS3 hvcall interface. * * Copyright (C) 2006 Sony Computer Entertainment Inc. * Copyright 2006 Sony Corp. * Copyright 2003, 2004 (c) MontaVista Software, Inc. */ #include <asm/processor.h> #include <asm/ppc_asm.h> #include <asm/ptrace.h> #define l...
Linux kernel'inin 'arch/powerpc/platforms/ps3/gelic_udbg' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * udbg debug output routine via GELIC UDP broadcasts * * Copyright (C) 2007 Sony Computer Entertainment Inc. * Copyright 2006, 2007 Sony Corporation * Copyright (C) 2010 Hector Martin <hector@marcansoft.com> * Copyright (C) 2011 Andre Heider <a.heider@gmail.com...
Linux kernel'inin 'arch/powerpc/platforms/ps3/time' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * PS3 time and rtc routines. * * Copyright (C) 2006 Sony Computer Entertainment Inc. * Copyright 2006 Sony Corp. */ #include <linux/kernel.h> #include <linux/platform_device.h> #include <linux/rtc.h> #include <asm/firmware.h> #include <asm/lv1call.h> #include <...
Linux kernel'inin 'arch/powerpc/platforms/ps3/spu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * PS3 Platform spu routines. * * Copyright (C) 2006 Sony Computer Entertainment Inc. * Copyright 2006 Sony Corp. */ #include <linux/kernel.h> #include <linux/init.h> #include <linux/slab.h> #include <linux/mmzone.h> #include <linux/export.h> #include <linux/io.h...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/ps3/platform' 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(_PS3_PLATFORM_H) #define _PS3_PLATFORM_H #include <linux/rtc.h> #include <scsi/scsi.h> #include <asm/ps3.h> /* htab */ void __...
Linux kernel'inin 'arch/powerpc/platforms/ps3/setup' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * PS3 platform setup routines. * * Copyright (C) 2006 Sony Computer Entertainment Inc. * Copyright 2006 Sony Corp. */ #include <linux/kernel.h> #include <linux/delay.h> #include <linux/fs.h> #include <linux/root_dev.h> #include <linux/console.h> #include <linux/...
Linux kernel'inin 'arch/powerpc/platforms/ps3/smp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * PS3 SMP routines. * * Copyright (C) 2006 Sony Computer Entertainment Inc. * Copyright 2006 Sony Corp. */ #include <linux/kernel.h> #include <linux/smp.h> #include <asm/machdep.h> #include <asm/udbg.h> #include "platform.h" #if defined(DEBUG) #define DBG udb...
Linux kernel'inin 'arch/powerpc/platforms/ps3/htab' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * PS3 pagetable management routines. * * Copyright (C) 2006 Sony Computer Entertainment Inc. * Copyright 2006, 2007 Sony Corporation */ #include <linux/kernel.h> #include <linux/memblock.h> #include <asm/machdep.h> #include <asm/udbg.h> #include <asm/lv1call.h>...
Linux kernel'inin 'arch/powerpc/platforms/ps3/exports' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * PS3 hvcall exports for modules. * * Copyright (C) 2006 Sony Computer Entertainment Inc. * Copyright 2006 Sony Corp. */ #define LV1_CALL(name, in, out, num) \ extern s64 _lv1_##name(LV1_##in##_IN_##out##_OUT_ARG_DECL); \ EXPORT_SYMB...
Linux kernel'inin 'arch/powerpc/platforms/ps3/repository' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * PS3 repository routines. * * Copyright (C) 2006 Sony Computer Entertainment Inc. * Copyright 2006 Sony Corp. */ #include <asm/lv1call.h> #include "platform.h" enum ps3_vendor_id { PS3_VENDOR_ID_NONE = 0, PS3_VENDOR_ID_SONY = 0x8000000000000000UL, }; enum ...
Linux kernel'inin 'arch/powerpc/platforms/ps3/device-init' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * PS3 device registration routines. * * Copyright (C) 2007 Sony Computer Entertainment Inc. * Copyright 2007 Sony Corp. */ #include <linux/delay.h> #include <linux/freezer.h> #include <linux/kernel.h> #include <linux/kthread.h> #include <linux/init.h> #include <...
Linux kernel'inin 'arch/powerpc/platforms/ps3/interrupt' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * PS3 interrupt routines. * * Copyright (C) 2006 Sony Computer Entertainment Inc. * Copyright 2006 Sony Corp. */ #include <linux/kernel.h> #include <linux/export.h> #include <linux/irq.h> #include <linux/irqdomain.h> #include <asm/machdep.h> #include <asm/udbg....
Linux kernel'inin 'arch/powerpc/platforms/ps3/os-area' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * PS3 flash memory os area. * * Copyright (C) 2006 Sony Computer Entertainment Inc. * Copyright 2006 Sony Corp. */ #include <linux/kernel.h> #include <linux/io.h> #include <linux/workqueue.h> #include <linux/fs.h> #include <linux/syscalls.h> #include <linux/expo...
Linux kernel'inin 'arch/powerpc/platforms/embedded6xx/linkstation' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Board setup routines for the Buffalo Linkstation / Kurobox Platform. * * Copyright (C) 2006 G. Liakhovetski (g.liakhovetski@gmx.de) * * Based on sandpoint.c by Mark A. Greer * * This file is licensed under the terms of the GNU General Public License * version 2. This program is licensed "as is" witho...
Linux kernel'inin 'arch/powerpc/platforms/embedded6xx/storcenter' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Board setup routines for the storcenter * * Copyright 2007 (C) Oyvind Repvik (nail@nslu2-linux.org) * Copyright 2007 Andy Wilcox, Jon Loeliger * * Based on linkstation.c by G. Liakhovetski * * This file is licensed under the terms of the GNU General Public License * version 2. This program is licens...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/embedded6xx/flipper-pic' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * arch/powerpc/platforms/embedded6xx/flipper-pic.h * * Nintendo GameCube/Wii "Flipper" interrupt controller support. * Copyright (C) 2004-2009 The GameCube Linux Team * Copyright (C) 2007,2008,2009 Albert Herranz */ #ifndef __FLIPPER_PIC_H #define __FLIPPER...
Linux kernel'inin 'arch/powerpc/platforms/embedded6xx/mvme5100' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Board setup routines for the Motorola/Emerson MVME5100. * * Copyright 2013 CSC Australia Pty. Ltd. * * Based on earlier code by: * * Matt Porter, MontaVista Software Inc. * Copyright 2001 MontaVista Software Inc. * * Author: Stephen Chivers <schiver...
Linux kernel'inin 'arch/powerpc/platforms/embedded6xx/holly' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Board setup routines for the IBM 750GX/CL platform w/ TSI10x bridge * * Copyright 2007 IBM Corporation * * Stephen Winiecki <stevewin@us.ibm.com> * Josh Boyer <jwboyer@linux.vnet.ibm.com> * * Based on code from mpc7448_hpc2.c */ #include <linux/stddef.h> #inc...
Linux kernel'inin 'arch/powerpc/platforms/embedded6xx/flipper-pic' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * arch/powerpc/platforms/embedded6xx/flipper-pic.c * * Nintendo GameCube/Wii "Flipper" interrupt controller support. * Copyright (C) 2004-2009 The GameCube Linux Team * Copyright (C) 2007,2008,2009 Albert Herranz */ #define DRV_MODULE_NAME "flipper-pic" #define...
Linux kernel'inin 'arch/powerpc/platforms/embedded6xx/hlwd-pic' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * arch/powerpc/platforms/embedded6xx/hlwd-pic.c * * Nintendo Wii "Hollywood" interrupt controller support. * Copyright (C) 2009 The GameCube Linux Team * Copyright (C) 2009 Albert Herranz */ #define DRV_MODULE_NAME "hlwd-pic" #define pr_fmt(fmt) DRV_MODULE_NAME...
Linux kernel'inin 'arch/powerpc/platforms/embedded6xx/wii' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * arch/powerpc/platforms/embedded6xx/wii.c * * Nintendo Wii board-specific support * Copyright (C) 2008-2009 The GameCube Linux Team * Copyright (C) 2008,2009 Albert Herranz */ #define DRV_MODULE_NAME "wii" #define pr_fmt(fmt) DRV_MODULE_NAME ": " fmt #include...
Linux kernel'inin 'arch/powerpc/platforms/embedded6xx/ls_uart' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * AVR power-management chip interface for the Buffalo Linkstation / * Kurobox Platform. * * Author: 2006 (c) G. Liakhovetski * g.liakhovetski@gmx.de * * 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 işletim sistemi çekirdeği için 'arch/powerpc/platforms/embedded6xx/usbgecko_udbg' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * arch/powerpc/platforms/embedded6xx/usbgecko_udbg.h * * udbg serial input/output routines for the USB Gecko adapter. * Copyright (C) 2008-2009 The GameCube Linux Team * Copyright (C) 2008,2009 Albert Herranz */ #ifndef __USBGECKO_UDBG_H #define __USBGECKO_...
Linux kernel'inin 'arch/powerpc/platforms/embedded6xx/usbgecko_udbg' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * arch/powerpc/platforms/embedded6xx/usbgecko_udbg.c * * udbg serial input/output routines for the USB Gecko adapter. * Copyright (C) 2008-2009 The GameCube Linux Team * Copyright (C) 2008,2009 Albert Herranz */ #include <linux/of_address.h> #include <mm/mmu_...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/embedded6xx/mpc10x' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * Common routines for the Motorola SPS MPC106/8240/107 Host bridge/Mem * ctlr/EPIC/etc. * * Author: Mark A. Greer * mgreer@mvista.com * * 2001 (c) MontaVista, Software, Inc. This file is licensed under * the terms of the GNU General Public License version 2. This program * is licensed "as is"...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/embedded6xx/hlwd-pic' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * arch/powerpc/platforms/embedded6xx/hlwd-pic.h * * Nintendo Wii "Hollywood" interrupt controller support. * Copyright (C) 2009 The GameCube Linux Team * Copyright (C) 2009 Albert Herranz */ #ifndef __HLWD_PIC_H #define __HLWD_PIC_H extern unsigned int hlw...
Linux kernel'inin 'arch/powerpc/platforms/embedded6xx/gamecube' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * arch/powerpc/platforms/embedded6xx/gamecube.c * * Nintendo GameCube board-specific support * Copyright (C) 2004-2009 The GameCube Linux Team * Copyright (C) 2007,2008,2009 Albert Herranz */ #include <linux/kernel.h> #include <linux/init.h> #include <linux/ir...
Linux kernel'inin 'arch/powerpc/platforms/book3s/vas-api' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * VAS user space API for its accelerators (Only NX-GZIP is supported now) * Copyright (C) 2019 Haren Myneni, IBM Corp */ #define pr_fmt(fmt) "vas-api: " fmt #include <linux/kernel.h> #include <linux/device.h> #include <linux/cdev.h> #include <linux/fs.h> #includ...
Linux kernel'inin 'arch/powerpc/platforms/pseries/vphn' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <asm/byteorder.h> #include <asm/vphn.h> /* * The associativity domain numbers are returned from the hypervisor as a * stream of mixed 16-bit and 32-bit fields. The stream is terminated by the * special value of "all ones" (aka. 0xffff) and its size may not exceed 48...
Linux kernel'inin 'arch/powerpc/platforms/pseries/event_sources' 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/interrupt.h> #include <linux/of_irq.h> #include "pseries.h" void __init request_event_sources_irqs(struct device_node *np, irq_handler_t handler, const char *name) { int i, virq, r...
Linux kernel'inin 'arch/powerpc/platforms/pseries/pseries_energy' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * POWER platform energy management driver * Copyright (C) 2010 IBM Corporation * * This pseries platform device driver provides access to * platform energy management capabilities. */ #include <linux/module.h> #include <linux/types.h> #include <linux/errno.h> #inc...
Linux kernel'inin 'arch/powerpc/platforms/pseries/reconfig' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * pSeries_reconfig.c - support for dynamic reconfiguration (including PCI * Hotplug and Dynamic Logical Partitioning on RPA platforms). * * Copyright (C) 2005 Nathan Lynch * Copyright (C) 2005 IBM Corporation */ #include <linux/kernel.h> #include <linux/notifier.h...
Linux kernel'inin 'arch/powerpc/platforms/pseries/plpks_sed_ops' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * POWER Platform specific code for non-volatile SED key access * Copyright (C) 2022 IBM Corporation * * Define operations for SED Opal to read/write keys * from POWER LPAR Platform KeyStore(PLPKS). * * Self Encrypting Drives(SED) key storage using PLPKS */ #incl...
Linux kernel'inin 'arch/powerpc/platforms/pseries/hvCall_inst' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2006 Mike Kravetz IBM Corporation * * Hypervisor Call Instrumentation */ #include <linux/kernel.h> #include <linux/percpu.h> #include <linux/debugfs.h> #include <linux/seq_file.h> #include <linux/cpumask.h> #include <asm/hvcall.h> #include <asm/f...
Linux kernel'inin 'arch/powerpc/platforms/pseries/pci_dlpar' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * PCI Dynamic LPAR, PCI Hot Plug and PCI EEH recovery code * for RPA-compliant PPC64 platform. * Copyright (C) 2003 Linda Xie <lxie@us.ibm.com> * Copyright (C) 2005 International Business Machines * * Updates, 2005, John Rose <johnrose@austin.ibm.com> * Update...
Linux kernel'inin 'arch/powerpc/platforms/pseries/rtas-fadump' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Firmware-Assisted Dump support on POWERVM platform. * * Copyright 2011, Mahesh Salgaonkar, IBM Corporation. * Copyright 2019, Hari Bathini, IBM Corporation. */ #define pr_fmt(fmt) "rtas fadump: " fmt #include <linux/string.h> #include <linux/memblock.h> #inc...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/pseries/rtas-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 support on POWERVM platform. * * Copyright 2011, Mahesh Salgaonkar, IBM Corporation. * Copyright 2019, Hari Bathini, IBM Corporation. */ #ifndef _PSERIES_RTAS_FADUMP_H #define _PSERIES_RTAS_FADUMP_H /* * On some Power systems where...
Linux kernel'inin 'arch/powerpc/platforms/pseries/lpar' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * pSeries_lpar.c * Copyright (C) 2001 Todd Inglett, IBM Corporation * * pSeries LPAR support. */ /* Enables debugging of low-level hash table routines - careful! */ #undef DEBUG #define pr_fmt(fmt) "lpar: " fmt #include <linux/kernel.h> #include <linux/dma-map...
Linux kernel'inin 'arch/powerpc/platforms/pseries/iommu' alt sistemi için gerekli C kaynak kodunu implemente et.
```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 * Copyright (C) 2006 Olof Johansson <olof@lixom.net> * * Dynamic DMA mapping support, pSeries-...
Linux kernel'inin 'arch/powerpc/platforms/pseries/suspend' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2010 Brian King IBM Corporation */ #include <linux/cpu.h> #include <linux/delay.h> #include <linux/suspend.h> #include <linux/stat.h> #include <asm/firmware.h> #include <asm/hvcall.h> #include <asm/machdep.h> #include <asm/mmu.h> #include <asm/rt...
Linux kernel'inin 'arch/powerpc/platforms/pseries/svm' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * Secure VM platform * * Copyright 2018 IBM Corporation * Author: Anshuman Khandual <khandual@linux.vnet.ibm.com> */ #include <linux/mm.h> #include <linux/memblock.h> #include <linux/mem_encrypt.h> #include <linux/cc_platform.h> #include <asm/machdep.h> #include <asm/s...
Linux kernel'inin 'arch/powerpc/platforms/pseries/of_helpers' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/string.h> #include <linux/err.h> #include <linux/slab.h> #include <linux/of.h> #include <asm/prom.h> #include "of_helpers.h" /** * pseries_of_derive_parent - basically like dirname(1) * @path: the full_name of a node to be added to the tree * * Returns the...
Linux kernel'inin 'arch/powerpc/platforms/pseries/papr-rtas-common' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only #define pr_fmt(fmt) "papr-common: " fmt #include <linux/types.h> #include <linux/kernel.h> #include <linux/signal.h> #include <linux/slab.h> #include <linux/file.h> #include <linux/fs.h> #include <linux/anon_inodes.h> #include <linux/sched/signal.h> #include "papr-rtas-co...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/pseries/vas' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright 2020-21 IBM Corp. */ #ifndef _VAS_H #define _VAS_H #include <asm/vas.h> #include <linux/mutex.h> #include <linux/stringify.h> /* * VAS window modify flags */ #define VAS_MOD_WIN_CLOSE PPC_BIT(0) #define VAS_MOD_WIN_JOBS_KILL PPC_BIT(1) #define VA...
Linux kernel'inin 'arch/powerpc/platforms/pseries/vio' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * IBM PowerPC Virtual I/O Infrastructure Support. * * Copyright (c) 2003,2008 IBM Corp. * Dave Engebretsen engebret@us.ibm.com * Santiago Leon santil@us.ibm.com * Hollis Blanchard <hollisb@us.ibm.com> * Stephen Rothwell * Robert Jenning...
Linux kernel'inin 'arch/powerpc/platforms/pseries/plpks' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * POWER LPAR Platform KeyStore(PLPKS) * Copyright (C) 2022 IBM Corporation * Author: Nayna Jain <nayna@linux.ibm.com> * * Provides access to variables stored in Power LPAR Platform KeyStore(PLPKS). */ #define pr_fmt(fmt) "plpks: " fmt #define PLPKS_WRAPKEY_COMPON...
Linux kernel'inin 'arch/powerpc/platforms/pseries/vas-sysfs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2022-23 IBM Corp. */ #define pr_fmt(fmt) "vas: " fmt #include <linux/module.h> #include <linux/kernel.h> #include <linux/miscdevice.h> #include <linux/kobject.h> #include <linux/slab.h> #include <linux/mm.h> #include "vas.h" #ifdef CONFIG_SYSFS stat...
Linux kernel'inin 'arch/powerpc/platforms/pseries/eeh_pseries' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * The file intends to implement the platform dependent EEH operations on pseries. * Actually, the pseries platform is built based on RTAS heavily. That means the * pseries platform dependent EEH operations will be built on RTAS calls. The functions * are derived ...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/pseries/of_helpers' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PSERIES_OF_HELPERS_H #define _PSERIES_OF_HELPERS_H #include <linux/of.h> struct device_node *pseries_of_derive_parent(const char *path); #endif /* _PSERIES_OF_HELPERS_H */ ```
Linux kernel'inin 'arch/powerpc/platforms/pseries/hotplug-memory' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * pseries Memory Hotplug infrastructure. * * Copyright (C) 2008 Badari Pulavarty, IBM Corporation */ #define pr_fmt(fmt) "pseries-hotplug-mem: " fmt #include <linux/of.h> #include <linux/of_address.h> #include <linux/memblock.h> #include <linux/memory.h> #inclu...
Linux kernel'inin 'arch/powerpc/platforms/pseries/dtl' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Virtual Processor Dispatch Trace Log * * (C) Copyright IBM Corporation 2009 * * Author: Jeremy Kerr <jk@ozlabs.org> */ #include <linux/slab.h> #include <linux/spinlock.h> #include <asm/smp.h> #include <linux/uaccess.h> #include <linux/debugfs.h> #include <as...
Linux kernel'inin 'arch/powerpc/platforms/pseries/power' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Interface for power-management for ppc64 compliant platform * * Manish Ahuja <mahuja@us.ibm.com> * * Feb 2007 * * Copyright (C) 2007 IBM Corporation. */ #include <linux/kobject.h> #include <linux/string.h> #include <linux/errno.h> #include <linux/init.h> #...
Linux kernel'inin 'arch/powerpc/platforms/pseries/papr-vpd' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only #define pr_fmt(fmt) "papr-vpd: " 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> #in...
Linux kernel'inin 'arch/powerpc/platforms/pseries/cmm' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Collaborative memory management interface. * * Copyright (C) 2008 IBM Corporation * Author(s): Brian King (brking@linux.vnet.ibm.com), */ #include <linux/ctype.h> #include <linux/delay.h> #include <linux/errno.h> #include <linux/fs.h> #include <linux/gfp.h> #...
Linux kernel'inin 'arch/powerpc/platforms/pseries/plpks-sysfs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2025 IBM Corporation, Srish Srinivasan <ssrish@linux.ibm.com> * * This code exposes PLPKS config to user via sysfs */ #define pr_fmt(fmt) "plpks-sysfs: "fmt #include <linux/init.h> #include <linux/printk.h> #include <linux/types.h> #include <asm/mac...