instruction
stringlengths
82
202
input
stringclasses
1 value
output
stringlengths
73
23.9M
Linux kernel'inde 'arch/alpha/lib/ev6-csum_ipv6_magic' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ /* * arch/alpha/lib/ev6-csum_ipv6_magic.S * 21264 version contributed by Rick Gorton <rick.gorton@alpha-processor.com> * * unsigned short csum_ipv6_magic(struct in6_addr *saddr, * struct in6_addr *daddr, * ...
Linux kernel'inde 'arch/alpha/lib/ev67-strrchr' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ /* * arch/alpha/lib/ev67-strrchr.S * 21264 version by Rick Gorton <rick.gorton@alpha-processor.com> * * Finds length of a 0-terminated string. Optimized for the * Alpha architecture: * * - memory accessed as aligned quadwords only * - uses bcmpge to compare 8 ...
Linux kernel'inde 'arch/alpha/lib/stxcpy' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ /* * arch/alpha/lib/stxcpy.S * Contributed by Richard Henderson (rth@tamu.edu) * * Copy a null-terminated string from SRC to DST. * * This is an internal routine used by strcpy, stpcpy, and strcat. * As such, it uses special linkage conventions to make implement...
Linux kernel'inde 'arch/alpha/lib/ev6-copy_user' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ /* * arch/alpha/lib/ev6-copy_user.S * * 21264 version contributed by Rick Gorton <rick.gorton@alpha-processor.com> * * Copy to/from user space, handling exceptions as we go.. This * isn't exactly pretty. * * This is essentially the same as "memcpy()", but with...
Linux kernel'inde 'arch/alpha/lib/ev6-clear_user' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ /* * arch/alpha/lib/ev6-clear_user.S * 21264 version contributed by Rick Gorton <rick.gorton@alpha-processor.com> * * Zero user space, handling exceptions as we go. * * We have to make sure that $0 is always up-to-date and contains the * right "bytes left to zer...
Linux kernel'inin 'arch/alpha/lib/memcpy' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/lib/memcpy.c * * Copyright (C) 1995 Linus Torvalds */ /* * This is a reasonably optimized memcpy() routine. */ /* * Note that the C code is written to be optimized into good assembly. However, * at this point gcc is unable to sanely compile "if...
Linux kernel'inin 'arch/alpha/lib/csum_partial_copy' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * csum_partial_copy - do IP checksumming and copy * * (C) Copyright 1996 Linus Torvalds * accelerated versions (and 21264 assembly versions ) contributed by * Rick Gorton <rick.gorton@alpha-processor.com> * * Don't look at this too closely - you'll go mad. The things ...
Linux kernel'inde 'arch/alpha/lib/clear_user' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ /* * arch/alpha/lib/clear_user.S * Contributed by Richard Henderson <rth@tamu.edu> * * Zero user space, handling exceptions as we go. * * We have to make sure that $0 is always up-to-date and contains the * right "bytes left to zero" value (and that it is update...
Linux kernel'inde 'arch/alpha/lib/dbg_stackcheck' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ /* * arch/alpha/lib/dbg_stackcheck.S * Contributed by Richard Henderson (rth@tamu.edu) * * Verify that we have not overflowed the stack. Oops if we have. */ #include <asm/asm-offsets.h> .text .set noat .align 3 .globl _mcount .ent _mcount _mcount: .frame...
Linux kernel'inde 'arch/alpha/lib/strchr' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ /* * arch/alpha/lib/strchr.S * Contributed by Richard Henderson (rth@tamu.edu) * * Return the address of a given character within a null-terminated * string, or null if it is not found. */ #include <linux/export.h> #include <asm/regdef.h> .set noreorder .set n...
Linux kernel'inde 'arch/alpha/lib/stxncpy' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ /* * arch/alpha/lib/stxncpy.S * Contributed by Richard Henderson (rth@tamu.edu) * * Copy no more than COUNT bytes of the null-terminated string from * SRC to DST. * * This is an internal routine used by strncpy, stpncpy, and strncat. * As such, it uses special ...
Linux kernel'inde 'arch/alpha/lib/udiv-qrnnd' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly # Alpha 21064 __udiv_qrnnd # Copyright (C) 1992, 1994, 1995, 2000 Free Software Foundation, Inc. # This file is part of GCC. # The GNU MP Library 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 Foundat...
Linux kernel'inde 'arch/alpha/lib/strncpy' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ /* * arch/alpha/lib/strncpy.S * Contributed by Richard Henderson (rth@tamu.edu) * * Copy no more than COUNT bytes of the null-terminated string from * SRC to DST. If SRC does not cover all of COUNT, the balance is * zeroed. * * Or, rather, if the kernel cared ...
Linux kernel'inde 'arch/alpha/lib/ev6-divide' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ /* * arch/alpha/lib/ev6-divide.S * * 21264 version contributed by Rick Gorton <rick.gorton@alpha-processor.com> * * Alpha division.. */ /* * The alpha chip doesn't provide hardware division, so we have to do it * by hand. The compiler expects the functions *...
Linux kernel'inde 'arch/alpha/lib/ev6-stxncpy' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ /* * arch/alpha/lib/ev6-stxncpy.S * 21264 version contributed by Rick Gorton <rick.gorton@api-networks.com> * * Copy no more than COUNT bytes of the null-terminated string from * SRC to DST. * * This is an internal routine used by strncpy, stpncpy, and strncat. ...
Linux kernel'inin 'arch/alpha/lib/srm_printk' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * arch/alpha/lib/srm_printk.c */ #include <linux/kernel.h> #include <asm/console.h> long srm_printk(const char *fmt, ...) { static char buf[1024]; va_list args; long len, num_lf; char *src, *dst; va_start(args, fmt); len = vsprintf(buf, fmt, args); va_end(args); ...
Linux kernel'inde 'arch/alpha/lib/csum_ipv6_magic' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ /* * arch/alpha/lib/csum_ipv6_magic.S * Contributed by Richard Henderson <rth@tamu.edu> * * unsigned short csum_ipv6_magic(struct in6_addr *saddr, * struct in6_addr *daddr, * __u32 len, * ...
Linux kernel'inde 'arch/alpha/lib/dbg_current' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ /* * arch/alpha/lib/dbg_current.S * Contributed by Richard Henderson (rth@cygnus.com) * * Trap if we find current not correct. */ #include <asm/pal.h> .text .set noat .globl _mcount .ent _mcount _mcount: .frame $30, 0, $28, 0 .prologue 0 lda $0, -0x4000...
Linux kernel'inde 'arch/alpha/lib/strlen' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ /* * strlen.S (c) 1995 David Mosberger (davidm@cs.arizona.edu) * * Finds length of a 0-terminated string. Optimized for the * Alpha architecture: * * - memory accessed as aligned quadwords only * - uses bcmpge to compare 8 bytes in parallel * - does binary sea...
Linux kernel'inde 'arch/alpha/lib/ev6-clear_page' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ /* * arch/alpha/lib/ev6-clear_page.S * * Zero an entire page. */ #include <linux/export.h> .text .align 4 .global clear_page .ent clear_page clear_page: .prologue 0 lda $0,128 lda $1,125 addq $16,64,$2 addq $16,128,$3 ...
Linux kernel'inde 'arch/alpha/lib/strrchr' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ /* * arch/alpha/lib/strrchr.S * Contributed by Richard Henderson (rth@tamu.edu) * * Return the address of the last occurrence of a given character * within a null-terminated string, or null if it is not found. */ #include <linux/export.h> #include <asm/regdef.h> ...
Linux kernel'inde 'arch/alpha/lib/ev67-strncat' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ /* * arch/alpha/lib/ev67-strncat.S * 21264 version contributed by Rick Gorton <rick.gorton@api-networks.com> * * Append no more than COUNT characters from the null-terminated string SRC * to the null-terminated string DST. Always null-terminate the new DST. * *...
Linux kernel'inde 'arch/alpha/lib/strncat' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ /* * arch/alpha/lib/strncat.S * Contributed by Richard Henderson (rth@tamu.edu) * * Append no more than COUNT characters from the null-terminated string SRC * to the null-terminated string DST. Always null-terminate the new DST. * * This differs slightly from t...
Linux kernel'inde 'arch/alpha/lib/ev67-strlen' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ /* * arch/alpha/lib/ev67-strlen.S * 21264 version by Rick Gorton <rick.gorton@alpha-processor.com> * * Finds length of a 0-terminated string. Optimized for the * Alpha architecture: * * - memory accessed as aligned quadwords only * - uses bcmpge to compare 8 b...
Linux kernel'inin 'arch/alpha/boot/main' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * arch/alpha/boot/main.c * * Copyright (C) 1994, 1995 Linus Torvalds * * This file is the bootloader for the Linux/AXP kernel */ #include <linux/kernel.h> #include <linux/slab.h> #include <linux/string.h> #include <generated/utsrelease.h> #include <linux/mm.h> #include...
Linux kernel'inin 'arch/alpha/boot/stdio' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) Paul Mackerras 1997. */ #include <linux/string.h> #include <linux/stdarg.h> size_t strnlen(const char * s, size_t count) { const char *sc; for (sc = s; count-- && *sc != '\0'; ++sc) /* nothing */; return sc - s; } # define do_div(n, base) ({...
Linux kernel'inin 'arch/alpha/boot/bootpz' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * arch/alpha/boot/bootpz.c * * Copyright (C) 1997 Jay Estabrook * * This file is used for creating a compressed BOOTP file for the * Linux/AXP kernel * * based significantly on the arch/alpha/boot/main.c of Linus Torvalds * and the decompression code from MILO. */ #...
Linux kernel'inde 'arch/alpha/boot/head' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ /* * arch/alpha/boot/head.S * * initial bootloader stuff.. */ #include <asm/pal.h> .set noreorder .globl __start .ent __start __start: br $29,2f 2: ldgp $29,0($29) jsr $26,start_kernel call_pal PAL_halt .end __start .align 5 .globl wrent .ent wrent wre...
Linux kernel'inin 'arch/alpha/boot/misc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * misc.c * * This is a collection of several routines from gzip-1.0.3 * adapted for Linux. * * malloc by Hannu Savolainen 1993 and Matthias Urlichs 1994 * * Modified for ARM Linux by Russell King * * Nicolas Pitre <nico@visuaide.com> 1999/04/14 : * For this cod...
Linux kernel'inin 'arch/alpha/boot/bootp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * arch/alpha/boot/bootp.c * * Copyright (C) 1997 Jay Estabrook * * This file is used for creating a bootp file for the Linux/AXP kernel * * based significantly on the arch/alpha/boot/main.c of Linus Torvalds */ #include <linux/kernel.h> #include <linux/slab.h> #includ...
Linux kernel'inin 'arch/alpha/boot/tools/objstrip' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * arch/alpha/boot/tools/objstrip.c * * Strip the object file headers/trailers from an executable (ELF or ECOFF). * * Copyright (C) 1996 David Mosberger-Tang. */ /* * Converts an ECOFF or ELF object file into a bootable file. The * object file must be a OMAGIC file (i...
Linux kernel'inin 'arch/alpha/boot/tools/mkbb' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* This utility makes a bootblock suitable for the SRM console/miniloader */ /* Usage: * mkbb <device> <lxboot> * * Where <device> is the name of the device to install the bootblock on, * and <lxboot> is the name of a bootblock to merge in. This bootblock * contains the o...
Linux işletim sistemi çekirdeği için 'arch/alpha/math-emu/sfp-util' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #include <linux/kernel.h> #include <linux/sched.h> #include <linux/types.h> #include <asm/byteorder.h> #include <asm/fpu.h> #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ ((sl) = (al) + (bl), (sh) = (ah) + (bh) + ((sl) < (al))) #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ ...
Linux kernel'inin 'arch/alpha/math-emu/math' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only #include <linux/module.h> #include <linux/types.h> #include <linux/kernel.h> #include <linux/sched.h> #include <asm/ptrace.h> #include <asm/fpu.h> #include <linux/uaccess.h> #include "sfp-util.h" #include <math-emu/soft-fp.h> #include <math-emu/single.h> #include <math-em...
Linux kernel'inin 'arch/alpha/kernel/irq_alpha' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Alpha specific irq code. */ #include <linux/init.h> #include <linux/sched.h> #include <linux/irq.h> #include <linux/kernel_stat.h> #include <linux/module.h> #include <asm/machvec.h> #include <asm/dma.h> #include <asm/perf_event.h> #include <asm/mce.h> #include "proto.h...
Linux kernel'inin 'arch/alpha/kernel/err_marvel' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/err_marvel.c * * Copyright (C) 2001 Jeff Wiedemeier (Compaq Computer Corporation) * */ #include <linux/init.h> #include <linux/pci.h> #include <linux/sched.h> #include <asm/io.h> #include <asm/console.h> #include <asm/core_marvel.h> #include <...
Linux kernel'inin 'arch/alpha/kernel/core_mcpcia' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/core_mcpcia.c * * Based on code written by David A Rusling (david.rusling@reo.mts.dec.com). * * Code common to all MCbus-PCI Adaptor core logic chipsets */ #define __EXTERN_INLINE inline #include <asm/io.h> #include <asm/core_mcpcia.h> #undef ...
Linux kernel'inin 'arch/alpha/kernel/irq' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/irq.c * * Copyright (C) 1995 Linus Torvalds * * This file contains the code used by various IRQ handling routines: * asking for different IRQ's should be done through these routines * instead of just grabbing them. Thus setups with different I...
Linux işletim sistemi çekirdeği için 'arch/alpha/kernel/proto' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #include <linux/interrupt.h> #include <linux/screen_info.h> #include <linux/io.h> /* Prototypes of functions used across modules here in this directory. */ #define vucp volatile unsigned char * #define vusp volatile unsigned short * #define vip volatile int * #define vuip...
Linux işletim sistemi çekirdeği için 'arch/alpha/kernel/err_impl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * linux/arch/alpha/kernel/err_impl.h * * Copyright (C) 2000 Jeff Wiedemeier (Compaq Computer Corporation) * * Contains declarations and macros to support Alpha error handling * implementations. */ #include <asm/mce.h> union el_timestamp; struct el_subpacket; stru...
Linux kernel'inin 'arch/alpha/kernel/sys_ruffian' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/sys_ruffian.c * * Copyright (C) 1995 David A Rusling * Copyright (C) 1996 Jay A Estabrook * Copyright (C) 1998, 1999, 2000 Richard Henderson * * Code supporting the RUFFIAN. */ #include <linux/kernel.h> #include <linux/types.h> #include <lin...
Linux kernel'inde 'arch/alpha/kernel/entry' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ /* * arch/alpha/kernel/entry.S * * Kernel entry-points. */ #include <asm/asm-offsets.h> #include <asm/thread_info.h> #include <asm/pal.h> #include <asm/errno.h> #include <asm/unistd.h> #include <linux/errno.h> .text .set noat .cfi_sections .debug_frame .macro...
Linux kernel'inin 'arch/alpha/kernel/core_wildfire' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/core_wildfire.c * * Wildfire support. * * Copyright (C) 2000 Andrea Arcangeli <andrea@suse.de> SuSE */ #define __EXTERN_INLINE inline #include <asm/io.h> #include <asm/core_wildfire.h> #undef __EXTERN_INLINE #include <linux/types.h> #inclu...
Linux kernel'inde 'arch/alpha/kernel/vmlinux.lds' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ #define EMITS_PT_NOTE #define RO_EXCEPTION_TABLE_ALIGN 16 #include <asm-generic/vmlinux.lds.h> #include <asm/thread_info.h> #include <asm/cache.h> #include <asm/page.h> #include <asm/setup.h> OUTPUT_FORMAT("elf64-alpha") OUTPUT_ARCH(alpha) ENTRY(__start) PHDRS { tex...
Linux kernel'inin 'arch/alpha/kernel/pci_iommu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/pci_iommu.c */ #include <linux/kernel.h> #include <linux/mm.h> #include <linux/pci.h> #include <linux/gfp.h> #include <linux/memblock.h> #include <linux/export.h> #include <linux/scatterlist.h> #include <linux/log2.h> #include <linux/dma-map-ops.h...
Linux kernel'inin 'arch/alpha/kernel/core_tsunami' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/core_tsunami.c * * Based on code written by David A. Rusling (david.rusling@reo.mts.dec.com). * * Code common to all TSUNAMI core logic chips. */ #define __EXTERN_INLINE inline #include <asm/io.h> #include <asm/core_tsunami.h> #undef __EXTERN_...
Linux kernel'inin 'arch/alpha/kernel/core_cia' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/core_cia.c * * Written by David A Rusling (david.rusling@reo.mts.dec.com). * December 1995. * * Copyright (C) 1995 David A Rusling * Copyright (C) 1997, 1998 Jay Estabrook * Copyright (C) 1998, 1999, 2000 Richard Henderson * * Code commo...
Linux kernel'inin 'arch/alpha/kernel/audit' alt sistemi için gerekli C kaynak kodunu implemente et.
```c #include <linux/init.h> #include <linux/types.h> #include <linux/audit.h> #include <asm/unistd.h> static unsigned dir_class[] = { #include <asm-generic/audit_dir_write.h> ~0U }; static unsigned read_class[] = { #include <asm-generic/audit_read.h> ~0U }; static unsigned write_class[] = { #include <asm-generic/au...
Linux kernel'inin 'arch/alpha/kernel/sys_nautilus' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/sys_nautilus.c * * Copyright (C) 1995 David A Rusling * Copyright (C) 1998 Richard Henderson * Copyright (C) 1999 Alpha Processor, Inc., * (David Daniel, Stig Telfer, Soohoon Lee) * * Code supporting NAUTILUS systems. * * * NAUTILUS has t...
Linux kernel'inin 'arch/alpha/kernel/srm_env' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * srm_env.c - Access to SRM environment * variables through linux' procfs * * (C) 2001,2002,2006 by Jan-Benedict Glaw <jbglaw@lug-owl.de> * * This driver is a modified version of Erik Mouw's example proc * interface, so: thank you, Erik! He can be reac...
Linux işletim sistemi çekirdeği için 'arch/alpha/kernel/pc873xx' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PC873xx_H_ #define _PC873xx_H_ /* * Control Register Values */ #define REG_FER 0x00 #define REG_FAR 0x01 #define REG_PTR 0x02 #define REG_FCR 0x03 #define REG_PCR 0x04 #define REG_KRR 0x05 #define REG_PMC 0x06 #define REG_TUP 0x07 #define REG_SID 0x08 #define REG...
Linux kernel'inin 'arch/alpha/kernel/srmcons' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/srmcons.c * * Callback based driver for SRM Console console device. * (TTY driver and console driver) */ #include <linux/kernel.h> #include <linux/init.h> #include <linux/console.h> #include <linux/delay.h> #include <linux/mm.h> #include <linux...
Linux kernel'inin 'arch/alpha/kernel/asm-offsets' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Generate definitions needed by assembly language modules. * This code generates raw asm output which is post-processed to extract * and format the required data. */ #define COMPILE_OFFSETS #include <linux/types.h> #include <linux/stddef.h> #include <linux/sched.h> #inc...
Linux kernel'inin 'arch/alpha/kernel/sys_sx164' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/sys_sx164.c * * Copyright (C) 1995 David A Rusling * Copyright (C) 1996 Jay A Estabrook * Copyright (C) 1998, 1999, 2000 Richard Henderson * * Code supporting the SX164 (PCA56+PYXIS). */ #include <linux/kernel.h> #include <linux/types.h> #in...
Linux kernel'inin 'arch/alpha/kernel/sys_titan' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/sys_titan.c * * Copyright (C) 1995 David A Rusling * Copyright (C) 1996, 1999 Jay A Estabrook * Copyright (C) 1998, 1999 Richard Henderson * Copyright (C) 1999, 2000 Jeff Wiedemeier * * Code supporting TITAN systems (EV6+TITAN), currentl...
Linux kernel'inin 'arch/alpha/kernel/ptrace' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* ptrace.c */ /* By Ross Biro 1/23/92 */ /* edited by Linus Torvalds */ /* mangled further by Bob Manson (manson@santafe.edu) */ /* more mutilation by David Mosberger (davidm@azstarnet.com) */ #include <linux/kernel.h> #include <linux/sched.h> #include <linux/sched/task_stack....
Linux kernel'inin 'arch/alpha/kernel/core_marvel' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/core_marvel.c * * Code common to all Marvel based systems. */ #define __EXTERN_INLINE inline #include <asm/io.h> #include <asm/core_marvel.h> #undef __EXTERN_INLINE #include <linux/types.h> #include <linux/pci.h> #include <linux/sched.h> #inclu...
Linux kernel'inin 'arch/alpha/kernel/core_irongate' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/core_irongate.c * * Based on code written by David A. Rusling (david.rusling@reo.mts.dec.com). * * Copyright (C) 1999 Alpha Processor, Inc., * (David Daniel, Stig Telfer, Soohoon Lee) * * Code common to all IRONGATE core logic chips. */ #d...
Linux kernel'inin 'arch/alpha/kernel/sys_miata' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/sys_miata.c * * Copyright (C) 1995 David A Rusling * Copyright (C) 1996 Jay A Estabrook * Copyright (C) 1998, 1999, 2000 Richard Henderson * * Code supporting the MIATA (EV56+PYXIS). */ #include <linux/kernel.h> #include <linux/types.h> #inc...
Linux kernel'inin 'arch/alpha/kernel/rtc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/rtc.c * * Copyright (C) 1991, 1992, 1995, 1999, 2000 Linus Torvalds * * This file contains date handling. */ #include <linux/errno.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/param.h> #include <linux/string.h> #inclu...
Linux kernel'inin 'arch/alpha/kernel/osf_sys' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/osf_sys.c * * Copyright (C) 1995 Linus Torvalds */ /* * This file handles some of the stranger OSF/1 system call interfaces. * Some of the system calls expect a non-C calling standard, others have * special parameter blocks.. */ #include...
Linux kernel'inin 'arch/alpha/kernel/irq_i8259' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/irq_i8259.c * * This is the 'legacy' 8259A Programmable Interrupt Controller, * present in the majority of PC/AT boxes. * * Started hacking from linux-2.3.30pre6/arch/i386/kernel/i8259.c. */ #include <linux/init.h> #include <linux/cache....
Linux kernel'inde 'arch/alpha/kernel/head' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ /* * arch/alpha/kernel/head.S * * initial boot stuff.. At this point, the bootloader has already * switched into OSF/1 PAL-code, and loaded us at the correct address * (START_ADDR). So there isn't much left for us to do: just set up * the kernel global pointer a...
Linux kernel'inde 'arch/alpha/kernel/systbls' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ /* * arch/alpha/kernel/systbls.S * * The system call table. */ #include <asm/unistd.h> #define __SYSCALL(nr, entry) .quad entry .data .align 3 .globl sys_call_table sys_call_table: #include <asm/syscall_table.h> ```
Linux kernel'inin 'arch/alpha/kernel/core_titan' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/core_titan.c * * Code common to all TITAN core logic chips. */ #define __EXTERN_INLINE inline #include <asm/io.h> #include <asm/core_titan.h> #undef __EXTERN_INLINE #include <linux/module.h> #include <linux/types.h> #include <linux/pci.h> #incl...
Linux kernel'inin 'arch/alpha/kernel/irq_pyxis' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/irq_pyxis.c * * Based on code written by David A Rusling (david.rusling@reo.mts.dec.com). * * IRQ Code common to all PYXIS core logic chips. */ #include <linux/init.h> #include <linux/sched.h> #include <linux/irq.h> #include <asm/io.h> #inclu...
Linux kernel'inin 'arch/alpha/kernel/smc37c669' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * SMC 37C669 initialization code */ #include <linux/kernel.h> #include <linux/mm.h> #include <linux/init.h> #include <linux/delay.h> #include <linux/spinlock.h> #include <asm/hwrpb.h> #include <asm/io.h> #include "proto.h" #if 0 # define DBG_DEVS(args) printk args #else # define DBG_DEVS(args) #en...
Linux kernel'inin 'arch/alpha/kernel/core_t2' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/core_t2.c * * Written by Jay A Estabrook (jestabro@amt.tay1.dec.com). * December 1996. * * based on CIA code by David A Rusling (david.rusling@reo.mts.dec.com) * * Code common to all T2 core logic chips. */ #define __EXTERN_INLINE inline #i...
Linux kernel'inin 'arch/alpha/kernel/termios' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/termios_internal.h> int user_termio_to_kernel_termios(struct ktermios *termios, struct termio __user *termio) { struct termio v; bool canon; if (copy_from_user(&v, termio, sizeof(struct termio))) return -EFAULT; termios->c_iflag = (0xffff0000 & ter...
Linux kernel'inin 'arch/alpha/kernel/sys_noritake' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/sys_noritake.c * * Copyright (C) 1995 David A Rusling * Copyright (C) 1996 Jay A Estabrook * Copyright (C) 1998, 1999 Richard Henderson * * Code supporting the NORITAKE (AlphaServer 1000A), * CORELLE (AlphaServer 800), and ALCOR Primo (Alpha...
Linux kernel'inin 'arch/alpha/kernel/time' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/time.c * * Copyright (C) 1991, 1992, 1995, 1999, 2000 Linus Torvalds * * This file contains the clocksource time handling. * 1997-09-10 Updated NTP code according to technical memorandum Jan '96 * "A Kernel Model for Precision Timekeeping"...
Linux kernel'inin 'arch/alpha/kernel/signal' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/signal.c * * Copyright (C) 1995 Linus Torvalds * * 1997-11-02 Modified for POSIX.1b signals by Richard Henderson */ #include <linux/sched/signal.h> #include <linux/sched/task_stack.h> #include <linux/kernel.h> #include <linux/signal.h> #i...
Linux kernel'inin 'arch/alpha/kernel/sys_alcor' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/sys_alcor.c * * Copyright (C) 1995 David A Rusling * Copyright (C) 1996 Jay A Estabrook * Copyright (C) 1998, 1999 Richard Henderson * * Code supporting the ALCOR and XLT (XL-300/366/433). */ #include <linux/kernel.h> #include <linux/types.h...
Linux kernel'inin 'arch/alpha/kernel/err_common' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/err_common.c * * Copyright (C) 2000 Jeff Wiedemeier (Compaq Computer Corporation) * * Error handling code supporting Alpha systems */ #include <linux/init.h> #include <linux/sched.h> #include <asm/io.h> #include <asm/hwrpb.h> #include <asm/sm...
Linux işletim sistemi çekirdeği için 'arch/alpha/kernel/pci_impl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * linux/arch/alpha/kernel/pci_impl.h * * This file contains declarations and inline functions for interfacing * with the PCI initialization routines. */ struct pci_dev; struct pci_controller; struct pci_iommu_arena; /* * We can't just blindly use 64K for machines w...
Linux kernel'inin 'arch/alpha/kernel/module' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* Kernel module help for Alpha. Copyright (C) 2002 Richard Henderson. */ #include <linux/moduleloader.h> #include <linux/elf.h> #include <linux/vmalloc.h> #include <linux/fs.h> #include <linux/string.h> #include <linux/kernel.h> #include <linux/slab.h> #if 0 #de...
Linux kernel'inin 'arch/alpha/kernel/es1888' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/es1888.c * * Init the built-in ES1888 sound chip (SB16 compatible) */ #include <linux/init.h> #include <asm/io.h> #include "proto.h" void __init es1888_init(void) { /* Sequence of IO reads to init the audio controller */ inb(0x0229); inb(0x0...
Linux kernel'inin 'arch/alpha/kernel/sys_rawhide' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/sys_rawhide.c * * Copyright (C) 1995 David A Rusling * Copyright (C) 1996 Jay A Estabrook * Copyright (C) 1998, 1999 Richard Henderson * * Code supporting the RAWHIDE. */ #include <linux/kernel.h> #include <linux/types.h> #include <linux/mm....
Linux kernel'inin 'arch/alpha/kernel/sys_dp264' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/sys_dp264.c * * Copyright (C) 1995 David A Rusling * Copyright (C) 1996, 1999 Jay A Estabrook * Copyright (C) 1998, 1999 Richard Henderson * * Modified by Christopher C. Chimelis, 2001 to * add support for the addition of Shark to the * Tsun...
Linux kernel'inin 'arch/alpha/kernel/sys_mikasa' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/sys_mikasa.c * * Copyright (C) 1995 David A Rusling * Copyright (C) 1996 Jay A Estabrook * Copyright (C) 1998, 1999 Richard Henderson * * Code supporting the MIKASA (AlphaServer 1000). */ #include <linux/kernel.h> #include <linux/types.h> #i...
Linux kernel'inin 'arch/alpha/kernel/err_ev7' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/err_ev7.c * * Copyright (C) 2000 Jeff Wiedemeier (Compaq Computer Corporation) * * Error handling code supporting Alpha systems */ #include <linux/init.h> #include <linux/sched.h> #include <asm/io.h> #include <asm/hwrpb.h> #include <asm/smp.h...
Linux işletim sistemi çekirdeği için 'arch/alpha/kernel/irq_impl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * linux/arch/alpha/kernel/irq_impl.h * * Copyright (C) 1995 Linus Torvalds * Copyright (C) 1998, 2000 Richard Henderson * * This file contains declarations and inline functions for interfacing * with the IRQ handling routines in irq.c. */ #include <linux/interrupt...
Linux kernel'inin 'arch/alpha/kernel/setup' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/setup.c * * Copyright (C) 1995 Linus Torvalds */ /* 2.3.x bootmem, 1999 Andrea Arcangeli <andrea@suse.de> */ /* * Bootup setup stuff. */ #include <linux/sched.h> #include <linux/kernel.h> #include <linux/mm.h> #include <linux/stddef.h> #i...
Linux kernel'inin 'arch/alpha/kernel/gct' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/gct.c */ #include <linux/kernel.h> #include <linux/types.h> #include <linux/errno.h> #include <asm/hwrpb.h> #include <asm/gct.h> int gct6_find_nodes(gct6_node *node, gct6_search_struct *search) { gct6_search_struct *wanted; int status = 0; /...
Linux kernel'inin 'arch/alpha/kernel/pc873xx' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/ioport.h> #include <asm/io.h> #include "pc873xx.h" static unsigned pc873xx_probelist[] = {0x398, 0x26e, 0}; static char *pc873xx_names[] = { "PC87303", "PC87306", "PC87312", "PC87332", "PC87334" }; static unsigned int base, model; unsigned int __init pc873...
Linux kernel'inin 'arch/alpha/kernel/smp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/smp.c * * 2001-07-09 Phil Ezolt (Phillip.Ezolt@compaq.com) * Renamed modified smp_call_function to smp_call_function_on_cpu() * Created an function that conforms to the old calling convention * of smp_call_...
Linux kernel'inin 'arch/alpha/kernel/pci' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/pci.c * * Extruded from code written by * Dave Rusling (david.rusling@reo.mts.dec.com) * David Mosberger (davidm@cs.arizona.edu) */ /* 2.3.x PCI/resources, 1999 Andrea Arcangeli <andrea@suse.de> */ /* * Nov 2000, Ivan Kokshaysky <ink@jurassi...
Linux kernel'inin 'arch/alpha/kernel/pci-sysfs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * arch/alpha/kernel/pci-sysfs.c * * Copyright (C) 2009 Ivan Kokshaysky * * Alpha PCI resource files. * * Loosely based on generic HAVE_PCI_MMAP implementation in * drivers/pci/pci-sysfs.c */ #include <linux/sched.h> #include <linux/stat.h> #include <linux/slab.h> #i...
Linux kernel'inin 'arch/alpha/kernel/sys_takara' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/sys_takara.c * * Copyright (C) 1995 David A Rusling * Copyright (C) 1996 Jay A Estabrook * Copyright (C) 1998, 1999 Richard Henderson * * Code supporting the TAKARA. */ #include <linux/kernel.h> #include <linux/types.h> #include <linux/mm.h>...
Linux kernel'inin 'arch/alpha/kernel/err_ev6' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/err_ev6.c * * Copyright (C) 2000 Jeff Wiedemeier (Compaq Computer Corporation) * * Error handling code supporting Alpha systems */ #include <linux/sched.h> #include <asm/io.h> #include <asm/irq_regs.h> #include <asm/hwrpb.h> #include <asm/smp...
Linux kernel'inin 'arch/alpha/kernel/sys_cabriolet' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/sys_cabriolet.c * * Copyright (C) 1995 David A Rusling * Copyright (C) 1996 Jay A Estabrook * Copyright (C) 1998, 1999, 2000 Richard Henderson * * Code supporting the PC164 and LX164. */ #include <linux/kernel.h> #include <linux/types.h> #in...
Linux kernel'inin 'arch/alpha/kernel/console' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/console.c * * Architecture-specific specific support for VGA device on * non-0 I/O hose */ #include <linux/pci.h> #include <linux/init.h> #include <linux/tty.h> #include <linux/console.h> #include <linux/vt.h> #include <asm/vga.h> #include <as...
Linux kernel'inin 'arch/alpha/kernel/bugs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c #include <asm/hwrpb.h> #include <linux/device.h> #include <linux/cpu.h> #ifdef CONFIG_SYSFS static int cpu_is_ev6_or_later(void) { struct percpu_struct *cpu; unsigned long cputype; cpu = (struct percpu_struct *)((char *)hwrpb + hwrpb->processor_offset); cputype = cpu->type & 0xfffffff...
Linux kernel'inin 'arch/alpha/kernel/traps' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * arch/alpha/kernel/traps.c * * (C) Copyright 1994 Linus Torvalds */ /* * This file initializes the trap entry points */ #include <linux/cpu.h> #include <linux/jiffies.h> #include <linux/mm.h> #include <linux/sched/signal.h> #include <linux/sched/debug.h> #include <li...
Linux kernel'inin 'arch/alpha/kernel/perf_event' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Hardware performance events for the Alpha. * * We implement HW counts on the EV67 and subsequent CPUs only. * * (C) 2010 Michael J. Cree * * Somewhat based on the Sparc code, and to a lesser extent the PowerPC and * ARM code, which are copyright by their respective ...
Linux kernel'inin 'arch/alpha/kernel/io' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Alpha IO and memory functions. */ #include <linux/kernel.h> #include <linux/types.h> #include <linux/string.h> #include <linux/module.h> #include <asm/io.h> /* Out-of-line versions of the i/o routines that redirect into the platform-specific version. Note that "pla...
Linux kernel'inin 'arch/alpha/kernel/smc37c93x' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * SMC 37C93X initialization code */ #include <linux/kernel.h> #include <linux/mm.h> #include <linux/init.h> #include <linux/delay.h> #include <asm/hwrpb.h> #include <asm/io.h> #include "proto.h" #define SMC_DEBUG 0 #if SMC_DEBUG # define DBG_DEVS(args) printk ...
Linux kernel'inin 'arch/alpha/kernel/sys_sable' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/sys_sable.c * * Copyright (C) 1995 David A Rusling * Copyright (C) 1996 Jay A Estabrook * Copyright (C) 1998, 1999 Richard Henderson * * Code supporting the Sable, Sable-Gamma, and Lynx systems. */ #include <linux/kernel.h> #include <linux/t...
Linux kernel'inin 'arch/alpha/kernel/irq_srm' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Handle interrupts from the SRM, assuming no additional weirdness. */ #include <linux/init.h> #include <linux/sched.h> #include <linux/irq.h> #include "proto.h" #include "irq_impl.h" /* * Is the palcode SMP safe? In other words: can we call cserve_ena/dis * at the sa...
Linux kernel'inin 'arch/alpha/kernel/core_polaris' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/core_polaris.c * * POLARIS chip-specific code */ #define __EXTERN_INLINE inline #include <asm/io.h> #include <asm/core_polaris.h> #undef __EXTERN_INLINE #include <linux/types.h> #include <linux/pci.h> #include <linux/sched.h> #include <lin...