instruction
stringlengths
82
202
input
stringclasses
1 value
output
stringlengths
73
23.9M
Linux kernel'inin 'arch/powerpc/platforms/cell/spufs/hw_ops' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* hw_ops.c - query/set operations on active SPU context. * * Copyright (C) IBM 2005 * Author: Mark Nutter <mnutter@us.ibm.com> */ #include <linux/errno.h> #include <linux/sched.h> #include <linux/kernel.h> #include <linux/mm.h> #include <linux/poll.h> #include <li...
Linux kernel'inin 'arch/powerpc/platforms/cell/spufs/spu_save' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * spu_save.c * * (C) Copyright IBM Corp. 2005 * * SPU-side context save sequence outlined in * Synergistic Processor Element Book IV * * Author: Mark Nutter <mnutter@us.ibm.com> */ #ifndef LS_SIZE #define LS_SIZE 0x40000 /* 256K (in bytes) ...
Linux kernel'inin 'arch/powerpc/platforms/cell/spufs/syscalls' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/file.h> #include <linux/fs.h> #include <linux/export.h> #include <linux/mount.h> #include <linux/namei.h> #include <linux/slab.h> #include <linux/uaccess.h> #include "spufs.h" /** * sys_spu_run - run code loaded into an SPU * * @unpc: next program counte...
Linux kernel'inin 'arch/powerpc/platforms/cell/spufs/file' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * SPU file system -- file contents * * (C) Copyright IBM Deutschland Entwicklung GmbH 2005 * * Author: Arnd Bergmann <arndb@de.ibm.com> */ #undef DEBUG #include <linux/coredump.h> #include <linux/fs.h> #include <linux/ioctl.h> #include <linux/export.h> #inclu...
Linux kernel'inin 'arch/powerpc/platforms/cell/spufs/lscsa_alloc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * SPU local store allocation routines * * Copyright 2007 Benjamin Herrenschmidt, IBM Corp. */ #undef DEBUG #include <linux/kernel.h> #include <linux/mm.h> #include <linux/slab.h> #include <linux/vmalloc.h> #include <asm/spu.h> #include <asm/spu_csa.h> #include...
Linux kernel'inde 'arch/powerpc/platforms/cell/spufs/spu_restore_crt0' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * crt0_r.S: Entry function for SPU-side context restore. * * Copyright (C) 2005 IBM * * Entry and exit function for SPU-side of the context restore * sequence. Sets up an initial stack frame, then branches to * 'main'. On return, restores all 128 r...
Linux kernel'inin 'arch/powerpc/platforms/cell/spufs/switch' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * spu_switch.c * * (C) Copyright IBM Corp. 2005 * * Author: Mark Nutter <mnutter@us.ibm.com> * * Host-side part of SPU context switch sequence outlined in * Synergistic Processor Element, Book IV. * * A fully premptive switch of an SPE is very expensive in ...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/cell/spufs/sputrace' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #if !defined(_TRACE_SPUFS_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_SPUFS_H #include <linux/tracepoint.h> #include <linux/stringify.h> #undef TRACE_SYSTEM #define TRACE_SYSTEM spufs TRACE_EVENT(spufs_context, TP_PROTO(struct spu_context *ctx, struct spu *spu, ...
Linux kernel'inin 'arch/powerpc/platforms/cell/spufs/context' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * SPU file system -- SPU context management * * (C) Copyright IBM Deutschland Entwicklung GmbH 2005 * * Author: Arnd Bergmann <arndb@de.ibm.com> */ #include <linux/fs.h> #include <linux/mm.h> #include <linux/slab.h> #include <linux/atomic.h> #include <linux/sc...
Linux kernel'inin 'arch/powerpc/platforms/cell/spufs/fault' 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> */ #include <linux/sched/signal.h> #include <linux/mm.h> #include <asm/spu.h> #include <asm/spu_csa.h> #include "spufs.h" /** * Han...
Linux kernel'inin 'arch/powerpc/platforms/cell/spufs/coredump' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * SPU core dump code * * (C) Copyright 2006 IBM Corp. * * Author: Dwayne Grant McConnell <decimal@us.ibm.com> */ #include <linux/elf.h> #include <linux/file.h> #include <linux/fdtable.h> #include <linux/fs.h> #include <linux/gfp.h> #include <linux/list.h> #inc...
Linux kernel'inin 'arch/powerpc/platforms/cell/spufs/run' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #define DEBUG #include <linux/wait.h> #include <linux/ptrace.h> #include <asm/spu.h> #include <asm/spu_priv1.h> #include <asm/io.h> #include <asm/unistd.h> #include "spufs.h" /* interrupt-level stop callback function. */ void spufs_stop_callback(struct spu *spu, int irq) { ...
Linux kernel'inin 'arch/powerpc/platforms/cell/spufs/backing_ops' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* backing_ops.c - query/set operations on saved SPU context. * * Copyright (C) IBM 2005 * Author: Mark Nutter <mnutter@us.ibm.com> * * These register operations allow SPUFS to operate on saved * SPU contexts rather than hardware. */ #include <linux/errno.h> #in...
Linux kernel'inin 'arch/powerpc/platforms/cell/spufs/inode' alt sistemi için gerekli C kaynak kodunu implemente et.
```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> */ #include <linux/file.h> #include <linux/fs.h> #include <linux/fs_context.h> #include <linux/fs_parser.h> #include <linux/fsnotify.h> #inc...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/cell/spufs/spu_utils' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * utils.h: Utilities for SPU-side of the context switch operation. * * (C) Copyright IBM 2005 */ #ifndef _SPU_CONTEXT_UTILS_H_ #define _SPU_CONTEXT_UTILS_H_ /* * 64-bit safe EA. */ typedef union { unsigned long long ull; unsigned int ui[2]; } addr64; /*...
Linux kernel'inin 'arch/powerpc/platforms/cell/spufs/sched' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* sched.c - SPU scheduler. * * Copyright (C) IBM 2005 * Author: Mark Nutter <mnutter@us.ibm.com> * * 2006-03-31 NUMA domains added. */ #undef DEBUG #include <linux/errno.h> #include <linux/sched/signal.h> #include <linux/sched/loadavg.h> #include <linux/sched/r...
Linux kernel'inin 'arch/powerpc/platforms/cell/spufs/gang' alt sistemi için gerekli C kaynak kodunu implemente et.
```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> */ #include <linux/list.h> #include <linux/slab.h> #include "spufs.h" struct spu_gang *alloc_spu_gang(void) { struct spu_gang *gang; gan...
Linux kernel'inde 'arch/powerpc/platforms/cell/spufs/spu_save_crt0' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * crt0_s.S: Entry function for SPU-side context save. * * Copyright (C) 2005 IBM * * Entry function for SPU-side of the context save sequence. * Saves all 128 GPRs, sets up an initial stack frame, then * branches to 'main'. */ #include <asm/spu_csa...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/chrp/chrp' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Declarations of CHRP platform-specific things. */ extern void chrp_nvram_init(void); extern void chrp_get_rtc_time(struct rtc_time *); extern int chrp_set_rtc_time(struct rtc_time *); extern long chrp_time_init(void); extern void chrp_find_bridges(void); ```
Linux kernel'inin 'arch/powerpc/platforms/chrp/pegasos_eth' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2005 Sven Luther <sl@bplan-gmbh.de> * Thanks to : * Dale Farnsworth <dale@farnsworth.org> * Mark A. Greer <mgreer@mvista.com> * Nicolas DET <nd@bplan-gmbh.de> * Benjamin Herrenschmidt <benh@kernel.crashing.org> * And anyone else who helped me on this...
Linux kernel'inin 'arch/powerpc/platforms/chrp/time' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 1991, 1992, 1995 Linus Torvalds * * Adapted for PowerPC (PReP) by Gary Thomas * Modified by Cort Dougan (cort@cs.nmt.edu). * Copied and modified from arch/i386/kernel/time.c * */ #include <linux/errno.h> #include <linux/sched.h> #include <linux/kernel...
Linux kernel'inin 'arch/powerpc/platforms/chrp/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) */ /* * bootup setup stuff.. */ #include <linux/errno.h> #include <linux/sched.h> #include <linux/kernel.h> #include <linux/mm.h> #include...
Linux kernel'inin 'arch/powerpc/platforms/chrp/smp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Smp support for CHRP machines. * * Written by Cort Dougan (cort@cs.nmt.edu) borrowing a great * deal of code from the sparc and intel versions. * * Copyright (C) 1999 Cort Dougan <cort@cs.nmt.edu> * */ #include <linux/kernel.h> #include <linux/sched.h> #include <li...
Linux kernel'inin 'arch/powerpc/platforms/chrp/pci' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * CHRP pci routines. */ #include <linux/kernel.h> #include <linux/pci.h> #include <linux/delay.h> #include <linux/string.h> #include <linux/init.h> #include <linux/pgtable.h> #include <linux/of_address.h> #include <asm/io.h> #include <asm/irq.h> #include <asm/hydra.h> #in...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/chrp/gg2' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * include/asm-ppc/gg2.h -- VLSI VAS96011/12 `Golden Gate 2' register definitions * * Copyright (C) 1997 Geert Uytterhoeven * * This file is based on the following documentation: * * The VAS96011/12 Chipset, Data Book, Edition 1.0 * VLSI Technology, Inc. * * This file is subject to the terms and co...
Linux kernel'inin 'arch/powerpc/platforms/chrp/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 PPC */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/spinlock.h> #include <linux/uaccess.h> #include <linux/of.h> #include <asm/machdep.h> #include <asm/rtas....
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/microwatt/microwatt' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _MICROWATT_H #define _MICROWATT_H void microwatt_rng_init(void); void microwatt_init_smp(void); #endif /* _MICROWATT_H */ ```
Linux kernel'inin 'arch/powerpc/platforms/microwatt/setup' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Microwatt FPGA-based SoC platform setup code. * * Copyright 2020 Paul Mackerras (paulus@ozlabs.org), IBM Corp. */ #include <linux/types.h> #include <linux/kernel.h> #include <linux/stddef.h> #include <linux/init.h> #include <linux/of.h> #include <linux/of_platform.h> #include <asm/machdep.h> #include <a...
Linux kernel'inin 'arch/powerpc/platforms/microwatt/smp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * SMP support functions for Microwatt * Copyright 2025 Paul Mackerras <paulus@ozlabs.org> */ #include <linux/kernel.h> #include <linux/smp.h> #include <linux/io.h> #include <asm/early_ioremap.h> #include <asm/ppc-opcode.h> #include <asm/reg.h> #include <asm/smp....
Linux kernel'inin 'arch/powerpc/platforms/microwatt/rng' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Derived from arch/powerpc/platforms/powernv/rng.c, which is: * Copyright 2013, Michael Ellerman, IBM Corporation. */ #define pr_fmt(fmt) "microwatt-rng: " fmt #include <linux/kernel.h> #include <linux/smp.h> #include <asm/archrandom.h> #include <asm/cputable.h...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/powernv/opal-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 POWER platform (OPAL). * * Copyright 2019, Hari Bathini, IBM Corporation. */ #ifndef _POWERNV_OPAL_FADUMP_H #define _POWERNV_OPAL_FADUMP_H #include <asm/reg.h> /* * With kernel & initrd loaded at 512MB (with 256MB size),...
Linux kernel'inin 'arch/powerpc/platforms/powernv/opal-kmsg' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * kmsg dumper that ensures the OPAL console fully flushes panic messages * * Author: Russell Currey <ruscur@russell.cc> * * Copyright 2015 IBM Corporation. */ #include <linux/kmsg_dump.h> #include <asm/opal.h> #include <asm/opal-api.h> /* * Console output i...
Linux kernel'inin 'arch/powerpc/platforms/powernv/opal-sysparam' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * PowerNV system parameter code * * Copyright (C) 2013 IBM */ #include <linux/kobject.h> #include <linux/mutex.h> #include <linux/slab.h> #include <linux/of.h> #include <linux/gfp.h> #include <linux/stat.h> #include <asm/opal.h> #define MAX_PARAM_DATA_LEN 64 s...
Linux kernel'inin 'arch/powerpc/platforms/powernv/vas-window' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2016-17 IBM Corp. */ #define pr_fmt(fmt) "vas: " fmt #include <linux/types.h> #include <linux/mutex.h> #include <linux/slab.h> #include <linux/io.h> #include <linux/log2.h> #include <linux/rcupdate.h> #include <linux/cred.h> #include <linux/sched/mm.h...
Linux kernel'inin 'arch/powerpc/platforms/powernv/opal-msglog' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * PowerNV OPAL in-memory console interface * * Copyright 2014 IBM Corp. */ #include <asm/io.h> #include <asm/opal.h> #include <linux/debugfs.h> #include <linux/of.h> #include <linux/types.h> #include <asm/barrier.h> #include "powernv.h" /* OPAL in-memory conso...
Linux kernel'inin 'arch/powerpc/platforms/powernv/opal-sensor' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * PowerNV sensor code * * Copyright (C) 2013 IBM */ #include <linux/delay.h> #include <linux/of.h> #include <linux/of_platform.h> #include <linux/platform_device.h> #include <asm/opal.h> #include <asm/machdep.h> /* * This will return sensor information to driv...
Linux kernel'inin 'arch/powerpc/platforms/powernv/eeh-powernv' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * PowerNV Platform dependent EEH operations * * Copyright Benjamin Herrenschmidt & Gavin Shan, IBM Corporation 2013. */ #include <linux/atomic.h> #include <linux/debugfs.h> #include <linux/delay.h> #include <linux/export.h> #include <linux/init.h> #include <linu...
Linux kernel'inin 'arch/powerpc/platforms/powernv/opal-powercap' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * PowerNV OPAL Powercap interface * * Copyright 2017 IBM Corp. */ #define pr_fmt(fmt) "opal-powercap: " fmt #include <linux/of.h> #include <linux/kobject.h> #include <linux/slab.h> #include <asm/opal.h> static DEFINE_MUTEX(powercap_mutex); static struct ...
Linux kernel'inin 'arch/powerpc/platforms/powernv/opal-lpc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * PowerNV LPC bus handling. * * Copyright 2013 IBM Corp. */ #include <linux/kernel.h> #include <linux/of.h> #include <linux/bug.h> #include <linux/io.h> #include <linux/slab.h> #include <linux/debugfs.h> #include <asm/machdep.h> #include <asm/firmware.h> #inclu...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/powernv/vas-trace' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0+ */ #undef TRACE_SYSTEM #define TRACE_SYSTEM vas #if !defined(_VAS_TRACE_H) || defined(TRACE_HEADER_MULTI_READ) #define _VAS_TRACE_H #include <linux/tracepoint.h> #include <linux/sched.h> #include <asm/vas.h> TRACE_EVENT( vas_rx_win_open, TP_PROTO(struct task_struct *tsk,...
Linux kernel'inin 'arch/powerpc/platforms/powernv/opal-call' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/percpu.h> #include <linux/jump_label.h> #include <asm/interrupt.h> #include <asm/opal-api.h> #include <asm/trace.h> #include <asm/asm-prototypes.h> #ifdef CONFIG_TRACEPOINTS /* * Since the tracing code might execute OPAL calls we need to guard against * recurs...
Linux kernel'inin 'arch/powerpc/platforms/powernv/opal-dump' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * PowerNV OPAL Dump Interface * * Copyright 2013,2014 IBM Corp. */ #include <linux/kobject.h> #include <linux/mm.h> #include <linux/slab.h> #include <linux/vmalloc.h> #include <linux/pagemap.h> #include <linux/delay.h> #include <linux/interrupt.h> #include <asm...
Linux kernel'inin 'arch/powerpc/platforms/powernv/memtrace' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) IBM Corporation, 2014, 2017 * Anton Blanchard, Rashmica Gupta. */ #define pr_fmt(fmt) "memtrace: " fmt #include <linux/bitops.h> #include <linux/string.h> #include <linux/memblock.h> #include <linux/init.h> #include <linux/moduleparam.h> #include...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/powernv/vas' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright 2016-17 IBM Corp. */ #ifndef _VAS_H #define _VAS_H #include <linux/atomic.h> #include <linux/idr.h> #include <asm/vas.h> #include <linux/io.h> #include <linux/dcache.h> #include <linux/mutex.h> #include <linux/stringify.h> /* * Overview of Virtual...
Linux kernel'inin 'arch/powerpc/platforms/powernv/opal-prd' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * OPAL Runtime Diagnostics interface driver * Supported on POWERNV platform * * Copyright IBM Corporation 2015 */ #define pr_fmt(fmt) "opal-prd: " fmt #include <linux/kernel.h> #include <linux/module.h> #include <linux/platform_device.h> #include <linux/miscdevice...
Linux kernel'inin 'arch/powerpc/platforms/powernv/ocxl' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ // Copyright 2017 IBM Corp. #include <asm/pnv-ocxl.h> #include <asm/opal.h> #include <misc/ocxl-config.h> #include "pci.h" #define PNV_OCXL_TL_P9_RECV_CAP 0x000000000000000Full #define PNV_OCXL_ACTAG_MAX 64 /* PASIDs are 20-bit, but on P9, NPU can only handle 15 bits */ #def...
Linux kernel'inin 'arch/powerpc/platforms/powernv/idle' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * PowerNV cpuidle code * * Copyright 2015 IBM Corp. */ #include <linux/types.h> #include <linux/mm.h> #include <linux/slab.h> #include <linux/of.h> #include <linux/device.h> #include <linux/cpu.h> #include <asm/firmware.h> #include <asm/interrupt.h> #include <a...
Linux kernel'inin 'arch/powerpc/platforms/powernv/opal-rtc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * PowerNV Real Time Clock. * * Copyright 2011 IBM Corp. */ #include <linux/kernel.h> #include <linux/time.h> #include <linux/bcd.h> #include <linux/rtc.h> #include <linux/delay.h> #include <linux/of.h> #include <linux/of_platform.h> #include <linux/platform_dev...
Linux kernel'inin 'arch/powerpc/platforms/powernv/vas-debug' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2016-17 IBM Corp. */ #define pr_fmt(fmt) "vas: " fmt #include <linux/types.h> #include <linux/slab.h> #include <linux/debugfs.h> #include <linux/seq_file.h> #include <asm/vas.h> #include "vas.h" static struct dentry *vas_debugfs; static char *cop_to...
Linux kernel'inin 'arch/powerpc/platforms/powernv/vas-fault' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * VAS Fault handling. * Copyright 2019, IBM Corporation */ #define pr_fmt(fmt) "vas: " fmt #include <linux/kernel.h> #include <linux/types.h> #include <linux/slab.h> #include <linux/uaccess.h> #include <linux/kthread.h> #include <linux/sched/signal.h> #include <linux/mm...
Linux kernel'inin 'arch/powerpc/platforms/powernv/opal-sensor-groups' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * PowerNV OPAL Sensor-groups interface * * Copyright 2017 IBM Corp. */ #define pr_fmt(fmt) "opal-sensor-groups: " fmt #include <linux/of.h> #include <linux/kobject.h> #include <linux/slab.h> #include <asm/opal.h> static DEFINE_MUTEX(sg_mutex); static str...
Linux kernel'inin 'arch/powerpc/platforms/powernv/opal-flash' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * PowerNV OPAL Firmware Update Interface * * Copyright 2013 IBM Corp. */ #define DEBUG #include <linux/kernel.h> #include <linux/reboot.h> #include <linux/init.h> #include <linux/kobject.h> #include <linux/sysfs.h> #include <linux/slab.h> #include <linux/mm.h> ...
Linux kernel'inin 'arch/powerpc/platforms/powernv/ultravisor' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Ultravisor high level interfaces * * Copyright 2019, IBM Corporation. * */ #include <linux/init.h> #include <linux/printk.h> #include <linux/of_fdt.h> #include <linux/of.h> #include <asm/ultravisor.h> #include <asm/firmware.h> #include <asm/machdep.h> #include "power...
Linux kernel'inin 'arch/powerpc/platforms/powernv/opal-nvram' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * PowerNV nvram code. * * Copyright 2011 IBM Corp. */ #define DEBUG #include <linux/delay.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/of.h> #include <asm/opal.h> #include <asm/nvram.h> #include <asm/machdep.h> static unsigned int nvra...
Linux kernel'inin 'arch/powerpc/platforms/powernv/opal-xscom' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * PowerNV SCOM bus debugfs interface * * Copyright 2010 Benjamin Herrenschmidt, IBM Corp * <benh@kernel.crashing.org> * and David Gibson, IBM Corporation. * Copyright 2013 IBM Corp. */ #include <linux/kernel.h> #include <linux/of.h> ...
Linux kernel'inin 'arch/powerpc/platforms/powernv/opal-hmi' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * OPAL hypervisor Maintenance interrupt handling support in PowerNV. * * Copyright 2014 IBM Corporation * Author: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> */ #undef DEBUG #include <linux/kernel.h> #include <linux/init.h> #include <linux/of.h> #include <li...
Linux kernel'inin 'arch/powerpc/platforms/powernv/pci-sriov' 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/ioport.h> #include <linux/bitmap.h> #include <linux/pci.h> #include <asm/opal.h> #include "pci.h" /* * The majority of the complexity in supporting SR-IOV on PowerNV comes from * the need to put the MMIO space for each VF ...
Linux kernel'inin 'arch/powerpc/platforms/powernv/opal-psr' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * PowerNV OPAL Power-Shift-Ratio interface * * Copyright 2017 IBM Corp. */ #define pr_fmt(fmt) "opal-psr: " fmt #include <linux/of.h> #include <linux/kobject.h> #include <linux/slab.h> #include <asm/opal.h> static DEFINE_MUTEX(psr_mutex); static struct k...
Linux kernel'inin 'arch/powerpc/platforms/powernv/opal-memory-errors' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * OPAL asynchronus Memory error handling support in PowerNV. * * Copyright 2013 IBM Corporation * Author: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> */ #undef DEBUG #include <linux/kernel.h> #include <linux/init.h> #include <linux/of.h> #include <linux/mm.h...
Linux kernel'inin 'arch/powerpc/platforms/powernv/opal-async' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * PowerNV OPAL asynchronous completion interfaces * * Copyright 2013-2017 IBM Corp. */ #undef DEBUG #include <linux/kernel.h> #include <linux/init.h> #include <linux/slab.h> #include <linux/sched.h> #include <linux/semaphore.h> #include <linux/spinlock.h> #incl...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/powernv/copy-paste' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright 2016-17 IBM Corp. */ #include <asm/ppc-opcode.h> #include <asm/reg.h> /* * Copy/paste instructions: * * copy RA,RB * Copy contents of address (RA) + effective_address(RB) * to internal copy-buffer. * * paste RA,RB * Paste contents of inte...
Linux kernel'inin 'arch/powerpc/platforms/powernv/opal-secvar' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * PowerNV code for secure variables * * Copyright (C) 2019 IBM Corporation * Author: Claudio Carvalho * Nayna Jain * * APIs to access secure variables managed by OPAL. */ #define pr_fmt(fmt) "secvar: "fmt #include <linux/types.h> #include <linux/of.h> #inclu...
Linux kernel'inin 'arch/powerpc/platforms/powernv/setup' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * PowerNV setup code. * * Copyright 2011 IBM Corp. */ #undef DEBUG #include <linux/cpu.h> #include <linux/errno.h> #include <linux/sched.h> #include <linux/kernel.h> #include <linux/tty.h> #include <linux/reboot.h> #include <linux/init.h> #include <linux/consol...
Linux kernel'inin 'arch/powerpc/platforms/powernv/pci-ioda' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Support PCI/PCIe on PowerNV platforms * * Copyright 2011 Benjamin Herrenschmidt, IBM Corp. */ #undef DEBUG #include <linux/kernel.h> #include <linux/pci.h> #include <linux/crash_dump.h> #include <linux/delay.h> #include <linux/string.h> #include <linux/init.h...
Linux kernel'inin 'arch/powerpc/platforms/powernv/smp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * SMP support for PowerNV machines. * * Copyright 2011 IBM Corp. */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/sched.h> #include <linux/sched/hotplug.h> #include <linux/smp.h> #include <linux/interrupt.h> #include <linux/delay.h> #includ...
Linux kernel'inin 'arch/powerpc/platforms/powernv/pci' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Support PCI/PCIe on PowerNV platforms * * Copyright 2011 Benjamin Herrenschmidt, IBM Corp. */ #include <linux/kernel.h> #include <linux/pci.h> #include <linux/delay.h> #include <linux/string.h> #include <linux/init.h> #include <linux/irq.h> #include <linux/io....
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/powernv/subcore' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright 2013, Michael Ellerman, IBM Corporation. */ /* These are ordered and tested with <= */ #define SYNC_STEP_INITIAL 0 #define SYNC_STEP_UNSPLIT 1 /* Set by secondary when it sees unsplit */ #define SYNC_STEP_REAL_MODE 2 /* Set by secondary when in real...
Linux kernel'inin 'arch/powerpc/platforms/powernv/vas' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2016-17 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/slab.h> #include <linux/platform_device.h> #include <linux/of_platform.h> #incl...
Linux kernel'inde 'arch/powerpc/platforms/powernv/opal-wrappers' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * PowerNV OPAL API wrappers * * Copyright 2011 IBM Corp. */ #include <linux/jump_label.h> #include <asm/ppc_asm.h> #include <asm/hvcall.h> #include <asm/asm-offsets.h> #include <asm/opal.h> #include <asm/asm-compat.h> #include <asm/feature-fixups.h> ...
Linux kernel'inin 'arch/powerpc/platforms/powernv/opal-imc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * OPAL IMC interface detection driver * Supported on POWERNV platform * * Copyright (C) 2017 Madhavan Srinivasan, IBM Corporation. * (C) 2017 Anju T Sudhakar, IBM Corporation. * (C) 2017 Hemant K Shaw, IBM Corporation. */ #include <linux/kernel.h> #include <...
Linux kernel'inin 'arch/powerpc/platforms/powernv/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) "powernv-rng: " fmt #include <linux/kernel.h> #include <linux/of.h> #include <linux/of_address.h> #include <linux/of_platform.h> #include <linux/slab.h> #include <linux/smp.h> #include <a...
Linux kernel'inin 'arch/powerpc/platforms/powernv/opal' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * PowerNV OPAL high level interfaces * * Copyright 2011 IBM Corp. */ #define pr_fmt(fmt) "opal: " fmt #include <linux/printk.h> #include <linux/types.h> #include <linux/of.h> #include <linux/of_fdt.h> #include <linux/of_platform.h> #include <linux/of_address.h>...
Linux kernel'inin 'arch/powerpc/platforms/powernv/opal-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 POWER platform (OPAL). * * Copyright 2019, Hari Bathini, IBM Corporation. */ #define pr_fmt(fmt) "opal fadump: " fmt #include <linux/string.h> #include <linux/seq_file.h> #include <linux/of.h> #include <linux/of_fdt.h> #inclu...
Linux kernel'inin 'arch/powerpc/platforms/powernv/opal-core' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Interface for exporting the OPAL ELF core. * Heavily inspired from fs/proc/vmcore.c * * Copyright 2019, Hari Bathini, IBM Corporation. */ #define pr_fmt(fmt) "opal core: " fmt #include <linux/memblock.h> #include <linux/uaccess.h> #include <linux/proc_fs.h> #inc...
Linux kernel'inin 'arch/powerpc/platforms/powernv/opal-irqchip' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * This file implements an irqchip for OPAL events. Whenever there is * an interrupt that is handled by OPAL we get passed a list of events * that Linux needs to do something about. These basically look like * interrupts to Linux so we implement an irqchip to hand...
Linux kernel'inin 'arch/powerpc/platforms/powernv/pci-ioda-tce' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * TCE helpers for IODA PCI/PCIe on PowerNV platforms * * Copyright 2018 IBM Corp. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either ver...
Linux kernel'inin 'arch/powerpc/platforms/powernv/opal-elog' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Error log support on PowerNV. * * Copyright 2013,2014 IBM Corp. */ #include <linux/kernel.h> #include <linux/init.h> #include <linux/interrupt.h> #include <linux/of.h> #include <linux/slab.h> #include <linux/sysfs.h> #include <linux/fs.h> #include <linux/vmallo...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/powernv/powernv' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _POWERNV_H #define _POWERNV_H /* * There's various hacks scattered throughout the generic powerpc arch code * that needs to call into powernv platform stuff. The prototypes for those * functions are in asm/powernv.h */ #include <asm/powernv.h> #ifdef CONFIG_SMP ...
Linux kernel'inin 'arch/powerpc/platforms/powernv/opal-tracepoints' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/percpu.h> #include <linux/jump_label.h> #include <asm/trace.h> #ifdef CONFIG_JUMP_LABEL struct static_key opal_tracepoint_key = STATIC_KEY_INIT; int opal_tracepoint_regfunc(void) { static_key_slow_inc(&opal_tracepoint_key); return 0; } void opal_tracepoint_u...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/powernv/pci' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __POWERNV_PCI_H #define __POWERNV_PCI_H #include <linux/compiler.h> /* for __printf */ #include <linux/iommu.h> #include <asm/iommu.h> #include <asm/msi_bitmap.h> struct pci_dn; enum pnv_phb_type { PNV_PHB_IODA2, PNV_PHB_NPU_OCAPI, }; /* Precise PHB model for e...
Linux kernel'inin 'arch/powerpc/platforms/powernv/subcore' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2013, Michael (Ellerman|Neuling), IBM Corporation. */ #define pr_fmt(fmt) "powernv: " fmt #include <linux/kernel.h> #include <linux/cpu.h> #include <linux/cpumask.h> #include <linux/device.h> #include <linux/gfp.h> #include <linux/smp.h> #include <lin...
Linux kernel'inde 'arch/powerpc/platforms/powernv/subcore-asm' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright 2013, Michael (Ellerman|Neuling), IBM Corporation. */ #include <asm/asm-offsets.h> #include <asm/ppc_asm.h> #include <asm/reg.h> #include "subcore.h" _GLOBAL(split_core_secondary_loop) /* * r3 = u8 *state, used throughout the routine ...
Linux kernel'inin 'arch/powerpc/platforms/powernv/opal-power' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * PowerNV OPAL power control for graceful shutdown handling * * Copyright 2015 IBM Corp. */ #define pr_fmt(fmt) "opal-power: " fmt #include <linux/kernel.h> #include <linux/reboot.h> #include <linux/notifier.h> #include <linux/of.h> #include <asm/opal.h> #incl...
Linux kernel'inin 'arch/powerpc/platforms/85xx/mpc85xx_pm_ops' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * MPC85xx PM operators * * Copyright 2015 Freescale Semiconductor Inc. */ #define pr_fmt(fmt) "%s: " fmt, __func__ #include <linux/kernel.h> #include <linux/of.h> #include <linux/of_address.h> #include <linux/fsl/guts.h> #include <asm/io.h> #include <asm/fsl_p...
Linux kernel'inin 'arch/powerpc/platforms/85xx/p1022_ds' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * P1022DS board specific routines * * Authors: Travis Wheatley <travis.wheatley@freescale.com> * Dave Liu <daveliu@freescale.com> * Timur Tabi <timur@freescale.com> * * Copyright 2010 Freescale Semiconductor, Inc. * * This file is taken from the Freescale P1022DS BSP, with modificatio...
Linux kernel'inin 'arch/powerpc/platforms/85xx/socrates_fpga_pic' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2008 Ilya Yanok, Emcraft Systems */ #include <linux/irq.h> #include <linux/of_address.h> #include <linux/of_irq.h> #include <linux/io.h> #include "socrates_fpga_pic.h" /* * The FPGA supports 9 interrupt sources, which can be routed to 3 * interrup...
Linux kernel'inin 'arch/powerpc/platforms/85xx/bsc913x_qds' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * BSC913xQDS Board Setup * * Author: * Harninder Rai <harninder.rai@freescale.com> * Priyanka Jain <Priyanka.Jain@freescale.com> * * Copyright 2014 Freescale Semiconductor Inc. */ #include <linux/of.h> #include <linux/pci.h> #include <asm/mpic.h> #includ...
Linux kernel'inin 'arch/powerpc/platforms/85xx/mpc85xx_ds' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * MPC85xx DS Board Setup * * Author Xianghua Xiao (x.xiao@freescale.com) * Roy Zang <tie-fei.zang@freescale.com> * - Add PCI/PCI Exprees support * Copyright 2007 Freescale Semiconductor Inc. */ #include <linux/stddef.h> #include <linux/kernel.h> #include <li...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/85xx/mpc85xx' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef MPC85xx_H #define MPC85xx_H extern int mpc85xx_common_publish_devices(void); #ifdef CONFIG_CPM2 extern void mpc85xx_cpm2_pic_init(void); #else static inline void __init mpc85xx_cpm2_pic_init(void) {} #endif /* CONFIG_CPM2 */ #ifdef CONFIG_QUICC_ENGINE extern void mp...
Linux kernel'inin 'arch/powerpc/platforms/85xx/ksi8560' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Board setup routines for the Emerson KSI8560 * * Author: Alexandr Smirnov <asmirnov@ru.mvista.com> * * Based on mpc85xx_ads.c maintained by Kumar Gala * * 2008 (c) MontaVista, Software, Inc. This file is licensed under * the terms of the GNU General Public License version 2. This program * is licen...
Linux kernel'inin 'arch/powerpc/platforms/85xx/mvme2500' 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 MVME2500 * * Copyright 2014 Elettra-Sincrotrone Trieste S.C.p.A. * * Based on earlier code by: * * Xianghua Xiao (x.xiao@freescale.com) * Tom Armistead (tom.armistead@emerson.com) * Copyright 2012 Emerson * * ...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/85xx/socrates_fpga_pic' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2008 Ilya Yanok, Emcraft Systems */ #ifndef SOCRATES_FPGA_PIC_H #define SOCRATES_FPGA_PIC_H void __init socrates_fpga_pic_init(struct device_node *pic); #endif ```
Linux kernel'inin 'arch/powerpc/platforms/85xx/c293pcie' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * C293PCIE Board Setup * * Copyright 2013 Freescale Semiconductor Inc. */ #include <linux/stddef.h> #include <linux/kernel.h> #include <linux/of.h> #include <asm/machdep.h> #include <asm/udbg.h> #include <asm/mpic.h> #include <sysdev/fsl_soc.h> #include <sysde...
Linux kernel'inin 'arch/powerpc/platforms/85xx/stx_gp3' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Based on MPC8560 ADS and arch/ppc stx_gp3 ports * * Maintained by Kumar Gala (see MAINTAINERS for contact information) * * Copyright 2008 Freescale Semiconductor Inc. * * Dan Malek <dan@embeddededge.com> * Copyright 2004 Embedded Edge, LLC * * Copied from...
Linux kernel'inin 'arch/powerpc/platforms/85xx/xes_mpc85xx' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2009 Extreme Engineering Solutions, Inc. * * X-ES board-specific functionality * * Based on mpc85xx_ds code from Freescale Semiconductor, Inc. * * Author: Nate Case <ncase@xes-inc.com> */ #include <linux/stddef.h> #include <linux/kernel.h> #inclu...
Linux kernel'inin 'arch/powerpc/platforms/85xx/qemu_e500' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Paravirt target for a generic QEMU e500 machine * * This is intended to be a flexible device-tree-driven platform, not fixed * to a particular piece of hardware or a particular spec of virtual hardware, * beyond the assumption of an e500-family CPU. Some thin...
Linux kernel'inin 'arch/powerpc/platforms/85xx/mpc85xx_mds' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2006-2010, 2012-2013 Freescale Semiconductor, Inc. * All rights reserved. * * Author: Andy Fleming <afleming@freescale.com> * * Based on 83xx/mpc8360e_pb.c by: * Li Yang <LeoLi@freescale.com> * Yin Olivia <Hong-hua.Yin@freescale.com> * ...
Linux kernel'inin 'arch/powerpc/platforms/85xx/p1010rdb' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * P1010RDB Board Setup * * Copyright 2011 Freescale Semiconductor Inc. */ #include <linux/stddef.h> #include <linux/kernel.h> #include <linux/pci.h> #include <linux/delay.h> #include <linux/interrupt.h> #include <linux/of.h> #include <asm/time.h> #include <asm/...
Linux kernel'inin 'arch/powerpc/platforms/85xx/ge_imp3a' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * GE IMP3A Board Setup * * Author Martyn Welch <martyn.welch@ge.com> * * Copyright 2010 GE Intelligent Platforms Embedded Systems, Inc. * * Based on: mpc85xx_ds.c (MPC85xx DS Board Setup) * Copyright 2007 Freescale Semiconductor Inc. */ #include <linux/stdd...
Linux kernel'inin 'arch/powerpc/platforms/85xx/socrates' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) 2008 Emcraft Systems * Sergei Poselenov <sposelenov@emcraft.com> * * Based on MPC8560 ADS and arch/ppc tqm85xx ports * * Maintained by Kumar Gala (see MAINTAINERS for contact information) * * Copyright 2008 Freescale Semiconductor Inc. * * C...