data_type
large_stringclasses
3 values
source
large_stringclasses
29 values
code
large_stringlengths
98
49.4M
filepath
large_stringlengths
5
161
message
large_stringclasses
234 values
commit
large_stringclasses
234 values
subject
large_stringclasses
418 values
critique
large_stringlengths
101
1.26M
metadata
dict
source
linux
/* 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_pid_t ...
arch/parisc/include/asm/compat.h
null
null
null
null
null
source
linux
/* 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_sigaltst...
arch/parisc/include/asm/compat_ucontext.h
null
null
null
null
null
source
linux
/* 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" : "=r" ...
arch/parisc/include/asm/current.h
null
null
null
null
null
source
linux
/* 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 void __...
arch/parisc/include/asm/delay.h
null
null
null
null
null
source
linux
/* 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 ** ============= ====================== ======================= **...
arch/parisc/include/asm/dma-mapping.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* asm/dma.h: Defines for using and allocating dma channels. * Written by Hennus Bergman, 1992. * High DMA channel support & info by Hannu Savolainen * and John Boyd, Nov. 1992. * (c) Copyright 2000, Grant Grundler */ #ifndef _ASM_DMA_H #define _ASM_DMA_H #include <asm/io.h...
arch/parisc/include/asm/dma.h
null
null
null
null
null
source
linux
/* 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_register ...
arch/parisc/include/asm/dwarf.h
null
null
null
null
null
source
linux
/* 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); extern int...
arch/parisc/include/asm/eisa_bus.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * eisa_eeprom.h - provide support for EISA adapters in PA-RISC machines * * Copyright (c) 2001, 2002 Daniel Engstrom <5116@telia.com> */ #ifndef ASM_EISA_EEPROM_H #define ASM_EISA_EEPROM_H extern void __iomem *eisa_eeprom_addr; #define HPEE_MAX_LENGTH 0x20...
arch/parisc/include/asm/eisa_eeprom.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASMPARISC_ELF_H #define __ASMPARISC_ELF_H /* * ELF register definitions.. */ #include <linux/types.h> #define EM_PARISC 15 /* HPPA specific definitions. */ /* Legal values for e_flags field of Elf32_Ehdr. */ #define EF_PARISC_TRAPNIL 0x00010000 /* Trap nil poin...
arch/parisc/include/asm/elf.h
null
null
null
null
null
source
linux
/* 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 program s...
arch/parisc/include/asm/extable.h
null
null
null
null
null
source
linux
/* 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 restrictions). ...
arch/parisc/include/asm/fixmap.h
null
null
null
null
null
source
linux
/* 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_PARISC...
arch/parisc/include/asm/floppy.h
null
null
null
null
null
source
linux
/* 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_table[];...
arch/parisc/include/asm/ftrace.h
null
null
null
null
null
source
linux
/* 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 futex vir...
arch/parisc/include/asm/futex.h
null
null
null
null
null
source
linux
/* 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 __ASM_PAR...
arch/parisc/include/asm/grfioctl.h
null
null
null
null
null
source
linux
/* 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/irq.h> ...
arch/parisc/include/asm/hardirq.h
null
null
null
null
null
source
linux
/* 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 struct hp_...
arch/parisc/include/asm/hardware.h
null
null
null
null
null
source
linux
/* 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 sequence ...
arch/parisc/include/asm/hash.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_PARISC64_HUGETLB_H #define _ASM_PARISC64_HUGETLB_H #include <asm/page.h> #define __HAVE_ARCH_HUGE_SET_HUGE_PTE_AT void set_huge_pte_at(struct mm_struct *mm, unsigned long addr, pte_t *ptep, pte_t pte, unsigned long sz); #define __HAVE_ARCH_HUGE_PTEP_GET_AND_...
arch/parisc/include/asm/hugetlb.h
null
null
null
null
null
source
linux
/* 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 unsigne...
arch/parisc/include/asm/io.h
null
null
null
null
null
source
linux
/* 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 63 #...
arch/parisc/include/asm/irq.h
null
null
null
null
null
source
linux
/* 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 arch...
arch/parisc/include/asm/irqflags.h
null
null
null
null
null
source
linux
/* 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, bool bra...
arch/parisc/include/asm/jump_label.h
null
null
null
null
null
source
linux
/* 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(void) {...
arch/parisc/include/asm/kbdleds.h
null
null
null
null
null
source
linux
/* 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 we ca...
arch/parisc/include/asm/kexec.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * PA-RISC KFENCE support. * * Copyright (C) 2021, Helge Deller <deller@gmx.de> */ #ifndef _ASM_PARISC_KFENCE_H #define _ASM_PARISC_KFENCE_H #include <linux/kfence.h> #include <asm/pgtable.h> #include <asm/tlbflush.h> static inline bool arch_kfence_init_pool(void) { ret...
arch/parisc/include/asm/kfence.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * PA-RISC KGDB support * * Copyright (c) 2019 Sven Schnelle <svens@stackframe.org> * */ #ifndef __PARISC_KGDB_H__ #define __PARISC_KGDB_H__ #define BREAK_INSTR_SIZE 4 #define PARISC_KGDB_COMPILED_BREAK_INSN 0x3ffc01f #define PARISC_KGDB_BREAK_INSN 0x3ffa01f #define N...
arch/parisc/include/asm/kgdb.h
null
null
null
null
null
source
linux
/* 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.h> #i...
arch/parisc/include/asm/kprobes.h
null
null
null
null
null
source
linux
/* 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 "__attribut...
arch/parisc/include/asm/ldcw.h
null
null
null
null
null
source
linux
/* 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 LED0 /...
arch/parisc/include/asm/led.h
null
null
null
null
null
source
linux
/* 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 separate i...
arch/parisc/include/asm/linkage.h
null
null
null
null
null
source
linux
/* 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_support...
arch/parisc/include/asm/mman.h
null
null
null
null
null
source
linux
/* 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_ */
arch/parisc/include/asm/mmu.h
null
null
null
null
null
source
linux
/* 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 * for the...
arch/parisc/include/asm/mmu_context.h
null
null
null
null
null
source
linux
/* 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 */
arch/parisc/include/asm/mmzone.h
null
null
null
null
null
source
linux
/* 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 long fd...
arch/parisc/include/asm/module.h
null
null
null
null
null
source
linux
/* 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_page...
arch/parisc/include/asm/page.h
null
null
null
null
null
source
linux
/* 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[80];...
arch/parisc/include/asm/parisc-device.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * * parport.h: ia32-compatible parport initialisation * * This file should only be included by drivers/parport/parport_pc.c. */ #ifndef _ASM_PARPORT_H #define _ASM_PARPORT_H 1 static int parport_pc_find_nonpci_ports (int autoirq, int autodma) { /* nothing ! */ return ...
arch/parisc/include/asm/parport.h
null
null
null
null
null
source
linux
/* 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. 0, ...
arch/parisc/include/asm/pci.h
null
null
null
null
null
source
linux
/* 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; /* cell...
arch/parisc/include/asm/pdc.h
null
null
null
null
null
source
linux
/* 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 * ...
arch/parisc/include/asm/pdc_chassis.h
null
null
null
null
null
source
linux
#ifndef __PARISC_PATPDC_H #define __PARISC_PATPDC_H /* * 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 2000 (c) Hewlett Packard (Paul Bame <bame()spam.parisc-linux.org>) * Copyr...
arch/parisc/include/asm/pdcpat.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_PERF_H_ #define _ASM_PERF_H_ /* ioctls */ #define PA_PERF_ON _IO('p', 1) #define PA_PERF_OFF _IOR('p', 2, unsigned int) #define PA_PERF_VERSION _IOR('p', 3, int) #define PA_PERF_DEV "perf" #define PA_PERF_MINOR 146 /* Interface types */ #define UNKNOWN_INTF 255 ...
arch/parisc/include/asm/perf.h
null
null
null
null
null
source
linux
#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 */
arch/parisc/include/asm/perf_event.h
null
null
null
null
null
source
linux
/* 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 the to...
arch/parisc/include/asm/pgalloc.h
null
null
null
null
null
source
linux
/* 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__ /* * we...
arch/parisc/include/asm/pgtable.h
null
null
null
null
null
source
linux
/* 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 by a ...
arch/parisc/include/asm/prefetch.h
null
null
null
null
null
source
linux
/* 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 <asm/as...
arch/parisc/include/asm/processor.h
null
null
null
null
null
source
linux
/* 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 */ ...
arch/parisc/include/asm/psw.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* written by Philipp Rumpf, Copyright (C) 1999 SuSE GmbH Nuernberg ** Copyright (C) 2000 Grant Grundler, Hewlett-Packard */ #ifndef _PARISC_PTRACE_H #define _PARISC_PTRACE_H #include <asm/assembly.h> #include <uapi/asm/ptrace.h> #define task_regs(task) ((struct pt_regs *) ((cha...
arch/parisc/include/asm/ptrace.h
null
null
null
null
null
source
linux
/* 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 costs CP...
arch/parisc/include/asm/ropes.h
null
null
null
null
null
source
linux
/* 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_SIZE ...
arch/parisc/include/asm/rt_sigframe.h
null
null
null
null
null
source
linux
/* 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 */
arch/parisc/include/asm/runway.h
null
null
null
null
null
source
linux
/* 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 # define SEC...
arch/parisc/include/asm/seccomp.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PARISC_SECTIONS_H #define _PARISC_SECTIONS_H #ifdef CONFIG_HAVE_FUNCTION_DESCRIPTORS #include <asm/elf.h> typedef Elf64_Fdesc func_desc_t; #endif /* nothing to see, move along */ #include <asm-generic/sections.h> extern char __alt_instructions[], __alt_instructions_end...
arch/parisc/include/asm/sections.h
null
null
null
null
null
source
linux
/* * include/asm-parisc/serial.h */ /* * This is used for 16550-compatible UARTs */ #define BASE_BAUD ( 1843200 / 16 )
arch/parisc/include/asm/serial.h
null
null
null
null
null
source
linux
/* 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 * "Address...
arch/parisc/include/asm/shmparam.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_PARISC_SIGNAL_H #define _ASM_PARISC_SIGNAL_H #include <uapi/asm/signal.h> # ifndef __ASSEMBLER__ /* Most things should be clean enough to redefine this at will, if care is taken to make libc match. */ #include <asm/sigcontext.h> #endif /* !__ASSEMBLER__ */ #e...
arch/parisc/include/asm/signal.h
null
null
null
null
null
source
linux
/* 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_BOOT...
arch/parisc/include/asm/smp.h
null
null
null
null
null
source
linux
/* 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 */
arch/parisc/include/asm/socket.h
null
null
null
null
null
source
linux
/* 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_BITS...
arch/parisc/include/asm/sparsemem.h
null
null
null
null
null
source
linux
/* 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") \ : "...
arch/parisc/include/asm/special_insns.h
null
null
null
null
null
source
linux
/* 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 volatile( ...
arch/parisc/include/asm/spinlock.h
null
null
null
null
null
source
linux
/* 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 \ { { __...
arch/parisc/include/asm/spinlock_types.h
null
null
null
null
null
source
linux
/* 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
arch/parisc/include/asm/string.h
null
null
null
null
null
source
linux
/* 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 /* Configurat...
arch/parisc/include/asm/superio.h
null
null
null
null
null
source
linux
/* 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 /* __PARISC_SWI...
arch/parisc/include/asm/switch_to.h
null
null
null
null
null
source
linux
/* 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_struct *...
arch/parisc/include/asm/syscall.h
null
null
null
null
null
source
linux
/* 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. in kg...
arch/parisc/include/asm/text-patching.h
null
null
null
null
null
source
linux
/* 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; will ...
arch/parisc/include/asm/thread_info.h
null
null
null
null
null
source
linux
/* 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 cycl...
arch/parisc/include/asm/timex.h
null
null
null
null
null
source
linux
/* 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(pte)) ...
arch/parisc/include/asm/tlb.h
null
null
null
null
null
source
linux
/* 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_tlb_all...
arch/parisc/include/asm/tlbflush.h
null
null
null
null
null
source
linux
#ifndef _ASM_PARISC_TOPOLOGY_H #define _ASM_PARISC_TOPOLOGY_H #ifdef CONFIG_GENERIC_ARCH_TOPOLOGY #include <linux/cpumask.h> #include <linux/arch_topology.h> #else static inline void init_cpu_topology(void) { } static inline void store_cpu_topology(unsigned int cpuid) { } static inline void reset_cpu_topology(void)...
arch/parisc/include/asm/topology.h
null
null
null
null
null
source
linux
/* 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) __noreturn __c...
arch/parisc/include/asm/traps.h
null
null
null
null
null
source
linux
/* 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/pgtabl...
arch/parisc/include/asm/uaccess.h
null
null
null
null
null
source
linux
/* 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_UCONTEX...
arch/parisc/include/asm/ucontext.h
null
null
null
null
null
source
linux
/* 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_SEP # ...
arch/parisc/include/asm/unistd.h
null
null
null
null
null
source
linux
/* 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; /* ...
arch/parisc/include/asm/unwind.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __PARISC_VDSO_H__ #define __PARISC_VDSO_H__ #ifndef __ASSEMBLER__ #ifdef CONFIG_64BIT #include <generated/vdso64-offsets.h> #endif #include <generated/vdso32-offsets.h> #define VDSO64_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso64_offset_##name)) #define VDSO...
arch/parisc/include/asm/vdso.h
null
null
null
null
null
source
linux
/* 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/vide...
arch/parisc/include/asm/video.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _UAPI_PARISC_AUXVEC_H #define _UAPI_PARISC_AUXVEC_H /* The vDSO location. */ #define AT_SYSINFO_EHDR 33 #endif /* _UAPI_PARISC_AUXVEC_H */
arch/parisc/include/uapi/asm/auxvec.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef __ASM_PARISC_BITSPERLONG_H #define __ASM_PARISC_BITSPERLONG_H #if defined(__LP64__) #define __BITS_PER_LONG 64 #else #define __BITS_PER_LONG 32 #endif #include <asm-generic/bitsperlong.h> #endif /* __ASM_PARISC_BITSPERLONG_H */
arch/parisc/include/uapi/asm/bitsperlong.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _PARISC_BYTEORDER_H #define _PARISC_BYTEORDER_H #include <linux/byteorder/big_endian.h> #endif /* _PARISC_BYTEORDER_H */
arch/parisc/include/uapi/asm/byteorder.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _ASM_CACHECTL #define _ASM_CACHECTL /* * Options for cacheflush system call */ #define ICACHE (1<<0) /* flush instruction cache */ #define DCACHE (1<<1) /* writeback and flush data cache */ #define BCACHE (ICACHE|DCACHE) /* flush both caches ...
arch/parisc/include/uapi/asm/cachectl.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _PARISC_ERRNO_H #define _PARISC_ERRNO_H #include <asm-generic/errno-base.h> #define ENOMSG 35 /* No message of desired type */ #define EIDRM 36 /* Identifier removed */ #define ECHRNG 37 /* Channel number out of range */ #define EL2NSYNC 38 /* ...
arch/parisc/include/uapi/asm/errno.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _PARISC_FCNTL_H #define _PARISC_FCNTL_H #define O_APPEND 000000010 #define O_CREAT 000000400 /* not fcntl */ #define O_EXCL 000002000 /* not fcntl */ #define O_LARGEFILE 000004000 #define __O_SYNC 000100000 #define O_SYNC (__O_SYNC|O_DSYNC) #def...
arch/parisc/include/uapi/asm/fcntl.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ /* * Linux/PA-RISC Project (http://www.parisc-linux.org/) * Copyright (C) 1999,2003 Matthew Wilcox < willy at debian . org > * portions from "linux/ioctl.h for Linux" by H.H. Bergman. * * the Free Software Foundation; either version 2 of t...
arch/parisc/include/uapi/asm/ioctl.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef __ARCH_PARISC_IOCTLS_H__ #define __ARCH_PARISC_IOCTLS_H__ #include <asm/ioctl.h> /* 0x54 is just a magic number to make these relatively unique ('T') */ #define TCGETS _IOR('T', 16, struct termios) /* TCGETATTR */ #define TCSETS _IOW('T', 17, s...
arch/parisc/include/uapi/asm/ioctls.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef __PARISC_IPCBUF_H__ #define __PARISC_IPCBUF_H__ #include <asm/bitsperlong.h> #include <linux/posix_types.h> /* * The ipc64_perm structure for PA-RISC is almost identical to * kern_ipc_perm as we have always had 32-bit UIDs and GIDs in the kernel...
arch/parisc/include/uapi/asm/ipcbuf.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef __PARISC_MMAN_H__ #define __PARISC_MMAN_H__ #define PROT_READ 0x1 /* page can be read */ #define PROT_WRITE 0x2 /* page can be written */ #define PROT_EXEC 0x4 /* page can be executed */ #define PROT_SEM 0x8 /* page may be used for atomic ops *...
arch/parisc/include/uapi/asm/mman.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _PARISC_MSGBUF_H #define _PARISC_MSGBUF_H #include <asm/bitsperlong.h> #include <asm/ipcbuf.h> /* * The msqid64_ds structure for parisc architecture, copied from sparc. * Note extra padding because this structure is passed back and forth * bet...
arch/parisc/include/uapi/asm/msgbuf.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _UAPI_PARISC_PDC_H #define _UAPI_PARISC_PDC_H /* * PDC return values ... * All PDC calls return a subset of these errors. */ #define PDC_WARN 3 /* Call completed with a warning */ #define PDC_REQ_ERR_1 2 /* See above */ #define PDC_REQ...
arch/parisc/include/uapi/asm/pdc.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _UAPI_ASM_PARISC_PERF_REGS_H #define _UAPI_ASM_PARISC_PERF_REGS_H /* see struct user_regs_struct */ enum perf_event_parisc_regs { PERF_REG_PARISC_R0, /* PSW is in gr[0] */ PERF_REG_PARISC_R1, PERF_REG_PARISC_R2, PERF_REG_PARISC_R3, PERF_REG_PA...
arch/parisc/include/uapi/asm/perf_regs.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef __ARCH_PARISC_POSIX_TYPES_H #define __ARCH_PARISC_POSIX_TYPES_H /* * This file is generally used by user-level software, so you need to * be a little careful about namespace pollution etc. Also, we cannot * assume GCC is being used. */ #ifnde...
arch/parisc/include/uapi/asm/posix_types.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* written by Philipp Rumpf, Copyright (C) 1999 SuSE GmbH Nuernberg ** Copyright (C) 2000 Grant Grundler, Hewlett-Packard */ #ifndef _UAPI_PARISC_PTRACE_H #define _UAPI_PARISC_PTRACE_H #include <linux/types.h> /* This struct defines the way the registers...
arch/parisc/include/uapi/asm/ptrace.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _PARISC_SEMBUF_H #define _PARISC_SEMBUF_H #include <asm/bitsperlong.h> #include <asm/ipcbuf.h> /* * The semid64_ds structure for parisc architecture. * Note extra padding because this structure is passed back and forth * between kernel and use...
arch/parisc/include/uapi/asm/sembuf.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _PARISC_SETUP_H #define _PARISC_SETUP_H #define COMMAND_LINE_SIZE 1024 #endif /* _PARISC_SETUP_H */
arch/parisc/include/uapi/asm/setup.h
null
null
null
null
null