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 WITH Linux-syscall-note */ #ifndef _PARISC_SHMBUF_H #define _PARISC_SHMBUF_H #include <asm/bitsperlong.h> #include <asm/ipcbuf.h> #include <asm/posix_types.h> /* * The shmid64_ds structure for parisc architecture. * Note extra padding because this structure is passed back and fo...
arch/parisc/include/uapi/asm/shmbuf.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _ASMPARISC_SIGCONTEXT_H #define _ASMPARISC_SIGCONTEXT_H #define PARISC_SC_FLAG_ONSTACK 1<<0 #define PARISC_SC_FLAG_IN_SYSCALL 1<<1 /* We will add more stuff here as it becomes necessary, until we know it works. */ struct sigcontext { unsigned ...
arch/parisc/include/uapi/asm/sigcontext.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _UAPI_ASM_PARISC_SIGNAL_H #define _UAPI_ASM_PARISC_SIGNAL_H #define SIGHUP 1 #define SIGINT 2 #define SIGQUIT 3 #define SIGILL 4 #define SIGTRAP 5 #define SIGABRT 6 #define SIGIOT 6 #define SIGSTKFLT 7 #define SIGFPE 8 #define SIGK...
arch/parisc/include/uapi/asm/signal.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _UAPI_ASM_SOCKET_H #define _UAPI_ASM_SOCKET_H #include <linux/posix_types.h> #include <asm/sockios.h> /* For setsockopt(2) */ #define SOL_SOCKET 0xffff #define SO_DEBUG 0x0001 #define SO_REUSEADDR 0x0004 #define SO_KEEPALIVE 0x0008 #define SO_DON...
arch/parisc/include/uapi/asm/socket.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _PARISC_STAT_H #define _PARISC_STAT_H #include <linux/types.h> struct stat { unsigned int st_dev; /* dev_t is 32 bits on parisc */ unsigned int st_ino; /* 32 bits */ unsigned short st_mode; /* 16 bits */ unsigned short st_nlink; /* 16 bits *...
arch/parisc/include/uapi/asm/stat.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _PARISC_STATFS_H #define _PARISC_STATFS_H #define __statfs_word long #include <asm-generic/statfs.h> #endif
arch/parisc/include/uapi/asm/statfs.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef __ARCH_PARISC_TERMBITS_H__ #define __ARCH_PARISC_TERMBITS_H__ #include <asm-generic/termbits-common.h> typedef unsigned int tcflag_t; #define NCCS 19 struct termios { tcflag_t c_iflag; /* input mode flags */ tcflag_t c_oflag; /* output mode f...
arch/parisc/include/uapi/asm/termbits.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _UAPI_ASM_PARISC_UNISTD_H_ #define _UAPI_ASM_PARISC_UNISTD_H_ #ifdef __LP64__ #include <asm/unistd_64.h> #else #include <asm/unistd_32.h> #endif #define LINUX_GATEWAY_ADDR 0x100 #endif /* _UAPI_ASM_PARISC_UNISTD_H_ */
arch/parisc/include/uapi/asm/unistd.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Alternative live-patching for parisc. * Copyright (C) 2018 Helge Deller <deller@gmx.de> * */ #include <asm/processor.h> #include <asm/sections.h> #include <asm/alternative.h> #include <asm/cacheflush.h> #include <linux/module.h> static int no_alternatives; static in...
arch/parisc/kernel/alternative.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Generate definitions needed by assembly language modules. * This code generates raw asm output which is post-processed to extract * and format the required data. * * Copyright (C) 2000-2001 John Marvin <jsm at parisc-linux.org> * Copyright (C) 2000 David Hu...
arch/parisc/kernel/asm-offsets.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #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...
arch/parisc/kernel/audit.c
null
null
null
null
null
source
linux
/* * 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) 1999-2006 Helge Deller <deller@gmx.de> (07-13-1999) * Copyright (C) 1999 SuSE GmbH Nuernberg * Copyright (C) 2000 Philipp ...
arch/parisc/kernel/cache.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include <linux/audit_arch.h> #include <asm/unistd.h> unsigned int parisc32_dir_class[] = { #include <asm-generic/audit_dir_write.h> ~0U }; unsigned int parisc32_chattr_class[] = { #include <asm-generic/audit_change_attr.h> ~0U }; unsigned int parisc32_write_class[] = { #include <...
arch/parisc/kernel/compat_audit.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * drivers.c * * Copyright (c) 1999 The Puffin Group * Copyright (c) 2001 Matthew Wilcox for Hewlett Packard * Copyright (c) 2001-2023 Helge Deller <deller@gmx.de> * Copyright (c) 2001,2002 Ryan Bradetich * Copyright (c) 2004-2005 Thibaut VARENE <varenet@parisc-lin...
arch/parisc/kernel/drivers.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Linux/PA-RISC Project (http://www.parisc-linux.org/) * * kernel entry points (interruptions, system call wrappers) * Copyright (C) 1999,2000 Philipp Rumpf * Copyright (C) 1999 SuSE GmbH Nuernberg * Copyright (C) 2000 Hewlett-Packard (John Marvin) * Copyr...
arch/parisc/kernel/entry.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * arch/parisc/kernel/firmware.c - safe PDC access routines * * PDC == Processor Dependent Code * * See PDC documentation at * https://parisc.wiki.kernel.org/index.php/Technical_Documentation * for documentation describing the entry points and calling * convention...
arch/parisc/kernel/firmware.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Code for tracing calls in Linux kernel. * Copyright (C) 2009-2016 Helge Deller <deller@gmx.de> * * based on code for x86 which is: * Copyright (C) 2007-2008 Steven Rostedt <srostedt@redhat.com> * * future possible enhancements: * - add CONFIG_STACK_TRACER */ #include <...
arch/parisc/kernel/ftrace.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Hardware descriptions for HP 9000 based hardware, including * system types, SCSI controllers, DMA controllers, HPPB controllers * and lots more. * * Based on the document "PA-RISC 1.1 I/O Firmware Architecture * Reference Specification", March 7, ...
arch/parisc/kernel/hardware.c
null
null
null
null
null
source
linux
/* 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) 1999-2007 by Helge Deller <deller@gmx.de> * Copyright 1999 SuSE GmbH (Philipp Rumpf) * Copyright 1999 Philipp Rumpf (prumpf@t...
arch/parisc/kernel/head.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * HPMC (High Priority Machine Check) handler. * * Copyright (C) 1999 Philipp Rumpf <prumpf@tux.org> * Copyright (C) 1999 Hewlett-Packard (Frank Rowand) * Copyright (C) 2000 Hewlett-Packard (John Marvin) */ /* * This HPMC handler retrieves the HPMC pim data, r...
arch/parisc/kernel/hpmc.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * inventory.c * * Copyright (c) 1999 The Puffin Group (David Kennedy and Alex deVries) * Copyright (c) 2001 Matthew Wilcox for Hewlett-Packard * * These are the routines to discover what hardware exists in this box. * This task is complicated by there being 3 diffe...
arch/parisc/kernel/inventory.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Code to handle x86 style IRQs plus some generic interrupt stuff. * * Copyright (C) 1992 Linus Torvalds * Copyright (C) 1994, 1995, 1996, 1997, 1998 Ralf Baechle * Copyright (C) 1999 SuSE GmbH (Philipp Rumpf, prumpf@tux.org) * Copyright (C) 1999-2000 Grant Grundle...
arch/parisc/kernel/irq.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2019 Helge Deller <deller@gmx.de> * * Based on arch/arm64/kernel/jump_label.c */ #include <linux/kernel.h> #include <linux/jump_label.h> #include <linux/bug.h> #include <asm/alternative.h> #include <asm/text-patching.h> static inline int reassemble_17(int as1...
arch/parisc/kernel/jump_label.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include <linux/kernel.h> #include <linux/console.h> #include <linux/kexec.h> #include <linux/delay.h> #include <linux/reboot.h> #include <asm/cacheflush.h> #include <asm/sections.h> extern void relocate_new_kernel(unsigned long head, unsigned long start, unsigned long phy...
arch/parisc/kernel/kexec.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Load ELF vmlinux file for the kexec_file_load syscall. * * Copyright (c) 2019 Sven Schnelle <svens@stackframe.org> * */ #include <linux/elf.h> #include <linux/kexec.h> #include <linux/libfdt.h> #include <linux/module.h> #include <linux/of_fdt.h> #include <linux/slab.h> #inc...
arch/parisc/kernel/kexec_file.c
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> * Copyright (c) 2022 Helge Deller <deller@gmx.de> * */ #include <linux/kgdb.h> #include <linux/string.h> #include <linux/sched.h> #include <linux/notifier.h> #include <linux/kdebug.h> #includ...
arch/parisc/kernel/kgdb.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * arch/parisc/kernel/kprobes.c * * PA-RISC kprobes implementation * * Copyright (c) 2019 Sven Schnelle <svens@stackframe.org> * Copyright (c) 2022 Helge Deller <deller@gmx.de> */ #include <linux/types.h> #include <linux/kprobes.h> #include <linux/slab.h> #include <asm/cach...
arch/parisc/kernel/kprobes.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* Kernel dynamically loadable module help for PARISC. * * The best reference for this stuff is probably the Processor- * Specific ELF Supplement for PA-RISC: * https://parisc.wiki.kernel.org/index.php/File:Elf-pa-hp.pdf * * Linux/PA-RISC Project * ...
arch/parisc/kernel/module.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * PARISC TLB and cache flushing support * Copyright (C) 2000-2001 Hewlett-Packard (John Marvin) * Copyright (C) 2001 Matthew Wilcox (willy at parisc-linux.org) * Copyright (C) 2002 Richard Hirst (rhirst with parisc-linux.org) */ /* * NOTE: fdc,fic, and pdc i...
arch/parisc/kernel/pacache.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Architecture-specific kernel symbols * * Copyright (C) 2000-2001 Richard Hirst <rhirst with parisc-linux.org> * Copyright (C) 2001 Dave Kennedy * Copyright (C) 2001 Paul Bame <bame at parisc-linux.org> * Copyright (C) 2001-2003 Grant Grundler <grund...
arch/parisc/kernel/parisc_ksyms.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * functions to patch RO kernel text during runtime * * Copyright (c) 2019 Sven Schnelle <svens@stackframe.org> */ #include <linux/kernel.h> #include <linux/spinlock.h> #include <linux/kprobes.h> #include <linux/mm.h> #include <linux/stop_machine.h> #include <asm/cachefl...
arch/parisc/kernel/patch.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* ** PARISC 1.1 Dynamic DMA mapping support. ** This implementation is for PA-RISC platforms that do not support ** I/O TLBs (aka DMA address translation hardware). ** See Documentation/core-api/dma-api-howto.rst for interface definitions. ** ** (c) Copyright 1999,2000 Hewlett-...
arch/parisc/kernel/pci-dma.c
null
null
null
null
null
source
linux
/* * 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) 1997, 1998 Ralf Baechle * Copyright (C) 1999 SuSE GmbH * Copyright (C) 1999-2001 Hewlett-Packard Company * Copyright (C) ...
arch/parisc/kernel/pci.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * interfaces to Chassis Codes via PDC (firmware) * * Copyright (C) 2002 Laurent Canet <canetl@esiee.fr> * Copyright (C) 2002-2006 Thibaut VARENE <varenet@parisc-linux.org> * * TODO: poll chassis warns, trigger (configurable) machine shutdown when * ne...
arch/parisc/kernel/pdc_chassis.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * PDC early console support - use PDC firmware to dump text via boot console * * Copyright (C) 2001-2022 Helge Deller <deller@gmx.de> */ #include <linux/console.h> #include <linux/init.h> #include <linux/serial_core.h> #include <linux/kgdb.h> #include <asm/pag...
arch/parisc/kernel/pdc_cons.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Page Deallocation Table (PDT) support * * The Page Deallocation Table (PDT) is maintained by firmware and holds a * list of memory addresses in which memory errors were detected. * The list contains both single-bit (correctable) and double-bit * (uncorrectab...
arch/parisc/kernel/pdt.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Parisc performance counters * Copyright (C) 2001 Randolph Chung <tausq@debian.org> * * This code is derived, with permission, from HP/UX sources. */ /* * Edited comment from original sources: * * This driver programs the PCX-U/PCX-W performance counters *...
arch/parisc/kernel/perf.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* low-level asm for "intrigue" (PA8500-8700 CPU perf counters) * * Copyright (C) 2001 Randolph Chung <tausq at parisc-linux.org> * Copyright (C) 2001 Hewlett-Packard (Grant Grundler) */ #include <asm/assembly.h> #include <linux/init.h> #include <linux/li...
arch/parisc/kernel/perf_asm.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Performance event support for parisc * * Copyright (C) 2025 by Helge Deller <deller@gmx.de> */ #include <linux/kernel.h> #include <linux/perf_event.h> #include <asm/unwind.h> void perf_callchain_kernel(struct perf_callchain_entry_ctx *entry, struct pt_regs *regs) { ...
arch/parisc/kernel/perf_event.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Imagine for use with the Onyx (PCX-U) CPU interface * * Copyright (C) 2001 Randolph Chung <tausq at parisc-linux.org> * Copyright (C) 2001 Hewlett-Packard (Grant Grundler) */ #ifndef PERF_IMAGES_H #define PERF_IMAGES_H /* Magic numbers taken without ...
arch/parisc/kernel/perf_images.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* Copyright (C) 2025 by Helge Deller <deller@gmx.de> */ #include <linux/perf_event.h> #include <linux/perf_regs.h> #include <asm/ptrace.h> u64 perf_reg_value(struct pt_regs *regs, int idx) { switch (idx) { case PERF_REG_PARISC_R0 ... PERF_REG_PARISC_R31: return regs->gr[idx -...
arch/parisc/kernel/perf_regs.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * PARISC Architecture-dependent parts of process handling * based on the work for i386 * * Copyright (C) 1999-2003 Matthew Wilcox <willy at parisc-linux.org> * Copyright (C) 2000 Martin K Petersen <mkp at mkp.net> * Copyright (C) 2000 John Marvin <jsm...
arch/parisc/kernel/process.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Initial setup-routines for HP 9000 based hardware. * * Copyright (C) 1991, 1992, 1995 Linus Torvalds * Modifications for PA-RISC (C) 1999-2026 Helge Deller <deller@gmx.de> * Modifications copyright 1999 SuSE GmbH (Philipp Rumpf) * Modifications cop...
arch/parisc/kernel/processor.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Kernel support for the ptrace() and syscall tracing interfaces. * * Copyright (C) 2000 Hewlett-Packard Co, Linuxcare Inc. * Copyright (C) 2000 Matthew Wilcox <matthew@wil.cx> * Copyright (C) 2000 David Huggins-Daines <dhd@debian.org> * Copyright (C) 2008-2016 Helge Deller ...
arch/parisc/kernel/ptrace.c
null
null
null
null
null
source
linux
/* * * 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) 2000 Hewlett Packard (Paul Bame bame@puffin.external.hp.com) * */ #include <asm/pdc.h> #include <asm/psw.h> #include <...
arch/parisc/kernel/real2.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> #include <linux/kexec.h> #include <asm/assembly.h> #include <asm/asm-offsets.h> #include <asm/page.h> #include <asm/setup.h> #include <asm/psw.h> .level PA_ASM_LEVEL .macro kexec_param name .align 8 ENTRY(kexec\()_\name) #ifdef CONFIG_64BIT .dword 0 ...
arch/parisc/kernel/relocate_kernel.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Initial setup-routines for HP 9000 based hardware. * * Copyright (C) 1991, 1992, 1995 Linus Torvalds * Modifications for PA-RISC (C) 1999 Helge Deller <deller@gmx.de> * Modifications copyright 1999 SuSE GmbH (Philipp Rumpf) * Modifications copyrigh...
arch/parisc/kernel/setup.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * PA-RISC architecture-specific signal handling support. * * Copyright (C) 2000 David Huggins-Daines <dhd@debian.org> * Copyright (C) 2000 Linuxcare, Inc. * Copyright (C) 2000-2022 Helge Deller <deller@gmx.de> * Copyright (C) 2022 John David Anglin <dave.anglin@bell.net...
arch/parisc/kernel/signal.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* Signal support for 32-bit kernel builds * * Copyright (C) 2001 Matthew Wilcox <willy at parisc-linux.org> * Copyright (C) 2006 Kyle McMartin <kyle at parisc-linux.org> * * Code was mostly borrowed from kernel/signal.c. * See kernel/signal.c for additi...
arch/parisc/kernel/signal32.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2001 Matthew Wilcox <willy at parisc-linux.org> * Copyright (C) 2003 Carlos O'Donell <carlos at parisc-linux.org> */ #ifndef _PARISC64_KERNEL_SIGNAL32_H #define _PARISC64_KERNEL_SIGNAL32_H #include <linux/compat.h> /* 32-bit ucontext as seen...
arch/parisc/kernel/signal32.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* ** SMP Support ** ** Copyright (C) 1999 Walt Drummond <drummond@valinux.com> ** Copyright (C) 1999 David Mosberger-Tang <davidm@hpl.hp.com> ** Copyright (C) 2001,2004 Grant Grundler <grundler@parisc-linux.org> ** ** Lots of stuff stolen from arch/alpha/kernel/smp.c ** .....
arch/parisc/kernel/smp.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Stack trace management functions * * Copyright (C) 2009-2021 Helge Deller <deller@gmx.de> * based on arch/x86/kernel/stacktrace.c by Ingo Molnar <mingo@redhat.com> * and parisc unwind functions by Randolph Chung <tausq@debian.org> * * TODO: Userspace stacktrace (...
arch/parisc/kernel/stacktrace.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * PARISC specific syscalls * * Copyright (C) 1999-2003 Matthew Wilcox <willy at parisc-linux.org> * Copyright (C) 2000-2003 Paul Bame <bame at parisc-linux.org> * Copyright (C) 2001 Thomas Bogendoerfer <tsbogend at parisc-linux.org> * Copyright (C) 1...
arch/parisc/kernel/sys_parisc.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * sys_parisc32.c: Conversion between 32bit and 64bit native syscalls. * * Copyright (C) 2000-2001 Hewlett Packard Company * Copyright (C) 2000 John Marvin * Copyright (C) 2001 Matthew Wilcox * Copyright (C) 2014 Helge Deller <deller@gmx.de> * * These routines maintain argu...
arch/parisc/kernel/sys_parisc32.c
null
null
null
null
null
source
linux
/* * Linux/PA-RISC Project (http://www.parisc-linux.org/) * * System call entry code / Linux gateway page * Copyright (c) Matthew Wilcox 1999 <willy@infradead.org> * Licensed under the GNU GPL. * thanks to Philipp Rumpf, Mike Shaver and various others * sorry about the wall, puffin.. */ /* How does the Linux...
arch/parisc/kernel/syscall.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Common time service routines for parisc machines. * based on arch/loongarch/kernel/time.c * * Copyright (C) 2024 Helge Deller <deller@gmx.de> */ #include <linux/clockchips.h> #include <linux/delay.h> #include <linux/export.h> #include <linux/init.h> #include <linux/interrup...
arch/parisc/kernel/time.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include <linux/kernel.h> #include <linux/kgdb.h> #include <linux/printk.h> #include <linux/sched/debug.h> #include <linux/delay.h> #include <linux/reboot.h> #include <asm/pdc.h> #include <asm/pdc_chassis.h> #include <asm/ldcw.h> #include <asm/processor.h> static unsigned int __al...
arch/parisc/kernel/toc.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* TOC (Transfer of Control) handler. */ .level 1.1 #include <asm/assembly.h> #include <linux/threads.h> #include <linux/linkage.h> .text .import toc_intr,code .import toc_stack,data .align 16 ENTRY_CFI(toc_handler) load32 PA(toc_stack),%sp #ifdef CONFIG_SMP /...
arch/parisc/kernel/toc_asm.S
null
null
null
null
null
source
linux
/* * arch/parisc/kernel/topology.c * * Copyright (C) 2017 Helge Deller <deller@gmx.de> * * based on arch/arm/kernel/topology.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. */ #includ...
arch/parisc/kernel/topology.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * linux/arch/parisc/traps.c * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright (C) 1999, 2000 Philipp Rumpf <prumpf@tux.org> */ /* * 'Traps.c' handles hardware traps and faults after we have saved some * state in 'asm.s'. */ #include <linux/sched.h> #include <l...
arch/parisc/kernel/traps.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Unaligned memory access handler * * Copyright (C) 2001 Randolph Chung <tausq@debian.org> * Copyright (C) 2022 Helge Deller <deller@gmx.de> * Significantly tweaked by LaMont Jones <lamont@debian.org> */ #include <linux/sched/signal.h> #include <linux/s...
arch/parisc/kernel/unaligned.c
null
null
null
null
null
source
linux
struct pt_regs; void handle_unaligned(struct pt_regs *regs); int check_unaligned(struct pt_regs *regs);
arch/parisc/kernel/unaligned.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Kernel unwinding support * * (c) 2002-2004 Randolph Chung <tausq@debian.org> * * Derived partially from the IA64 implementation. The PA-RISC * Runtime Architecture Document is also a useful reference to * understand what is happening here */ #include <linux/kernel.h> #i...
arch/parisc/kernel/unwind.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2022 Helge Deller <deller@gmx.de> * * based on arch/s390/kernel/vdso.c which is * Copyright IBM Corp. 2008 * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com) */ #include <linux/kernel.h> #include <linux/mm.h> #include <linux/slab.h> #include <linux...
arch/parisc/kernel/vdso.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* Kernel link layout for various "sections" * * Copyright (C) 1999-2003 Matthew Wilcox <willy at parisc-linux.org> * Copyright (C) 2000-2003 Paul Bame <bame at parisc-linux.org> * Copyright (C) 2000 John Marvin <jsm at parisc-linux.org> * Copyright (C) 2000 Mi...
arch/parisc/kernel/vmlinux.lds.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * This supplies .note.* sections to go into the PT_NOTE inside the vDSO text. * Here we can supply some information useful to userland. */ #include <linux/uts.h> #include <linux/version.h> #define ASM_ELF_NOTE_BEGIN(name, flags, vendor, type) \ .section name, flag...
arch/parisc/kernel/vdso32/note.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Syscall restart trampoline for 32 and 64 bits processes. * * Copyright (C) 2018-2022 Helge Deller <deller@gmx.de> * Copyright (C) 2022 John David Anglin <dave.anglin@bell.net> */ #include <asm/unistd.h> #include <asm/vdso.h> #include <linux/linkage.h> .text ENTRY_CF...
arch/parisc/kernel/vdso32/restart_syscall.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Signal trampolines for 32 bit processes. * * Copyright (C) 2006 Randolph Chung <tausq@debian.org> * Copyright (C) 2018-2022 Helge Deller <deller@gmx.de> * Copyright (C) 2022 John David Anglin <dave.anglin@bell.net> */ #include <asm/unistd.h> #include <linux/linkage.h> #...
arch/parisc/kernel/vdso32/sigtramp.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * This is the infamous ld script for the 32 bits vdso library */ #include <asm/vdso.h> #include <asm/page.h> /* Default link addresses for the vDSOs */ OUTPUT_FORMAT("elf32-hppa-linux") OUTPUT_ARCH(hppa) ENTRY(_start) SECTIONS { . = VDSO_LBASE + SIZEOF_HEADERS; .hash ...
arch/parisc/kernel/vdso32/vdso32.lds.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include "asm/unistd.h" #include <linux/types.h> #include <uapi/asm/unistd_32.h> struct timezone; struct old_timespec32; struct __kernel_timespec; struct __kernel_old_timeval; /* forward declarations */ int __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz);...
arch/parisc/kernel/vdso32/vdso32_generic.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> #include <asm/page.h> __PAGE_ALIGNED_DATA .globl vdso32_start, vdso32_end .balign PAGE_SIZE vdso32_start: .incbin "arch/parisc/kernel/vdso32/vdso32.so" .balign PAGE_SIZE vdso32_end: .previous
arch/parisc/kernel/vdso32/vdso32_wrapper.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Signal trampolines for 64 bit processes. * * Copyright (C) 2006 Randolph Chung <tausq@debian.org> * Copyright (C) 2018-2022 Helge Deller <deller@gmx.de> * Copyright (C) 2022 John David Anglin <dave.anglin@bell.net> */ #include <asm/unistd.h> #include <linux/linkage.h> #...
arch/parisc/kernel/vdso64/sigtramp.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * This is the infamous ld script for the 64 bits vdso library */ #include <asm/vdso.h> /* Default link addresses for the vDSOs */ OUTPUT_FORMAT("elf64-hppa-linux") OUTPUT_ARCH(hppa:hppa2.0w) ENTRY(_start) SECTIONS { . = VDSO_LBASE + SIZEOF_HEADERS; .hash : { *...
arch/parisc/kernel/vdso64/vdso64.lds.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include "asm/unistd.h" #include <linux/types.h> struct timezone; struct __kernel_timespec; struct __kernel_old_timeval; /* forward declarations */ int __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz); int __vdso_clock_gettime(clockid_t clock, struct __ker...
arch/parisc/kernel/vdso64/vdso64_generic.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> #include <asm/page.h> __PAGE_ALIGNED_DATA .globl vdso64_start, vdso64_end .balign PAGE_SIZE vdso64_start: .incbin "arch/parisc/kernel/vdso64/vdso64.so" .balign PAGE_SIZE vdso64_end: .previous
arch/parisc/kernel/vdso64/vdso64_wrapper.S
null
null
null
null
null
source
linux
// 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/atomic...
arch/parisc/lib/bitops.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * INET An implementation of the TCP/IP protocol suite for the LINUX * operating system. INET is implemented using the BSD Socket * interface as the means of communication with the user level. * * MIPS specific IP/TCP/UDP checksumming routines * * Authors: Ral...
arch/parisc/lib/checksum.c
null
null
null
null
null
source
linux
// 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 (C) ...
arch/parisc/lib/delay.c
null
null
null
null
null
source
linux
// 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> #inc...
arch/parisc/lib/io.c
null
null
null
null
null
source
linux
// 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-7fffffff ...
arch/parisc/lib/iomap.c
null
null
null
null
null
source
linux
/* 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 Randolph Chu...
arch/parisc/lib/lusercopy.S
null
null
null
null
null
source
linux
// 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 Foundation, I...
arch/parisc/lib/memcpy.c
null
null
null
null
null
source
linux
/* 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; op_t...
arch/parisc/lib/memset.c
null
null
null
null
null
source
linux
// 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 = {.ul...
arch/parisc/lib/ucmpdi2.c
null
null
null
null
null
source
linux
/* 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. #endif /*...
arch/parisc/math-emu/cnv_float.h
null
null
null
null
null
source
linux
/* 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. #endif /* ...
arch/parisc/math-emu/dbl_float.h
null
null
null
null
null
source
linux
// 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/fp/decode_exc.c $ Revision: $ * * Purpose: * <<please update ...
arch/parisc/math-emu/decode_exc.c
null
null
null
null
null
source
linux
// 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/fp/denormal.c $ Revision: $ * * Purpose: * <<please update wi...
arch/parisc/math-emu/denormal.c
null
null
null
null
null
source
linux
// 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/dfadd.c $Revision: 1.1 $ * * Purpose: * Double_add: ad...
arch/parisc/math-emu/dfadd.c
null
null
null
null
null
source
linux
// 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/dfcmp.c $Revision: 1.1 $ * * Purpose: * dbl_cmp: compa...
arch/parisc/math-emu/dfcmp.c
null
null
null
null
null
source
linux
// 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 Precisi...
arch/parisc/math-emu/dfdiv.c
null
null
null
null
null
source
linux
// 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/dfmpy.c $Revision: 1.1 $ * * Purpose: * Double Precisi...
arch/parisc/math-emu/dfmpy.c
null
null
null
null
null
source
linux
// 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/dfrem.c $Revision: 1.1 $ * * Purpose: * Double Precisi...
arch/parisc/math-emu/dfrem.c
null
null
null
null
null
source
linux
// 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/dfsqrt.c $Revision: 1.1 $ * * Purpose: * Double Floati...
arch/parisc/math-emu/dfsqrt.c
null
null
null
null
null
source
linux
// 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/dfsub.c $Revision: 1.1 $ * * Purpose: * Double_subtrac...
arch/parisc/math-emu/dfsub.c
null
null
null
null
null
source
linux
// 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> */ /* * linux/arch/math-emu/driver.c.c * * decodes and dispatches unimplemented FPU instructions * * Co...
arch/parisc/math-emu/driver.c
null
null
null
null
null
source
linux
// 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/fcnvff.c $Revision: 1.1 $ * * Purpose: * Single Floati...
arch/parisc/math-emu/fcnvff.c
null
null
null
null
null
source
linux
// 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/fcnvfu.c $Revision: 1.1 $ * * Purpose: * Floating-poin...
arch/parisc/math-emu/fcnvfu.c
null
null
null
null
null
source
linux
// 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/fcnvfut.c $Revision: 1.1 $ * * Purpose: * Floating-poi...
arch/parisc/math-emu/fcnvfut.c
null
null
null
null
null
source
linux
// 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/fcnvfx.c $Revision: 1.1 $ * * Purpose: * Single Floati...
arch/parisc/math-emu/fcnvfx.c
null
null
null
null
null