instruction
stringlengths
82
202
input
stringclasses
1 value
output
stringlengths
73
23.9M
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/pdc_chassis' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * include/asm-parisc/pdc_chassis.h * * Copyright (C) 2002 Laurent Canet <canetl@esiee.fr> * Copyright (C) 2002 Thibaut Varene <varenet@parisc-linux.org> * * TODO: - handle processor number on SMP systems (Reporting Entity ID) * - handle message ID *...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/assembly' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 1999 Hewlett-Packard (Frank Rowand) * Copyright (C) 1999 Philipp Rumpf <prumpf@tux.org> * Copyright (C) 1999 SuSE GmbH * Copyright (C) 2021 Helge Deller <deller@gmx.de> */ #ifndef _PARISC_ASSEMBLY_H #define _PARISC_ASSEMBLY_H #ifdef CONFIG_6...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/seccomp' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ #ifndef _ASM_SECCOMP_H #define _ASM_SECCOMP_H #include <asm-generic/seccomp.h> #ifdef CONFIG_64BIT # define SECCOMP_ARCH_NATIVE AUDIT_ARCH_PARISC64 # define SECCOMP_ARCH_NATIVE_NR NR_syscalls # define SECCOMP_ARCH_NATIVE_NAME "parisc64" # ifdef CONFIG_COMPAT # defin...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/cacheflush' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PARISC_CACHEFLUSH_H #define _PARISC_CACHEFLUSH_H #include <linux/mm.h> #include <linux/uaccess.h> #include <asm/tlbflush.h> /* The usual comment is "Caches aren't brain-dead on the <architecture>". * Unfortunately, that doesn't apply to PA-RISC. */ #include <linu...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/mmzone' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PARISC_MMZONE_H #define _PARISC_MMZONE_H #define MAX_PHYSMEM_RANGES 4 /* Fix the size for now (current known max is 3) */ #endif /* _PARISC_MMZONE_H */ ```
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/compat_ucontext' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_PARISC_COMPAT_UCONTEXT_H #define _ASM_PARISC_COMPAT_UCONTEXT_H #include <linux/compat.h> /* 32-bit ucontext as seen from an 64-bit kernel */ struct compat_ucontext { compat_uint_t uc_flags; compat_uptr_t uc_link; compat_stack_t uc_stack; /* struct compat_sig...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/socket' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_SOCKET_H #define _ASM_SOCKET_H #include <uapi/asm/socket.h> /* O_NONBLOCK clashed with the bits used for socket types. Therefore we * had to define SOCK_NONBLOCK to a different value here. */ #define SOCK_NONBLOCK 0x40000000 #endif /* _ASM_SOCKET_H */ ```
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/sparsemem' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef ASM_PARISC_SPARSEMEM_H #define ASM_PARISC_SPARSEMEM_H /* We have these possible memory map layouts: * Astro: 0-3.75, 67.75-68, 4-64 * zx1: 0-1, 257-260, 4-256 * Stretch (N-class): 0-2, 4-32, 34-xxx */ #define MAX_PHYSMEM_BITS 39 /* 512 GB */ #define SECTION_SIZE...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/irqflags' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __PARISC_IRQFLAGS_H #define __PARISC_IRQFLAGS_H #include <linux/types.h> #include <asm/psw.h> static inline unsigned long arch_local_save_flags(void) { unsigned long flags; asm volatile("ssm 0, %0" : "=r" (flags) : : "memory"); return flags; } static inline void...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/rt_sigframe' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_PARISC_RT_SIGFRAME_H #define _ASM_PARISC_RT_SIGFRAME_H struct rt_sigframe { unsigned int tramp[2]; /* holds original return address */ struct siginfo info; struct ucontext uc; }; #define SIGFRAME 128 #define FUNCTIONCALLFRAME 96 #define PARISC_RT_SIGFRAME_S...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/kbdleds' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_PARISC_KBDLEDS_H #define _ASM_PARISC_KBDLEDS_H /* * On HIL keyboards of PARISC machines there is no NumLock key and * everyone expects the keypad to be used for numbers. That's why * we can safely turn on the NUMLOCK bit. */ static inline int kbd_defleds(vo...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/asmregs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 1999 Hewlett-Packard (Frank Rowand) */ #ifndef _PARISC_ASMREGS_H #define _PARISC_ASMREGS_H ;! General Registers rp: .reg %r2 arg3: .reg %r23 arg2: .reg %r24 arg1: .reg %r25 arg0: .reg %r26 dp: .reg %r27 ret0: .reg %r28 ret1: .reg %r29 sl: .reg...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/futex' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_PARISC_FUTEX_H #define _ASM_PARISC_FUTEX_H #include <linux/futex.h> #include <linux/uaccess.h> #include <asm/atomic.h> #include <asm/errno.h> /* The following has to match the LWS code in syscall.S. We have * 256 four-word locks. We use bits 20-27 of the fute...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/superio' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PARISC_SUPERIO_H #define _PARISC_SUPERIO_H #define IC_PIC1 0x20 /* PCI I/O address of master 8259 */ #define IC_PIC2 0xA0 /* PCI I/O address of slave */ /* Config Space Offsets to configuration and base address registers */ #define SIO_CR 0x5A /* Confi...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/serial' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * include/asm-parisc/serial.h */ /* * This is used for 16550-compatible UARTs */ #define BASE_BAUD ( 1843200 / 16 ) ```
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/eisa_bus' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * eisa_bus.h interface between the eisa BA driver and the bus enumerator * * Copyright (c) 2002 Daniel Engstrom <5116@telia.com> */ #ifndef ASM_EISA_H #define ASM_EISA_H extern void eisa_make_irq_level(int num); extern void eisa_make_irq_edge(int num); exter...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/runway' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef ASM_PARISC_RUNWAY_H #define ASM_PARISC_RUNWAY_H #define RUNWAY_STATUS 0x10 #define RUNWAY_DEBUG 0x40 #endif /* ASM_PARISC_RUNWAY_H */ ```
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/hash' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_HASH_H #define _ASM_HASH_H /* * HP-PA only implements integer multiply in the FPU. However, for * integer multiplies by constant, it has a number of shift-and-add * (but no shift-and-subtract, sigh!) instructions that a compiler * can synthesize a code sequ...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/dma-mapping' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PARISC_DMA_MAPPING_H #define _PARISC_DMA_MAPPING_H /* ** We need to support 4 different coherent dma models with one binary: ** ** I/O MMU consistent method dma_sync behavior ** ============= ====================== =====================...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/irq' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * include/asm-parisc/irq.h * * Copyright 2005 Matthew Wilcox <matthew@wil.cx> */ #ifndef _ASM_PARISC_IRQ_H #define _ASM_PARISC_IRQ_H #include <linux/cpumask.h> #include <asm/types.h> #define NO_IRQ (-1) #ifdef CONFIG_GSC #define GSC_IRQ_BASE 16 #define GSC_IRQ_MAX...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/text-patching' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PARISC_KERNEL_PATCH_H #define _PARISC_KERNEL_PATCH_H /* stop machine and patch kernel text */ void patch_text(void *addr, unsigned int insn); void patch_text_multiple(void *addr, u32 *insn, unsigned int len); /* patch kernel text with machine already stopped (e.g. ...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/tlb' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PARISC_TLB_H #define _PARISC_TLB_H #include <asm-generic/tlb.h> #if CONFIG_PGTABLE_LEVELS == 3 #define __pmd_free_tlb(tlb, pmd, addr) tlb_remove_ptdesc((tlb), virt_to_ptdesc(pmd)) #endif #define __pte_free_tlb(tlb, pte, addr) tlb_remove_ptdesc((tlb), page_ptdesc(pt...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/special_insns' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __PARISC_SPECIAL_INSNS_H #define __PARISC_SPECIAL_INSNS_H #define lpa(va) ({ \ unsigned long pa; \ __asm__ __volatile__( \ "copy %%r0,%0\n" \ "8:\tlpa %%r0(%1),%0\n" \ "9:\n" \ ASM_EXCEPTIONTABLE_ENTRY(8b, 9b, \ "or %%r0,%%r0,%%r0") \ ...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/mman' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_MMAN_H__ #define __ASM_MMAN_H__ #include <linux/fs.h> #include <uapi/asm/mman.h> /* PARISC cannot allow mdwe as it needs writable stacks */ static inline bool arch_memory_deny_write_exec_supported(void) { return false; } #define arch_memory_deny_write_exec_su...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/shmparam' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASMPARISC_SHMPARAM_H #define _ASMPARISC_SHMPARAM_H /* * PA-RISC uses virtually indexed & physically tagged (VIPT) caches * which has strict requirements when two pages to the same physical * address are accessed through different mappings. Read the section * "Ad...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/tlbflush' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PARISC_TLBFLUSH_H #define _PARISC_TLBFLUSH_H /* TLB flushing routines.... */ #include <linux/mm.h> #include <linux/sched.h> #include <asm/mmu_context.h> extern void flush_tlb_all(void); extern void flush_tlb_all_local(void *); #define smp_flush_tlb_all() flush_tl...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/atomic' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (C) 2000 Philipp Rumpf <prumpf@tux.org> * Copyright (C) 2006 Kyle McMartin <kyle@parisc-linux.org> */ #ifndef _ASM_PARISC_ATOMIC_H_ #define _ASM_PARISC_ATOMIC_H_ #include <linux/types.h> #include <asm/cmpxchg.h> #include <asm/barrier.h> /* * Atomic operatio...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/parisc-device' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_PARISC_PARISC_DEVICE_H_ #define _ASM_PARISC_PARISC_DEVICE_H_ #include <linux/device.h> struct parisc_device { struct resource hpa; /* Hard Physical Address */ struct parisc_device_id id; struct parisc_driver *driver; /* Driver for this device */ char name...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/mmu' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PARISC_MMU_H_ #define _PARISC_MMU_H_ typedef struct { unsigned long space_id; unsigned long vdso_base; } mm_context_t; #endif /* _PARISC_MMU_H_ */ ```
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/led' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef LED_H #define LED_H #define LED7 0x80 /* top (or furthest right) LED */ #define LED6 0x40 #define LED5 0x20 #define LED4 0x10 #define LED3 0x08 #define LED2 0x04 #define LED1 0x02 #define LED0 0x01 /* bottom (or furthest left) LED */ #define LED_LAN_RCV LE...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/module' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_PARISC_MODULE_H #define _ASM_PARISC_MODULE_H #include <asm-generic/module.h> /* * This file contains the parisc architecture specific module code. */ struct unwind_table; struct mod_arch_specific { unsigned long got_offset, got_count, got_max; unsigned lo...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/ropes' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_PARISC_ROPES_H_ #define _ASM_PARISC_ROPES_H_ #include <asm/parisc-device.h> #ifdef CONFIG_64BIT /* "low end" PA8800 machines use ZX1 chipset: PAT PDC and only run 64-bit */ #define ZX1_SUPPORT #endif #ifdef CONFIG_PROC_FS /* depends on proc fs support. But cos...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/bitops' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PARISC_BITOPS_H #define _PARISC_BITOPS_H #ifndef _LINUX_BITOPS_H #error only <linux/bitops.h> can be included directly #endif #include <linux/compiler.h> #include <asm/types.h> #include <asm/byteorder.h> #include <asm/barrier.h> #include <linux/atomic.h> /* See ht...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/switch_to' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __PARISC_SWITCH_TO_H #define __PARISC_SWITCH_TO_H struct task_struct; extern struct task_struct *_switch_to(struct task_struct *, struct task_struct *); #define switch_to(prev, next, last) do { \ (last) = _switch_to(prev, next); \ } while(0) #endif /* __PARIS...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/uaccess' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __PARISC_UACCESS_H #define __PARISC_UACCESS_H /* * User space memory access functions */ #include <asm/page.h> #include <asm/cache.h> #include <asm/extable.h> #include <linux/bug.h> #include <linux/string.h> #define TASK_SIZE_MAX DEFAULT_TASK_SIZE #include <asm/p...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/io' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_IO_H #define _ASM_IO_H #include <linux/types.h> #include <linux/pgtable.h> #define virt_to_phys(a) ((unsigned long)__pa(a)) #define phys_to_virt(a) __va(a) static inline unsigned long isa_bus_to_virt(unsigned long addr) { BUG(); return 0; } static inline un...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/ldcw' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __PARISC_LDCW_H #define __PARISC_LDCW_H /* Because kmalloc only guarantees 8-byte alignment for kmalloc'd data, and GCC only guarantees 8-byte alignment for stack locals, we can't be assured of 16-byte alignment for atomic lock data even if we specify "__att...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/processor' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * include/asm-parisc/processor.h * * Copyright (C) 1994 Linus Torvalds * Copyright (C) 2001 Grant Grundler */ #ifndef __ASM_PARISC_PROCESSOR_H #define __ASM_PARISC_PROCESSOR_H #ifndef __ASSEMBLER__ #include <linux/threads.h> #include <linux/irqreturn.h> #include <a...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/floppy' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* Architecture specific parts of the Floppy driver * * Linux/PA-RISC Project (http://www.parisc-linux.org/) * Copyright (C) 2000 Matthew Wilcox (willy a debian . org) * Copyright (C) 2000 Dave Kennedy */ #ifndef __ASM_PARISC_FLOPPY_H #define __ASM_P...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/fixmap' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_FIXMAP_H #define _ASM_FIXMAP_H /* * This file defines the locations of the fixed mappings on parisc. * * All of the values in this file are machine virtual addresses. * * All of the values in this file must be <4GB (because of assembly * loading restrictio...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/barrier' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_BARRIER_H #define __ASM_BARRIER_H #include <asm/alternative.h> #ifndef __ASSEMBLER__ /* The synchronize caches instruction executes as a nop on systems in which all memory references are performed in order. */ #define synchronize_caches() asm volatile("syn...
Linux işletim sistemi çekirdeği için 'arch/parisc/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_PARISC_CACHETYPE_H #define __ASM_PARISC_CACHETYPE_H #include <linux/types.h> #define cpu_dcache_is_aliasing() true #endif ```
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/spinlock_types' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_SPINLOCK_TYPES_H #define __ASM_SPINLOCK_TYPES_H #define __ARCH_SPIN_LOCK_UNLOCKED_VAL 0x1a46 #define SPINLOCK_BREAK_INSN 0x0000c006 /* break 6,6 */ #ifndef __ASSEMBLER__ typedef struct { volatile unsigned int lock[4]; # define __ARCH_SPIN_LOCK_UNLOCKED \ {...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/spinlock' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_SPINLOCK_H #define __ASM_SPINLOCK_H #include <asm/barrier.h> #include <asm/ldcw.h> #include <asm/processor.h> #include <asm/spinlock_types.h> static inline void arch_spin_val_check(int lock_val) { if (IS_ENABLED(CONFIG_LIGHTWEIGHT_SPINLOCK_CHECK)) asm volat...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/syscall' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* syscall.h */ #ifndef _ASM_PARISC_SYSCALL_H_ #define _ASM_PARISC_SYSCALL_H_ #include <uapi/linux/audit.h> #include <linux/compat.h> #include <linux/err.h> #include <asm/ptrace.h> #define NR_syscalls (__NR_Linux_syscalls) static inline long syscall_get_nr(struct task_str...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/prefetch' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * include/asm-parisc/prefetch.h * * PA 2.0 defines data prefetch instructions on page 6-11 of the Kane book. * In addition, many implementations do hardware prefetching of both * instructions and data. * * PA7300LC (page 14-4 of the ERS) also implements prefetching ...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/cache' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * include/asm-parisc/cache.h */ #ifndef __ARCH_PARISC_CACHE_H #define __ARCH_PARISC_CACHE_H #include <asm/alternative.h> /* * PA 2.0 processors have 64 and 128-byte L2 cachelines; PA 1.1 processors * have 32-byte cachelines. The L1 length appears to be 16 bytes but...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/pdc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PARISC_PDC_H #define _PARISC_PDC_H #include <uapi/asm/pdc.h> #if !defined(__ASSEMBLER__) extern int parisc_narrow_firmware; extern int pdc_type; extern unsigned long parisc_cell_num; /* cell number the CPU runs on (PAT) */ extern unsigned long parisc_cell_loc; /*...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/dwarf' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2016 Helge Deller <deller@gmx.de> */ #ifndef _ASM_PARISC_DWARF_H #define _ASM_PARISC_DWARF_H #ifdef __ASSEMBLER__ #define CFI_STARTPROC .cfi_startproc #define CFI_ENDPROC .cfi_endproc #define CFI_DEF_CFA .cfi_def_cfa #define CFI_REGISTER .cfi_regi...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/hardware' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PARISC_HARDWARE_H #define _PARISC_HARDWARE_H #include <linux/mod_devicetable.h> #define HWTYPE_ANY_ID PA_HWTYPE_ANY_ID #define HVERSION_ANY_ID PA_HVERSION_ANY_ID #define HVERSION_REV_ANY_ID PA_HVERSION_REV_ANY_ID #define SVERSION_ANY_ID PA_SVERSION_ANY_ID struc...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/smp' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_SMP_H #define __ASM_SMP_H extern int init_per_cpu(int cpuid); #if defined(CONFIG_SMP) /* Page Zero Location PDC will look for the address to branch to when we poke ** slave CPUs still in "Icache loop". */ #define PDC_OS_BOOT_RENDEZVOUS 0x10 #define PDC_OS...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/timex' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * linux/include/asm-parisc/timex.h * * PARISC architecture timex specifications */ #ifndef _ASMPARISC_TIMEX_H #define _ASMPARISC_TIMEX_H #include <asm/special_insns.h> #define CLOCK_TICK_RATE 1193180 /* Underlying HZ */ typedef unsigned long cycles_t; static inline...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/jump_label' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_PARISC_JUMP_LABEL_H #define _ASM_PARISC_JUMP_LABEL_H #ifndef __ASSEMBLER__ #include <linux/types.h> #include <linux/stringify.h> #include <asm/assembly.h> #define JUMP_LABEL_NOP_SIZE 4 static __always_inline bool arch_static_branch(struct static_key *key, boo...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/checksum' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PARISC_CHECKSUM_H #define _PARISC_CHECKSUM_H #include <linux/in6.h> #define csum_tcpudp_nofold csum_tcpudp_nofold static inline __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len, __u8 proto, __wsum sum) { __asm__( " add %1, %0, %0\n" " a...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/traps' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_TRAPS_H #define __ASM_TRAPS_H #define PARISC_ITLB_TRAP 6 /* defined by architecture. Do not change. */ #if !defined(__ASSEMBLER__) struct pt_regs; /* traps.c */ void parisc_terminate(char *msg, struct pt_regs *regs, int code, unsigned long offset) __noretur...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/mmu_context' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __PARISC_MMU_CONTEXT_H #define __PARISC_MMU_CONTEXT_H #include <linux/mm.h> #include <linux/sched.h> #include <linux/atomic.h> #include <linux/spinlock.h> #include <asm-generic/mm_hooks.h> /* on PA-RISC, we actually have enough contexts to justify an allocator * fo...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/thread_info' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_PARISC_THREAD_INFO_H #define _ASM_PARISC_THREAD_INFO_H #ifndef __ASSEMBLER__ #include <asm/processor.h> #include <asm/special_insns.h> struct thread_info { unsigned long flags; /* thread_info flags (see TIF_*) */ int preempt_count; /* 0=premptable, <0=BUG; ...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/perf_event' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c #ifndef __ASM_PARISC_PERF_EVENT_H #define __ASM_PARISC_PERF_EVENT_H #include <asm/psw.h> #define perf_arch_fetch_caller_regs(regs, __ip) { \ (regs)->gr[0] = KERNEL_PSW; \ (regs)->iaoq[0] = (__ip); \ asm volatile("copy %%sp, %0\n":"=r"((regs)->gr[30])); \ } #endif /* __ASM_PARISC_PERF_EVENT_H */ ```
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/grfioctl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* Architecture specific parts of HP's STI (framebuffer) driver. * Structures are HP-UX compatible for XFree86 usage. * * Linux/PA-RISC Project (http://www.parisc-linux.org/) * Copyright (C) 2001 Helge Deller (deller a parisc-linux org) */ #ifndef __AS...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/kexec' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_PARISC_KEXEC_H #define _ASM_PARISC_KEXEC_H /* Maximum physical address we can use pages from */ #define KEXEC_SOURCE_MEMORY_LIMIT (-1UL) /* Maximum address we can reach in physical address mode */ #define KEXEC_DESTINATION_MEMORY_LIMIT (-1UL) /* Maximum address ...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/string' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PA_STRING_H_ #define _PA_STRING_H_ #define __HAVE_ARCH_MEMSET extern void * memset(void *, int, size_t); #define __HAVE_ARCH_MEMCPY void * memcpy(void * dest,const void *src,size_t count); #endif ```
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/ucontext' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_PARISC_UCONTEXT_H #define _ASM_PARISC_UCONTEXT_H struct ucontext { unsigned int uc_flags; struct ucontext *uc_link; stack_t uc_stack; struct sigcontext uc_mcontext; sigset_t uc_sigmask; /* mask last for extensibility */ }; #endif /* !_ASM_PARISC_UC...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/extable' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __PARISC_EXTABLE_H #define __PARISC_EXTABLE_H #include <asm/ptrace.h> #include <linux/compiler.h> /* * The exception table consists of three addresses: * * - A relative address to the instruction that is allowed to fault. * - A relative address at which the prog...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/unwind' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _UNWIND_H_ #define _UNWIND_H_ #include <linux/list.h> /* Max number of levels to backtrace */ #define MAX_UNWIND_ENTRIES 30 /* From ABI specifications */ struct unwind_table_entry { unsigned int region_start; unsigned int region_end; unsigned int Cannot_unwind:1...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/cmpxchg' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * forked from parisc asm/atomic.h which was: * Copyright (C) 2000 Philipp Rumpf <prumpf@tux.org> * Copyright (C) 2006 Kyle McMartin <kyle@parisc-linux.org> */ #ifndef _ASM_PARISC_CMPXCHG_H_ #define _ASM_PARISC_CMPXCHG_H_ /* This should get optimized out since it's ne...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/pgtable' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PARISC_PGTABLE_H #define _PARISC_PGTABLE_H #include <asm/page.h> #if CONFIG_PGTABLE_LEVELS == 3 #include <asm-generic/pgtable-nopud.h> #elif CONFIG_PGTABLE_LEVELS == 2 #include <asm-generic/pgtable-nopmd.h> #endif #include <asm/fixmap.h> #ifndef __ASSEMBLER__ /* ...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/kprobes' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * arch/parisc/include/asm/kprobes.h * * PA-RISC kprobes implementation * * Copyright (c) 2019 Sven Schnelle <svens@stackframe.org> */ #ifndef _PARISC_KPROBES_H #define _PARISC_KPROBES_H #include <asm-generic/kprobes.h> #ifdef CONFIG_KPROBES #include <linux/types....
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/video' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_VIDEO_H_ #define _ASM_VIDEO_H_ #include <linux/types.h> struct device; #if defined(CONFIG_STI_CORE) && defined(CONFIG_VIDEO) bool video_is_primary_device(struct device *dev); #define video_is_primary_device video_is_primary_device #endif #include <asm-generic...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/hardirq' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* hardirq.h: PA-RISC hard IRQ support. * * Copyright (C) 2001 Matthew Wilcox <matthew@wil.cx> * Copyright (C) 2013 Helge Deller <deller@gmx.de> */ #ifndef _PARISC_HARDIRQ_H #define _PARISC_HARDIRQ_H #include <linux/cache.h> #include <linux/threads.h> #include <linux/ir...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/psw' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PARISC_PSW_H #define _PARISC_PSW_H #define PSW_I 0x00000001 #define PSW_D 0x00000002 #define PSW_P 0x00000004 #define PSW_Q 0x00000008 #define PSW_R 0x00000010 #define PSW_F 0x00000020 #define PSW_G 0x00000040 /* PA1.x only */ #define PSW_O 0x00000080 /* PA2.0 only...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/pgalloc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_PGALLOC_H #define _ASM_PGALLOC_H #include <linux/gfp.h> #include <linux/mm.h> #include <linux/threads.h> #include <asm/processor.h> #include <asm/fixmap.h> #include <asm/cache.h> #define __HAVE_ARCH_PMD_ALLOC_ONE #include <asm-generic/pgalloc.h> /* Allocate t...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/compat' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_PARISC_COMPAT_H #define _ASM_PARISC_COMPAT_H /* * Architecture specific compatibility types */ #include <linux/types.h> #include <linux/sched.h> #include <linux/thread_info.h> #define compat_mode_t compat_mode_t typedef u16 compat_mode_t; #define compat_ipc_p...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/delay' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_PARISC_DELAY_H #define _ASM_PARISC_DELAY_H static __inline__ void __delay(unsigned long loops) { asm volatile( " .balignl 64,0x34000034\n" " addib,UV -1,%0,.\n" " nop\n" : "=r" (loops) : "0" (loops)); } extern void __udelay(unsigned long usecs); extern vo...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/ftrace' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_PARISC_FTRACE_H #define _ASM_PARISC_FTRACE_H #ifndef __ASSEMBLER__ extern void mcount(void); #define MCOUNT_ADDR ((unsigned long)mcount) #define MCOUNT_INSN_SIZE 4 #define CC_USING_NOP_MCOUNT #define ARCH_SUPPORTS_FTRACE_OPS 1 extern unsigned long sys_call_tab...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/vdso' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __PARISC_VDSO_H__ #define __PARISC_VDSO_H__ #ifndef __ASSEMBLER__ #ifdef CONFIG_64BIT #include <generated/vdso64-offsets.h> #define VDSO64_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso64_offset_##name)) #endif #if !defined(CONFIG_64BIT) || defined(CONFIG_C...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/page' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PARISC_PAGE_H #define _PARISC_PAGE_H #include <linux/const.h> #include <vdso/page.h> #define HAVE_ARCH_HUGETLB_UNMAPPED_AREA #ifndef __ASSEMBLER__ #include <asm/types.h> #include <asm/cache.h> #define clear_page(page) clear_page_asm((void *)(page)) #define copy...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/pci' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_PARISC_PCI_H #define __ASM_PARISC_PCI_H #include <linux/scatterlist.h> /* ** HP PCI platforms generally support multiple bus adapters. ** (workstations 1-~4, servers 2-~32) ** ** Newer platforms number the busses across PCI bus adapters *sparsely*. ** E.g...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/unistd' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_PARISC_UNISTD_H_ #define _ASM_PARISC_UNISTD_H_ #include <uapi/asm/unistd.h> #define __NR_Linux_syscalls __NR_syscalls #ifndef __ASSEMBLER__ #define SYS_ify(syscall_name) __NR_##syscall_name #define __IGNORE_fadvise64 /* fadvise64_64 */ #ifndef ASM_LINE_S...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/current' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_PARISC_CURRENT_H #define _ASM_PARISC_CURRENT_H #ifndef __ASSEMBLER__ struct task_struct; static __always_inline struct task_struct *get_current(void) { struct task_struct *ts; /* do not use mfctl() macro as it is marked volatile */ asm( "mfctl %%cr30,%0" : ...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/bug' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PARISC_BUG_H #define _PARISC_BUG_H /* * Tell the user there is some problem. * The offending file and line are encoded in the __bug_table section. */ #ifdef CONFIG_BUG #define HAVE_ARCH_BUG #define HAVE_ARCH_WARN_ON /* the break instruction is used as BUG() mar...
Linux işletim sistemi çekirdeği için 'arch/parisc/include/asm/linkage' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_PARISC_LINKAGE_H #define __ASM_PARISC_LINKAGE_H #include <asm/dwarf.h> #ifndef __ALIGN #define __ALIGN .align 4 #define __ALIGN_STR ".align 4" #endif /* * In parisc assembly a semicolon marks a comment while a * exclamation mark is used to separ...
Linux kernel'inin 'arch/parisc/mm/init' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/parisc/mm/init.c * * Copyright (C) 1995 Linus Torvalds * Copyright 1999 SuSE GmbH * changed by Philipp Rumpf * Copyright 1999 Philipp Rumpf (prumpf@tux.org) * Copyright 2004 Randolph Chung (tausq@debian.org) * Copyright 2006-2007 Helge Deller (de...
Linux kernel'inin 'arch/parisc/mm/fault' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * 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. * * * Copyright (C) 1995, 1996, 1997, 1998 by Ralf Baechle * Copyright 1999 SuSE GmbH (Philipp Rumpf, prumpf@tux.org) * Copyright 1999...
Linux kernel'inin 'arch/parisc/mm/fixmap' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * fixmaps for parisc * * Copyright (c) 2019 Sven Schnelle <svens@stackframe.org> */ #include <linux/kprobes.h> #include <linux/mm.h> #include <asm/cacheflush.h> #include <asm/fixmap.h> void notrace set_fixmap(enum fixed_addresses idx, phys_addr_t phys) { unsigned long ...
Linux kernel'inin 'arch/parisc/mm/hugetlbpage' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * PARISC64 Huge TLB page support. * * This parisc implementation is heavily based on the SPARC and x86 code. * * Copyright (C) 2015 Helge Deller <deller@gmx.de> */ #include <linux/fs.h> #include <linux/mm.h> #include <linux/sched/mm.h> #include <linux/hugetlb.h> #inclu...
Linux kernel'inin 'arch/parisc/mm/ioremap' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * arch/parisc/mm/ioremap.c * * (C) Copyright 1995 1996 Linus Torvalds * (C) Copyright 2001-2019 Helge Deller <deller@gmx.de> * (C) Copyright 2005 Kyle McMartin <kyle@parisc-linux.org> */ #include <linux/vmalloc.h> #include <linux/errno.h> #include <linux/module.h> #inc...
Linux kernel'inde 'arch/parisc/lib/lusercopy' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * User Space Access Routines * * Copyright (C) 2000-2002 Hewlett-Packard (John Marvin) * Copyright (C) 2000 Richard Hirst <rhirst with parisc-linux.org> * Copyright (C) 2001 Matthieu Delahaye <delahaym at esiee.fr> * Copyright (C) 2003 ...
Linux kernel'inin 'arch/parisc/lib/ucmpdi2' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/module.h> #include <linux/libgcc.h> union ull_union { unsigned long long ull; struct { unsigned int high; unsigned int low; } ui; }; word_type __ucmpdi2(unsigned long long a, unsigned long long b) { union ull_union au = {.ull = a}; union ull_union bu =...
Linux kernel'inin 'arch/parisc/lib/bitops' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * bitops.c: atomic operations which got too long to be inlined all over * the place. * * Copyright 1999 Philipp Rumpf (prumpf@tux.org) * Copyright 2000 Grant Grundler (grundler@cup.hp.com) */ #include <linux/kernel.h> #include <linux/spinlock.h> #include <linux/a...
Linux kernel'inin 'arch/parisc/lib/memcpy' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Optimized memory copy routines. * * Copyright (C) 2004 Randolph Chung <tausq@debian.org> * Copyright (C) 2013-2017 Helge Deller <deller@gmx.de> * * Portions derived from the GNU C Library * Copyright (C) 1991, 1997, 2003 Free Software Foundati...
Linux kernel'inin 'arch/parisc/lib/memset' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ #include <linux/types.h> #include <asm/string.h> #define OPSIZ (BITS_PER_LONG/8) typedef unsigned long op_t; void * memset (void *dstpp, int sc, size_t len) { unsigned int c = sc; long int dstp = (long int) dstpp; if (len >= 8) { size_t xlen; ...
Linux kernel'inin 'arch/parisc/lib/io' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * arch/parisc/lib/io.c * * Copyright (c) Matthew Wilcox 2001 for Hewlett-Packard * Copyright (c) Randolph Chung 2001 <tausq@debian.org> * * IO accessing functions which shouldn't be inlined because they're too big */ #include <linux/kernel.h> #include <linux/module.h>...
Linux kernel'inin 'arch/parisc/lib/iomap' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * iomap.c - Implement iomap interface for PA-RISC * Copyright (c) 2004 Matthew Wilcox */ #include <linux/ioport.h> #include <linux/pci.h> #include <linux/export.h> #include <asm/io.h> /* * The iomap space on 32-bit PA-RISC is intended to look like this: * 00000000-7fff...
Linux kernel'inin 'arch/parisc/lib/delay' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Precise Delay Loops for parisc * * based on code by: * Copyright (C) 1993 Linus Torvalds * Copyright (C) 1997 Martin Mares <mj@atrey.karlin.mff.cuni.cz> * Copyright (C) 2008 Jiri Hladky <hladky _dot_ jiri _at_ gmail _dot_ com> * * parisc implementation: * Copyright...
Linux kernel'inde 'arch/parisc/boot/compressed/vmlinux.lds' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly #include <asm-generic/vmlinux.lds.h> #include <asm/page.h> #include "sizes.h" #ifndef CONFIG_64BIT OUTPUT_FORMAT("elf32-hppa-linux") OUTPUT_ARCH(hppa) #else OUTPUT_FORMAT("elf64-hppa-linux") OUTPUT_ARCH(hppa:hppa2.0w) #endif ENTRY(startup) SECTIONS { /* palo loads at 0x60000 */ /* loaded kernel will mo...
Linux kernel'inde 'arch/parisc/boot/compressed/head' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* * Startup glue code to uncompress the kernel * * (C) 2017 Helge Deller <deller@gmx.de> */ #include <linux/init.h> #include <linux/linkage.h> #include <asm/asm-offsets.h> #include <asm/page.h> #include <asm/psw.h> #include <asm/pdc.h> #include <asm/assembly.h> #include "sizes.h" #define BOOTADDR(x...
Linux kernel'inin 'arch/parisc/boot/compressed/misc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Definitions and wrapper functions for kernel decompressor * * (C) 2017 Helge Deller <deller@gmx.de> */ #include <linux/uaccess.h> #include <linux/elf.h> #include <linux/unaligned.h> #include <asm/page.h> #include "sizes.h" /* * gzip declarations */ #define STATIC static #undef memmove #define memmo...
Linux kernel'inin 'arch/parisc/video/video-sti' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2000 Philipp Rumpf <prumpf@tux.org> * Copyright (C) 2001-2020 Helge Deller <deller@gmx.de> * Copyright (C) 2001-2002 Thomas Bogendoerfer <tsbogend@alpha.franken.de> */ #include <linux/module.h> #include <video/sticore.h> #include <asm/video.h> boo...
Linux işletim sistemi çekirdeği için 'arch/parisc/math-emu/hppa' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Linux/PA-RISC Project (http://www.parisc-linux.org/) * * Floating-point emulation code * Copyright (C) 2001 Hewlett-Packard (Paul Bame) <bame@debian.org> */ #ifdef __NO_PA_HDRS PA header file -- do not include this header file for non-PA builds. #endi...
Linux kernel'inin 'arch/parisc/math-emu/dfdiv' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Linux/PA-RISC Project (http://www.parisc-linux.org/) * * Floating-point emulation code * Copyright (C) 2001 Hewlett-Packard (Paul Bame) <bame@debian.org> */ /* * BEGIN_DESC * * File: * @(#) pa/spmath/dfdiv.c $Revision: 1.1 $ * * Purpose: * Double Pr...