instruction
stringlengths
82
202
input
stringclasses
1 value
output
stringlengths
73
23.9M
Linux kernel'inin 'arch/sh/boards/mach-dreamcast/irq' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * arch/sh/boards/dreamcast/irq.c * * Holly IRQ support for the Sega Dreamcast. * * Copyright (c) 2001, 2002 M. R. Brown <mrbrown@0xd6.org> * * This file is part of the LinuxDC project (www.linuxdc.org) */ #include <linux/irq.h> #include <linux/io.h> #include <linux/ex...
Linux kernel'inin 'arch/sh/boards/mach-dreamcast/rtc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * arch/sh/boards/dreamcast/rtc.c * * Dreamcast AICA RTC routines. * * Copyright (c) 2001, 2002 M. R. Brown <mrbrown@0xd6.org> * Copyright (c) 2002 Paul Mundt <lethal@chaoticdreams.org> */ #include <linux/time.h> #include <linux/rtc.h> #include <linux/io.h> #include <l...
Linux kernel'inin 'arch/sh/boards/mach-dreamcast/setup' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * arch/sh/boards/dreamcast/setup.c * * Hardware support for the Sega Dreamcast. * * Copyright (c) 2001, 2002 M. R. Brown <mrbrown@linuxdc.org> * Copyright (c) 2002, 2003, 2004 Paul Mundt <lethal@linux-sh.org> * * This file is part of the LinuxDC project (www.linuxdc.o...
Linux kernel'inin 'arch/sh/boards/mach-sh7763rdp/irq' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/sh/boards/renesas/sh7763rdp/irq.c * * Renesas Solutions SH7763RDP Support. * * Copyright (C) 2008 Renesas Solutions Corp. * Copyright (C) 2008 Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> */ #include <linux/init.h> #include <linux/irq.h> #include <a...
Linux kernel'inin 'arch/sh/boards/mach-sh7763rdp/setup' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/sh/boards/renesas/sh7763rdp/setup.c * * Renesas Solutions sh7763rdp board * * Copyright (C) 2008 Renesas Solutions Corp. * Copyright (C) 2008 Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> */ #include <linux/init.h> #include <linux/platform_device.h> #i...
Linux kernel'inin 'arch/sh/boards/mach-sdk7786/irq' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * SDK7786 FPGA IRQ Controller Support. * * Copyright (C) 2010 Matt Fleming * Copyright (C) 2010 Paul Mundt */ #include <linux/irq.h> #include <mach/fpga.h> #include <mach/irq.h> enum { ATA_IRQ_BIT = 1, SPI_BUSY_BIT = 2, LIRQ5_BIT = 3, LIRQ6_BIT = 4, LIRQ7_BIT...
Linux kernel'inin 'arch/sh/boards/mach-sdk7786/nmi' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * SDK7786 FPGA NMI Support. * * Copyright (C) 2010 Paul Mundt */ #include <linux/init.h> #include <linux/kernel.h> #include <linux/string.h> #include <mach/fpga.h> enum { NMI_MODE_MANUAL, NMI_MODE_AUX, NMI_MODE_MASKED, NMI_MODE_ANY, NMI_MODE_UNKNOWN, }; /* * Defa...
Linux kernel'inin 'arch/sh/boards/mach-sdk7786/sram' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * SDK7786 FPGA SRAM Support. * * Copyright (C) 2010 Paul Mundt */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/init.h> #include <linux/kernel.h> #include <linux/types.h> #include <linux/io.h> #include <linux/string.h> #include <mach/fpga.h> #include <asm/...
Linux kernel'inin 'arch/sh/boards/mach-sdk7786/gpio' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * SDK7786 FPGA USRGPIR Support. * * Copyright (C) 2010 Paul Mundt */ #include <linux/init.h> #include <linux/interrupt.h> #include <linux/gpio/driver.h> #include <linux/irq.h> #include <linux/kernel.h> #include <linux/spinlock.h> #include <linux/io.h> #include <mach/fpga...
Linux kernel'inin 'arch/sh/boards/mach-sdk7786/setup' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Renesas Technology Europe SDK7786 Support. * * Copyright (C) 2010 Matt Fleming * Copyright (C) 2010 Paul Mundt */ #include <linux/init.h> #include <linux/platform_device.h> #include <linux/io.h> #include <linux/regulator/fixed.h> #include <linux/regulator/machine.h> ...
Linux kernel'inin 'arch/sh/boards/mach-sdk7786/fpga' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * SDK7786 FPGA Support. * * Copyright (C) 2010 Paul Mundt */ #include <linux/init.h> #include <linux/io.h> #include <linux/bcd.h> #include <mach/fpga.h> #include <linux/sizes.h> #define FPGA_REGS_OFFSET 0x03fff800 #define FPGA_REGS_SIZE 0x490 /* * The FPGA can be map...
Linux kernel'inin 'arch/sh/boards/mach-lboxre2/irq' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/sh/boards/lboxre2/irq.c * * Copyright (C) 2007 Nobuhiro Iwamatsu * * NTT COMWARE L-BOX RE2 Support. */ #include <linux/init.h> #include <linux/interrupt.h> #include <linux/irq.h> #include <asm/irq.h> #include <asm/io.h> #include <mach/lboxre2.h> /* * Init...
Linux kernel'inin 'arch/sh/boards/mach-lboxre2/setup' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/sh/boards/lbox/setup.c * * Copyright (C) 2007 Nobuhiro Iwamatsu * * NTT COMWARE L-BOX RE2 Support */ #include <linux/init.h> #include <linux/platform_device.h> #include <linux/ata_platform.h> #include <asm/machvec.h> #include <asm/addrspace.h> #include <ma...
Linux kernel'inin 'arch/sh/boards/mach-sdk7780/irq' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/sh/boards/renesas/sdk7780/irq.c * * Renesas Technology Europe SDK7780 Support. * * Copyright (C) 2008 Nicholas Beck <nbeck@mpc-data.co.uk> */ #include <linux/init.h> #include <linux/irq.h> #include <linux/io.h> #include <mach/sdk7780.h> enum { UNUSED = 0...
Linux kernel'inin 'arch/sh/boards/mach-sdk7780/setup' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * arch/sh/boards/renesas/sdk7780/setup.c * * Renesas Solutions SH7780 SDK Support * Copyright (C) 2008 Nicholas Beck <nbeck@mpc-data.co.uk> */ #include <linux/init.h> #include <linux/types.h> #include <linux/platform_device.h> #include <linux/ata_platform.h> #include <as...
Linux kernel'inin 'arch/sh/boards/mach-x3proto/ilsel' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * arch/sh/boards/mach-x3proto/ilsel.c * * Helper routines for SH-X3 proto board ILSEL. * * Copyright (C) 2007 - 2010 Paul Mundt */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/init.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/b...
Linux kernel'inin 'arch/sh/boards/mach-x3proto/gpio' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * arch/sh/boards/mach-x3proto/gpio.c * * Renesas SH-X3 Prototype Baseboard GPIO Support. * * Copyright (C) 2010 - 2012 Paul Mundt */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/init.h> #include <linux/interrupt.h> #include <linux/gpio/driver.h> #includ...
Linux kernel'inin 'arch/sh/boards/mach-x3proto/setup' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * arch/sh/boards/mach-x3proto/setup.c * * Renesas SH-X3 Prototype Board Support. * * Copyright (C) 2007 - 2010 Paul Mundt */ #include <linux/init.h> #include <linux/platform_device.h> #include <linux/kernel.h> #include <linux/io.h> #include <linux/smc91x.h> #include <l...
Linux kernel'inde 'arch/sh/boards/mach-ap325rxa/sdram' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 * * AP325RXA sdram self/auto-refresh setup code * * Copyright (C) 2009 Magnus Damm */ #include <linux/sys.h> #include <linux/errno.h> #include <linux/linkage.h> #include <asm/asm-offsets.h> #include <asm/suspend.h> #include <asm/romimage-macros.h> /* code to enter...
Linux kernel'inin 'arch/sh/boards/mach-ap325rxa/setup' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Renesas - AP-325RXA * (Compatible with Algo System ., LTD. - AP-320A) * * Copyright (C) 2008 Renesas Solutions Corp. * Author : Yusuke Goda <goda.yuske@renesas.com> */ #include <asm/clock.h> #include <asm/io.h> #include <asm/suspend.h> #include <cpu/sh7723.h> #incl...
Linux kernel'inin 'arch/sh/boards/mach-rsk/devices-rsk7264' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * RSK+SH7264 Support. * * Copyright (C) 2012 Renesas Electronics Europe */ #include <linux/init.h> #include <linux/types.h> #include <linux/platform_device.h> #include <linux/interrupt.h> #include <linux/input.h> #include <linux/smsc911x.h> #include <asm/machvec.h> #inclu...
Linux kernel'inin 'arch/sh/boards/mach-rsk/setup' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Renesas Technology Europe RSK+ Support. * * Copyright (C) 2008 Paul Mundt * Copyright (C) 2008 Peter Griffin <pgriffin@mpc-data.co.uk> */ #include <linux/init.h> #include <linux/types.h> #include <linux/platform_device.h> #include <linux/interrupt.h> #include <linux/mt...
Linux kernel'inin 'arch/sh/boards/mach-rsk/devices-rsk7203' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Renesas Technology Europe RSK+ 7203 Support. * * Copyright (C) 2008 - 2010 Paul Mundt */ #include <linux/init.h> #include <linux/types.h> #include <linux/platform_device.h> #include <linux/interrupt.h> #include <linux/smsc911x.h> #include <linux/input.h> #include <linu...
Linux kernel'inin 'arch/sh/boards/mach-rsk/devices-rsk7269' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * RSK+SH7269 Support * * Copyright (C) 2012 Renesas Electronics Europe Ltd * Copyright (C) 2012 Phil Edworthy */ #include <linux/init.h> #include <linux/types.h> #include <linux/platform_device.h> #include <linux/interrupt.h> #include <linux/input.h> #include <linux/sm...
Linux kernel'inin 'arch/sh/boards/mach-landisk/irq' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * arch/sh/boards/mach-landisk/irq.c * * I-O DATA Device, Inc. LANDISK Support * * Copyright (C) 2005-2007 kogiidena * Copyright (C) 2011 Nobuhiro Iwamatsu * * Copyright (C) 2001 Ian da Silva, Jeremy Siegel * Based largely on io_se.c. */ #include <linux/init.h> #in...
Linux kernel'inin 'arch/sh/boards/mach-landisk/gio' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * arch/sh/boards/landisk/gio.c - driver for landisk * * This driver will also support the I-O DATA Device, Inc. LANDISK Board. * LANDISK and USL-5P Button, LED and GIO driver drive function. * * Copylight (C) 2006 kogiidena * Copylight (C) 2002 Atom Create Engineer...
Linux kernel'inin 'arch/sh/boards/mach-landisk/psw' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * arch/sh/boards/landisk/psw.c * * push switch support for LANDISK and USL-5P * * Copyright (C) 2006-2007 Paul Mundt * Copyright (C) 2007 kogiidena */ #include <linux/io.h> #include <linux/init.h> #include <linux/interrupt.h> #include <linux/platform_device.h> #inclu...
Linux kernel'inin 'arch/sh/boards/mach-landisk/setup' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * arch/sh/boards/landisk/setup.c * * I-O DATA Device, Inc. LANDISK Support. * * Copyright (C) 2000 Kazumoto Kojima * Copyright (C) 2002 Paul Mundt * Copylight (C) 2002 Atom Create Engineering Co., Ltd. * Copyright (C) 2005-2007 kogiidena */ #include <linux/init.h> #i...
Linux kernel'inde 'arch/sh/boards/mach-migor/sdram' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 * * Migo-R sdram self/auto-refresh setup code * * Copyright (C) 2009 Magnus Damm */ #include <linux/sys.h> #include <linux/errno.h> #include <linux/linkage.h> #include <asm/asm-offsets.h> #include <asm/suspend.h> #include <asm/romimage-macros.h> /* code to enter a...
Linux kernel'inin 'arch/sh/boards/mach-migor/lcd_qvga' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Support for SuperH MigoR Quarter VGA LCD Panel * * Copyright (C) 2008 Magnus Damm * * Based on lcd_powertip.c from Kenati Technologies Pvt Ltd. * Copyright (c) 2007 Ujjwal Pande <ujjwal@kenati.com>, */ #include <linux/delay.h> #include <linux/err.h> #include <linux/...
Linux kernel'inin 'arch/sh/boards/mach-migor/setup' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Renesas System Solutions Asia Pte. Ltd - Migo-R * * Copyright (C) 2008 Magnus Damm */ #include <linux/clkdev.h> #include <linux/dma-map-ops.h> #include <linux/init.h> #include <linux/platform_data/tmio.h> #include <linux/platform_device.h> #include <linux/interrupt.h> #...
Linux kernel'inde 'arch/sh/boards/mach-kfr2r09/sdram' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 * * KFR2R09 sdram self/auto-refresh setup code * * Copyright (C) 2009 Magnus Damm */ #include <linux/sys.h> #include <linux/errno.h> #include <linux/linkage.h> #include <asm/asm-offsets.h> #include <asm/suspend.h> #include <asm/romimage-macros.h> /* code to enter ...
Linux kernel'inin 'arch/sh/boards/mach-kfr2r09/lcd_wqvga' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * KFR2R09 LCD panel support * * Copyright (C) 2009 Magnus Damm * * Register settings based on the out-of-tree t33fb.c driver * Copyright (C) 2008 Lineo Solutions, Inc. */ #include <linux/delay.h> #include <linux/err.h> #include <linux/fb.h> #include <linux/init.h> #in...
Linux kernel'inin 'arch/sh/boards/mach-kfr2r09/setup' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * KFR2R09 board support code * * Copyright (C) 2009 Magnus Damm */ #include <asm/clock.h> #include <asm/io.h> #include <asm/machvec.h> #include <asm/suspend.h> #include <cpu/sh7724.h> #include <linux/clkdev.h> #include <linux/delay.h> #include <linux/gpio.h> #include <...
Linux kernel'inin 'arch/sh/drivers/platform_early' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <asm/platform_early.h> #include <linux/mod_devicetable.h> #include <linux/pm.h> static __initdata LIST_HEAD(sh_early_platform_driver_list); static __initdata LIST_HEAD(sh_early_platform_device_list); static const struct platform_device_id * platform_match_id(const st...
Linux kernel'inin 'arch/sh/drivers/push-switch' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Generic push-switch framework * * Copyright (C) 2006 Paul Mundt */ #include <linux/init.h> #include <linux/slab.h> #include <linux/module.h> #include <linux/interrupt.h> #include <linux/platform_device.h> #include <asm/push-switch.h> #define DRV_NAME "push-switch" #de...
Linux kernel'inin 'arch/sh/drivers/heartbeat' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Generic heartbeat driver for regular LED banks * * Copyright (C) 2007 - 2010 Paul Mundt * * Most SH reference boards include a number of individual LEDs that can * be independently controlled (either via a pre-defined hardware * function or via the LED class, if des...
Linux kernel'inin 'arch/sh/drivers/pci/fixups-snapgear' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * arch/sh/drivers/pci/ops-snapgear.c * * Author: David McCullough <davidm@snapgear.com> * * Ported to new API by Paul Mundt <lethal@linux-sh.org> * * Highly leveraged from pci-bigsur.c, written by Dustin McIntire. * * PCI initialization for the SnapGear boards */ #...
Linux kernel'inin 'arch/sh/drivers/pci/pci-sh7780' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Low-Level PCI Support for the SH7780 * * Copyright (C) 2005 - 2010 Paul Mundt */ #include <linux/types.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/pci.h> #include <linux/interrupt.h> #include <linux/timer.h> #include <linux/irq.h> #include <li...
Linux kernel'inin 'arch/sh/drivers/pci/fixups-sdk7780' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * arch/sh/drivers/pci/fixups-sdk7780.c * * PCI fixups for the SDK7780SE03 * * Copyright (C) 2003 Lineo uSolutions, Inc. * Copyright (C) 2004 - 2006 Paul Mundt * Copyright (C) 2006 Nobuhiro Iwamatsu */ #include <linux/pci.h> #include <linux/io.h> #include <linux/sh_...
Linux kernel'inin 'arch/sh/drivers/pci/pci-dreamcast' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * PCI support for the Sega Dreamcast * * Copyright (C) 2001, 2002 M. R. Brown * Copyright (C) 2002, 2003 Paul Mundt * * This file originally bore the message (with enclosed-$): * Id: pci.c,v 1.3 2003/05/04 19:29:46 lethal Exp * Dreamcast PCI: Supports SEGA Broadband...
Linux işletim sistemi çekirdeği için 'arch/sh/drivers/pci/pcie-sh7786' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 * * SH7786 PCI-Express controller definitions. * * Copyright (C) 2008, 2009 Renesas Technology Corp. * All rights reserved. */ #ifndef __PCI_SH7786_H #define __PCI_SH7786_H /* PCIe bus-0(x4) on SH7786 */ // Rev1.171 #define SH4A_PCIE_SPW_BASE 0xFE000000 /* spw config ad...
Linux kernel'inin 'arch/sh/drivers/pci/fixups-titan' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * arch/sh/drivers/pci/ops-titan.c * * Ported to new API by Paul Mundt <lethal@linux-sh.org> * * Modified from ops-snapgear.c written by David McCullough * Highly leveraged from pci-bigsur.c, written by Dustin McIntire. * * PCI initialization for the Titan boards */ ...
Linux kernel'inin 'arch/sh/drivers/pci/ops-dreamcast' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * PCI operations for the Sega Dreamcast * * Copyright (C) 2001, 2002 M. R. Brown * Copyright (C) 2002, 2003 Paul Mundt */ #include <linux/sched.h> #include <linux/kernel.h> #include <linux/param.h> #include <linux/interrupt.h> #include <linux/init.h> #include <linux/i...
Linux işletim sistemi çekirdeği için 'arch/sh/drivers/pci/pci-sh7751' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 * * Low-Level PCI Support for SH7751 targets * * Dustin McIntire (dustin@sensoria.com) (c) 2001 * Paul Mundt (lethal@linux-sh.org) (c) 2003 */ #ifndef _PCI_SH7751_H_ #define _PCI_SH7751_H_ /* Platform Specific Values */ #define SH7751_VENDOR_ID 0x1054 #defi...
Linux kernel'inin 'arch/sh/drivers/pci/ops-sh4' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Generic SH-4 / SH-4A PCIC operations (SH7751, SH7780). * * Copyright (C) 2002 - 2009 Paul Mundt */ #include <linux/pci.h> #include <linux/io.h> #include <linux/spinlock.h> #include <asm/addrspace.h> #include "pci-sh4.h" /* * Direct access to PCI hardware... */ #defi...
Linux kernel'inin 'arch/sh/drivers/pci/ops-sh7786' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Generic SH7786 PCI-Express operations. * * Copyright (C) 2009 - 2010 Paul Mundt */ #include <linux/kernel.h> #include <linux/init.h> #include <linux/pci.h> #include <linux/io.h> #include <linux/spinlock.h> #include "pcie-sh7786.h" enum { PCI_ACCESS_READ, PCI_ACCESS...
Linux kernel'inin 'arch/sh/drivers/pci/fixups-se7751' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/kernel.h> #include <linux/types.h> #include <linux/init.h> #include <linux/delay.h> #include <linux/pci.h> #include <linux/io.h> #include <linux/sh_intc.h> #include "pci-sh4.h" int pcibios_map_platform_irq(const struct pci_dev *, u8 slot, u8 pin) { switc...
Linux kernel'inin 'arch/sh/drivers/pci/fixups-sdk7786' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * SDK7786 FPGA PCIe mux handling * * Copyright (C) 2010 Paul Mundt */ #define pr_fmt(fmt) "PCI: " fmt #include <linux/init.h> #include <linux/kernel.h> #include <linux/pci.h> #include <mach/fpga.h> /* * The SDK7786 FPGA supports mangling of most of the slots in some w...
Linux kernel'inin 'arch/sh/drivers/pci/fixups-dreamcast' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * arch/sh/drivers/pci/fixups-dreamcast.c * * PCI fixups for the Sega Dreamcast * * Copyright (C) 2001, 2002 M. R. Brown * Copyright (C) 2002, 2003, 2006 Paul Mundt * * This file originally bore the message (with enclosed-$): * Id: pci.c,v 1.3 2003/05/04 19:29:46 le...
Linux kernel'inin 'arch/sh/drivers/pci/fixups-landisk' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * arch/sh/drivers/pci/fixups-landisk.c * * PCI initialization for the I-O DATA Device, Inc. LANDISK board * * Copyright (C) 2006 kogiidena * Copyright (C) 2010 Nobuhiro Iwamatsu */ #include <linux/kernel.h> #include <linux/types.h> #include <linux/init.h> #include <lin...
Linux kernel'inin 'arch/sh/drivers/pci/pci-sh7751' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Low-Level PCI Support for the SH7751 * * Copyright (C) 2003 - 2009 Paul Mundt * Copyright (C) 2001 Dustin McIntire * * With cleanup by Paul van Gool <pvangool@mimotech.com>, 2003. */ #include <linux/init.h> #include <linux/pci.h> #include <linux/types.h> #includ...
Linux kernel'inin 'arch/sh/drivers/pci/pci' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * New-style PCI core. * * Copyright (c) 2004 - 2009 Paul Mundt * Copyright (c) 2002 M. R. Brown * * Modelled after arch/mips/pci/pci.c: * Copyright (C) 2003, 04 Ralf Baechle (ralf@linux-mips.org) */ #include <linux/kernel.h> #include <linux/mm.h> #include <linux/pc...
Linux kernel'inin 'arch/sh/drivers/pci/fixups-rts7751r2d' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * arch/sh/drivers/pci/fixups-rts7751r2d.c * * RTS7751R2D / LBOXRE2 PCI fixups * * Copyright (C) 2003 Lineo uSolutions, Inc. * Copyright (C) 2004 Paul Mundt * Copyright (C) 2007 Nobuhiro Iwamatsu */ #include <linux/pci.h> #include <mach/lboxre2.h> #include <mach/r2d...
Linux işletim sistemi çekirdeği için 'arch/sh/drivers/pci/pci-sh7780' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 * * Low-Level PCI Support for SH7780 targets * * Dustin McIntire (dustin@sensoria.com) (c) 2001 * Paul Mundt (lethal@linux-sh.org) (c) 2003 */ #ifndef _PCI_SH7780_H_ #define _PCI_SH7780_H_ /* SH7780 Control Registers */ #define PCIECR 0xFE000008 #define PCIECR_ENBL ...
Linux kernel'inin 'arch/sh/drivers/pci/common' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/pci.h> #include <linux/interrupt.h> #include <linux/timer.h> #include <linux/kernel.h> /* * These functions are used early on before PCI scanning is done * and all of the pci_dev and pci_bus structures have been created. */ static struct pci_dev *fake_pci_dev...
Linux kernel'inin 'arch/sh/drivers/pci/fixups-r7780rp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * arch/sh/drivers/pci/fixups-r7780rp.c * * Highlander R7780RP-1 PCI fixups * * Copyright (C) 2003 Lineo uSolutions, Inc. * Copyright (C) 2004 - 2006 Paul Mundt */ #include <linux/pci.h> #include <linux/io.h> #include <linux/sh_intc.h> #include "pci-sh4.h" int pcibio...
Linux işletim sistemi çekirdeği için 'arch/sh/drivers/pci/pci-sh4' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __PCI_SH4_H #define __PCI_SH4_H #if defined(CONFIG_CPU_SUBTYPE_SH7780) || \ defined(CONFIG_CPU_SUBTYPE_SH7785) || \ defined(CONFIG_CPU_SUBTYPE_SH7763) #include "pci-sh7780.h" #else #include "pci-sh7751.h" #endif #include <asm/io.h> #define SH4_PCICR 0x100 ...
Linux kernel'inin 'arch/sh/drivers/pci/pcie-sh7786' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Low-Level PCI Express Support for the SH7786 * * Copyright (C) 2009 - 2011 Paul Mundt */ #define pr_fmt(fmt) "PCI: " fmt #include <linux/pci.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/io.h> #include <linux/async.h> #include <linux/delay.h> #...
Linux kernel'inin 'arch/sh/drivers/pci/fixups-sh03' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/kernel.h> #include <linux/init.h> #include <linux/types.h> #include <linux/pci.h> #include <linux/sh_intc.h> int pcibios_map_platform_irq(const struct pci_dev *dev, u8 slot, u8 pin) { int irq; if (dev->bus->number == 0) { switch (slot) { case 4: return ev...
Linux kernel'inin 'arch/sh/drivers/dma/dma-g2' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * arch/sh/drivers/dma/dma-g2.c * * G2 bus DMA support * * Copyright (C) 2003 - 2006 Paul Mundt */ #include <linux/init.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/interrupt.h> #include <asm/cacheflush.h> #include <mach/sysasic.h> #include <ma...
Linux kernel'inin 'arch/sh/drivers/dma/dma-pvr2' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * arch/sh/drivers/dma/dma-pvr2.c * * NEC PowerVR 2 (Dreamcast) DMA support * * Copyright (C) 2003, 2004 Paul Mundt */ #include <linux/init.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/interrupt.h> #include <mach/sysasic.h> #include <mach/dma.h...
Linux kernel'inin 'arch/sh/drivers/dma/dmabrg' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * SH7760 DMABRG IRQ handling * * (c) 2007 MSC Vertriebsges.m.b.H, Manuel Lauss <mlau@msc-ge.com> */ #include <linux/interrupt.h> #include <linux/kernel.h> #include <linux/slab.h> #include <asm/dma.h> #include <asm/dmabrg.h> #include <asm/io.h> /* * The DMABRG is a spec...
Linux kernel'inin 'arch/sh/drivers/dma/dma-api' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * arch/sh/drivers/dma/dma-api.c * * SuperH-specific DMA management API * * Copyright (C) 2003, 2004, 2005 Paul Mundt */ #include <linux/init.h> #include <linux/module.h> #include <linux/spinlock.h> #include <linux/proc_fs.h> #include <linux/seq_file.h> #include <linux/...
Linux kernel'inin 'arch/sh/drivers/dma/dma-sh' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * arch/sh/drivers/dma/dma-sh.c * * SuperH On-chip DMAC Support * * Copyright (C) 2000 Takashi YOSHII * Copyright (C) 2003, 2004 Paul Mundt * Copyright (C) 2005 Andriy Skulysh */ #include <linux/init.h> #include <linux/interrupt.h> #include <linux/module.h> #include <l...
Linux kernel'inin 'arch/sh/drivers/dma/dma-sysfs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * arch/sh/drivers/dma/dma-sysfs.c * * sysfs interface for SH DMA API * * Copyright (C) 2004 - 2006 Paul Mundt */ #include <linux/kernel.h> #include <linux/init.h> #include <linux/stat.h> #include <linux/device.h> #include <linux/platform_device.h> #include <linux/err.h...
Linux işletim sistemi çekirdeği için 'arch/nios2/include/uapi/asm/ptrace' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Copyright (C) 2010 Tobias Klauser <tklauser@distanz.ch> * Copyright (C) 2004 Microtronix Datacom Ltd * * based on m68k asm/processor.h * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "...
Linux işletim sistemi çekirdeği için 'arch/nios2/include/uapi/asm/elf' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ /* * Copyright (C) 2011 Tobias Klauser <tklauser@distanz.ch> * * 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 ve...
Linux işletim sistemi çekirdeği için 'arch/nios2/include/uapi/asm/signal' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Copyright Altera Corporation (C) 2013. All rights reserved * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free S...
Linux işletim sistemi çekirdeği için 'arch/nios2/include/uapi/asm/sigcontext' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ /* * Copyright (C) 2004, Microtronix Datacom Ltd. * * All rights reserved. * * 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 Found...
Linux işletim sistemi çekirdeği için 'arch/nios2/include/uapi/asm/unistd' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Copyright (C) 2013 Altera Corporation * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. ...
Linux işletim sistemi çekirdeği için 'arch/nios2/include/uapi/asm/byteorder' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ /* * Copyright (C) 2009 Thomas Chou <thomas@wytron.com.tw> * Copyright (C) 2004 Microtronix Datacom Ltd * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as publish...
Linux işletim sistemi çekirdeği için 'arch/nios2/include/asm/ptrace' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * Copyright (C) 2013 Altera Corporation * Copyright (C) 2010 Tobias Klauser <tklauser@distanz.ch> * Copyright (C) 2004 Microtronix Datacom Ltd * * based on m68k asm/processor.h * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main d...
Linux işletim sistemi çekirdeği için 'arch/nios2/include/asm/elf' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2011 Tobias Klauser <tklauser@distanz.ch> */ #ifndef _ASM_NIOS2_ELF_H #define _ASM_NIOS2_ELF_H #include <uapi/asm/elf.h> /* * This is used to ensure we don't load something for the wrong architecture. */ #define elf_check_arch(x) ((x)->e_mac...
Linux işletim sistemi çekirdeği için 'arch/nios2/include/asm/kgdb' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2015 Altera Corporation * Copyright (C) 2011 Tobias Klauser <tklauser@distanz.ch> * * Based on the code posted by Kazuyasu on the Altera Forum at: * http://www.alteraforum.com/forum/showpost.php?p=77003&postcount=20 */ #ifndef _ASM_NIOS2_KGD...
Linux işletim sistemi çekirdeği için 'arch/nios2/include/asm/asm-macros' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Macro used to simplify coding multi-line assembler. * Some of the bit test macro can simplify down to one line * depending on the mask value. * * Copyright (C) 2004 Microtronix Datacom Ltd. * * All rights reserved. */ #ifndef _ASM_NIOS2_ASMMACROS_H #defi...
Linux işletim sistemi çekirdeği için 'arch/nios2/include/asm/cacheflush' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * Copyright (C) 2003 Microtronix Datacom Ltd. * Copyright (C) 2000-2002 Greg Ungerer <gerg@snapgear.com> * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. */ #ifndef _ASM_NIOS2_CACHEF...
Linux işletim sistemi çekirdeği için 'arch/nios2/include/asm/registers' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2011 Tobias Klauser <tklauser@distanz.ch> */ #ifndef _ASM_NIOS2_REGISTERS_H #define _ASM_NIOS2_REGISTERS_H #ifndef __ASSEMBLER__ #include <asm/cpuinfo.h> #endif /* control register numbers */ #define CTL_FSTATUS 0 #define CTL_ESTATUS 1 #define...
Linux işletim sistemi çekirdeği için 'arch/nios2/include/asm/irqflags' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2010 Thomas Chou <thomas@wytron.com.tw> */ #ifndef _ASM_IRQFLAGS_H #define _ASM_IRQFLAGS_H #include <asm/registers.h> static inline unsigned long arch_local_save_flags(void) { return RDCTL(CTL_FSTATUS); } /* * This will restore ALL status re...
Linux işletim sistemi çekirdeği için 'arch/nios2/include/asm/asm-offsets' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2010 Tobias Klauser <tklauser@distanz.ch> * Copyright (C) 2009 Thomas Chou <thomas@wytron.com.tw> */ #include <generated/asm-offsets.h> ```
Linux işletim sistemi çekirdeği için 'arch/nios2/include/asm/irq' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2013 Altera Corporation * Copyright (C) 2011 Tobias Klauser <tklauser@distanz.ch> */ #ifndef _ASM_NIOS2_IRQ_H #define _ASM_NIOS2_IRQ_H #define NIOS2_CPU_NR_IRQS 32 #include <asm-generic/irq.h> #endif ```
Linux işletim sistemi çekirdeği için 'arch/nios2/include/asm/tlb' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * Copyright (C) 2010 Tobias Klauser <tklauser@distanz.ch> * Copyright (C) 2009 Wind River Systems Inc * Copyright (C) 2004 Microtronix Datacom Ltd. * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for ...
Linux işletim sistemi çekirdeği için 'arch/nios2/include/asm/shmparam' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright Altera Corporation (C) <2015>. All rights reserved */ #ifndef _ASM_NIOS2_SHMPARAM_H #define _ASM_NIOS2_SHMPARAM_H #define SHMLBA CONFIG_NIOS2_DCACHE_SIZE #endif /* _ASM_NIOS2_SHMPARAM_H */ ```
Linux işletim sistemi çekirdeği için 'arch/nios2/include/asm/tlbflush' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2010 Tobias Klauser <tklauser@distanz.ch> */ #ifndef _ASM_NIOS2_TLBFLUSH_H #define _ASM_NIOS2_TLBFLUSH_H struct mm_struct; /* * TLB flushing: * * - flush_tlb_all() flushes all processes TLB entries * - flush_tlb_mm(mm) flushes the specif...
Linux işletim sistemi çekirdeği için 'arch/nios2/include/asm/setup' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2011 Tobias Klauser <tklauser@distanz.ch> */ #ifndef _ASM_NIOS2_SETUP_H #define _ASM_NIOS2_SETUP_H #include <asm-generic/setup.h> #ifndef __ASSEMBLER__ #ifdef __KERNEL__ extern char exception_handler_hook[]; extern char fast_handler[]; extern...
Linux işletim sistemi çekirdeği için 'arch/nios2/include/asm/mmu' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * Copyright (C) 2010 Tobias Klauser <tklauser@distanz.ch> * Copyright (C) 2004 Microtronix Datacom Ltd. * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. */ #ifndef _ASM_NIOS2_MMU_H #...
Linux işletim sistemi çekirdeği için 'arch/nios2/include/asm/switch_to' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * Copyright (C) 2004 Microtronix Datacom Ltd. * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. */ #ifndef _ASM_NIOS2_SWITCH_TO_H #define _ASM_NIOS2_SWITCH_TO_H /* * switch_to(n) shou...
Linux işletim sistemi çekirdeği için 'arch/nios2/include/asm/uaccess' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * User space memory access functions for Nios II * * Copyright (C) 2010-2011, Tobias Klauser <tklauser@distanz.ch> * Copyright (C) 2009, Wind River Systems Inc * Implemented by fredrik.markstrom@gmail.com and ivarholmqvist@gmail.com * * This file is subject to the terms and conditions of the GNU Genera...
Linux işletim sistemi çekirdeği için 'arch/nios2/include/asm/io' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * Copyright (C) 2014 Altera Corporation * Copyright (C) 2010 Tobias Klauser <tklauser@distanz.ch> * Copyright (C) 2004 Microtronix Datacom Ltd. * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more...
Linux işletim sistemi çekirdeği için 'arch/nios2/include/asm/processor' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * Copyright (C) 2013 Altera Corporation * Copyright (C) 2010 Tobias Klauser <tklauser@distanz.ch> * Copyright (C) 2004 Microtronix Datacom Ltd * Copyright (C) 2001 Ken Hill (khill@microtronix.com) * Vic Phillips (vic@microtronix.com) * * based on SPARC asm/processor_32.h which is: * ...
Linux işletim sistemi çekirdeği için 'arch/nios2/include/asm/swab' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Copyright (C) 2012 Tobias Klauser <tklauser@distanz.ch> * Copyright (C) 2011 Pyramid Technical Consultants, Inc. * * This file is subject to the terms and conditions of the GNU General * Public License. See the file COPYING in the main direct...
Linux işletim sistemi çekirdeği için 'arch/nios2/include/asm/syscalls' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright Altera Corporation (C) 2013. All rights reserved */ #ifndef __ASM_NIOS2_SYSCALLS_H #define __ASM_NIOS2_SYSCALLS_H int sys_cacheflush(unsigned long addr, unsigned long len, unsigned int op); asmlinkage long __sys_clone3(struct clone_args __user *uarg...
Linux işletim sistemi çekirdeği için 'arch/nios2/include/asm/cpuinfo' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2011 Tobias Klauser <tklauser@distanz.ch> */ #ifndef _ASM_NIOS2_CPUINFO_H #define _ASM_NIOS2_CPUINFO_H #include <linux/types.h> struct cpuinfo { /* Core CPU configuration */ char cpu_impl[12]; u32 cpu_clock_freq; bool mmu; bool has_div; ...
Linux işletim sistemi çekirdeği için 'arch/nios2/include/asm/entry' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * Copyright (C) 2010 Tobias Klauser <tklauser@distanz.ch> * Copyright (C) 2004 Microtronix Datacom Ltd. * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. */ #ifndef _ASM_NIOS2_ENTRY_H...
Linux işletim sistemi çekirdeği için 'arch/nios2/include/asm/cachetype' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_NIOS2_CACHETYPE_H #define __ASM_NIOS2_CACHETYPE_H #include <asm/page.h> #include <asm/cache.h> #define cpu_dcache_is_aliasing() (NIOS2_DCACHE_SIZE > PAGE_SIZE) #endif ```
Linux işletim sistemi çekirdeği için 'arch/nios2/include/asm/syscall' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright Altera Corporation (C) <2014>. All rights reserved */ #ifndef __ASM_NIOS2_SYSCALL_H__ #define __ASM_NIOS2_SYSCALL_H__ #include <uapi/linux/audit.h> #include <linux/err.h> #include <linux/sched.h> static inline int syscall_get_nr(struct task_struct *ta...
Linux işletim sistemi çekirdeği için 'arch/nios2/include/asm/cache' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2004 Microtronix Datacom Ltd. * * All rights reserved. */ #ifndef _ASM_NIOS2_CACHE_H #define _ASM_NIOS2_CACHE_H #define NIOS2_DCACHE_SIZE CONFIG_NIOS2_DCACHE_SIZE #define NIOS2_ICACHE_SIZE CONFIG_NIOS2_ICACHE_SIZE #define NIOS2_DCACHE_LINE_SI...
Linux işletim sistemi çekirdeği için 'arch/nios2/include/asm/timex' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright Altera Corporation (C) 2014. All rights reserved. */ #ifndef _ASM_NIOS2_TIMEX_H #define _ASM_NIOS2_TIMEX_H typedef unsigned long cycles_t; extern cycles_t get_cycles(void); #define get_cycles get_cycles #define random_get_entropy() (((unsigned long)get_...
Linux işletim sistemi çekirdeği için 'arch/nios2/include/asm/checksum' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * Copyright (C) 2010 Tobias Klauser <tklauser@distanz.ch> * Copyright (C) 2004 Microtronix Datacom Ltd. * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. */ #ifndef _ASM_NIOS_CHECKSUM...
Linux işletim sistemi çekirdeği için 'arch/nios2/include/asm/traps' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * Copyright (C) 2011 Tobias Klauser <tklauser@distanz.ch> * Copyright (C) 2004 Microtronix Datacom Ltd. * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. */ #ifndef _ASM_NIOS2_TRAPS_...