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
/* * Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved. */ #ifndef _ASM_SPARC_VDSO_H #define _ASM_SPARC_VDSO_H struct vdso_image { void *data; unsigned long size; /* Always a multiple of PAGE_SIZE */ long sym_vvar_start; /* Negative offset to the vvar area */ }; #ifdef CONFIG_SPARC64 exte...
arch/sparc/include/asm/vdso.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC_VIDEO_H_ #define _SPARC_VIDEO_H_ #include <linux/io.h> #include <linux/types.h> #include <asm/page.h> struct device; #ifdef CONFIG_SPARC32 static inline pgprot_t pgprot_framebuffer(pgprot_t prot, unsigned long vm_start, unsigned long vm_end, unsign...
arch/sparc/include/asm/video.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * viking.h: Defines specific to the GNU/Viking MBUS module. * This is SRMMU stuff. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) */ #ifndef _SPARC_VIKING_H #define _SPARC_VIKING_H #include <asm/asi.h> #include <asm/mxcc.h> #include <asm/pgtab...
arch/sparc/include/asm/viking.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC64_VIO_H #define _SPARC64_VIO_H #include <linux/kernel.h> #include <linux/device.h> #include <linux/mod_devicetable.h> #include <linux/timer.h> #include <linux/spinlock.h> #include <linux/completion.h> #include <linux/list.h> #include <linux/log2.h> #include <asm/l...
arch/sparc/include/asm/vio.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC64_VISASM_H #define _SPARC64_VISASM_H /* visasm.h: FPU saving macros for VIS routines * * Copyright (C) 1998 Jakub Jelinek (jj@ultra.linux.cz) */ #include <asm/pstate.h> #include <asm/ptrace.h> /* Clobbers %o5, %g1, %g2, %g3, %g7, %icc, %xcc */ #define VISEnt...
arch/sparc/include/asm/visasm.h
null
null
null
null
null
source
linux
/* * Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved. */ #ifndef _ASM_SPARC_VVAR_DATA_H #define _ASM_SPARC_VVAR_DATA_H #include <asm/clocksource.h> #include <asm/processor.h> #include <asm/barrier.h> #include <linux/time.h> #include <linux/types.h> struct vvar_data { unsigned int seq; int v...
arch/sparc/include/asm/vvar.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * winmacro.h: Window loading-unloading macros. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) */ #ifndef _SPARC_WINMACRO_H #define _SPARC_WINMACRO_H #include <asm/ptrace.h> /* Store the register window onto the 8-byte aligned area starting * at %reg. I...
arch/sparc/include/asm/winmacro.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_XOR_H #define ___ASM_SPARC_XOR_H #if defined(__sparc__) && defined(__arch64__) #include <asm/xor_64.h> #else #include <asm/xor_32.h> #endif #endif
arch/sparc/include/asm/xor.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * include/asm/xor.h * * Optimized RAID-5 checksumming functions for 32-bit Sparc. */ /* * High speed xor_block operation for RAID4/5 utilizing the * ldd/std SPARC instructions. * * Copyright (C) 1999 Jakub Jelinek (jj@ultra.linux.cz) */ static void sparc_2(u...
arch/sparc/include/asm/xor_32.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * include/asm/xor.h * * High speed xor_block operation for RAID4/5 utilizing the * UltraSparc Visual Instruction Set and Niagara block-init * twin-load instructions. * * Copyright (C) 1997, 1999 Jakub Jelinek (jj@ultra.linux.cz) * Copyright (C) 2006 David S. Mi...
arch/sparc/include/asm/xor_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* apc - Driver definitions for power management functions * of Aurora Personality Chip (APC) on SPARCstation-4/5 and * derivatives * * Copyright (c) 2001 Eric Brower (ebrower@usa.net) * */ #ifndef _SPARC_APC_H #define _SPARC_APC_H #include <linux/...
arch/sparc/include/uapi/asm/apc.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _SPARC_ASI_H #define _SPARC_ASI_H /* asi.h: Address Space Identifier values for the sparc. * * Copyright (C) 1995,1996 David S. Miller (davem@caip.rutgers.edu) * * Pioneer work for sun4m: Paul Hatchman (paul@sfe.com.au) * Joint edition for su...
arch/sparc/include/uapi/asm/asi.h
null
null
null
null
null
source
linux
#ifndef __ASMSPARC_AUXVEC_H #define __ASMSPARC_AUXVEC_H #define AT_SYSINFO_EHDR 33 /* Avoid overlap with other AT_* values since they are consolidated in * glibc and any overlaps can cause problems */ #define AT_ADI_BLKSZ 48 #define AT_ADI_NBITS 49 #define AT_ADI_UEONADI 50 #define AT_VECTOR_SIZE_ARCH 4 #endif /...
arch/sparc/include/uapi/asm/auxvec.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef __ASM_ALPHA_BITSPERLONG_H #define __ASM_ALPHA_BITSPERLONG_H #if defined(__sparc__) && defined(__arch64__) #define __BITS_PER_LONG 64 #else #define __BITS_PER_LONG 32 #endif #include <asm-generic/bitsperlong.h> #endif /* __ASM_ALPHA_BITSPERLONG_H ...
arch/sparc/include/uapi/asm/bitsperlong.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _SPARC_BYTEORDER_H #define _SPARC_BYTEORDER_H #include <linux/byteorder/big_endian.h> #endif /* _SPARC_BYTEORDER_H */
arch/sparc/include/uapi/asm/byteorder.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * * display7seg - Driver interface for the 7-segment display * present on Sun Microsystems CP1400 and CP1500 * * Copyright (c) 2000 Eric Brower <ebrower@usa.net> * */ #ifndef __display7seg_h__ #define __display7seg_h__ #define D7S_IOC 'p' #defi...
arch/sparc/include/uapi/asm/display7seg.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * * envctrl.h: Definitions for access to the i2c environment * monitoring on Ultrasparc systems. * * Copyright (C) 1998 Eddie C. Dost (ecd@skynet.be) * Copyright (C) 2000 Vinh Truong (vinh.truong@eng.sun.com) * VT - Add all ioctl co...
arch/sparc/include/uapi/asm/envctrl.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _SPARC_ERRNO_H #define _SPARC_ERRNO_H /* These match the SunOS error numbering scheme. */ #include <asm-generic/errno-base.h> #define EWOULDBLOCK EAGAIN /* Operation would block */ #define EINPROGRESS 36 /* Operation now in progress */ #define EA...
arch/sparc/include/uapi/asm/errno.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _UAPI__LINUX_FBIO_H #define _UAPI__LINUX_FBIO_H #include <linux/compiler.h> #include <linux/types.h> /* Constants used for fbio SunOS compatibility */ /* (C) 1996 Miguel de Icaza */ /* Frame buffer types */ #define FBTYPE_NOTYPE -1 #def...
arch/sparc/include/uapi/asm/fbio.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _SPARC_FCNTL_H #define _SPARC_FCNTL_H #define O_APPEND 0x0008 #define FASYNC 0x0040 /* fcntl, for BSD compatibility */ #define O_CREAT 0x0200 /* not fcntl */ #define O_TRUNC 0x0400 /* not fcntl */ #define O_EXCL 0x0800 /* not fcntl */ #define O...
arch/sparc/include/uapi/asm/fcntl.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _SPARC_IOCTL_H #define _SPARC_IOCTL_H /* * Our DIR and SIZE overlap in order to simulteneously provide * a non-zero _IOC_NONE (for binary compatibility) and * 14 bits of size as on i386. Here's the layout: * * 0xE0000000 DIR * 0x8000000...
arch/sparc/include/uapi/asm/ioctl.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _UAPI_ASM_SPARC_IOCTLS_H #define _UAPI_ASM_SPARC_IOCTLS_H #include <asm/ioctl.h> /* Big T */ #define TCGETA 0x40125401 /* _IOR('T', 1, struct termio) */ #define TCSETA 0x80125402 /* _IOW('T', 2, struct termio) */ #define TCSETAW ...
arch/sparc/include/uapi/asm/ioctls.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef __SPARC_IPCBUF_H #define __SPARC_IPCBUF_H #include <linux/posix_types.h> /* * The ipc64_perm structure for sparc/sparc64 architecture. * Note extra padding because this structure is passed back and forth * between kernel and user space. * * P...
arch/sparc/include/uapi/asm/ipcbuf.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _UAPI__SPARC_MMAN_H__ #define _UAPI__SPARC_MMAN_H__ #include <asm-generic/mman-common.h> /* SunOS'ified... */ #define PROT_ADI 0x10 /* ADI enabled */ #define MAP_RENAME MAP_ANONYMOUS /* In SunOS terminology */ #define MAP_NORESERVE 0x4...
arch/sparc/include/uapi/asm/mman.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _SPARC_MSGBUF_H #define _SPARC_MSGBUF_H #include <asm/ipcbuf.h> /* * The msqid64_ds structure for sparc64 architecture. * Note extra padding because this structure is passed back and forth * between kernel and user space. * * Pad space is lef...
arch/sparc/include/uapi/asm/msgbuf.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _SPARC_OPENPROMIO_H #define _SPARC_OPENPROMIO_H #include <linux/compiler.h> #include <linux/ioctl.h> /* * SunOS and Solaris /dev/openprom definitions. The ioctl values * were chosen to be exactly equal to the SunOS equivalents. */ struct openp...
arch/sparc/include/uapi/asm/openpromio.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later WITH Linux-syscall-note */ /* * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. */ /* * Oracle DAX driver API definitions */ #ifndef _ORADAX_H #define _ORADAX_H #include <linux/types.h> #define CCB_KILL 0 #define CCB_INFO 1 #define CCB_DEQUEUE ...
arch/sparc/include/uapi/asm/oradax.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _ASMSPARC_PARAM_H #define _ASMSPARC_PARAM_H #define EXEC_PAGESIZE 8192 /* Thanks for sun4's we carry baggage... */ #include <asm-generic/param.h> #endif /* _ASMSPARC_PARAM_H */
arch/sparc/include/uapi/asm/param.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /*---------------------------------------- PERFORMANCE INSTRUMENTATION Guillaume Thouvenin 08/10/98 David S. Miller 10/06/98 ---------------------------------------*/ #ifndef PERF_COUNTER_API #define PERF_COUNTER_API /* sy...
arch/sparc/include/uapi/asm/perfctr.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef __SPARC_POLL_H #define __SPARC_POLL_H #define POLLWRNORM POLLOUT #define POLLWRBAND 256 #define POLLMSG 512 #define POLLREMOVE 1024 #define POLLRDHUP 2048 #include <asm-generic/poll.h> #endif
arch/sparc/include/uapi/asm/poll.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * 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. */ #ifndef __SPARC_POSIX_TYPES_H #define __SPARC_POSIX_TYPES_H #if defined(__spar...
arch/sparc/include/uapi/asm/posix_types.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * psr.h: This file holds the macros for masking off various parts of * the processor status register on the Sparc. This is valid * for Version 8. On the V9 this is renamed to the PSTATE * register and its members are accessed as ...
arch/sparc/include/uapi/asm/psr.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _SPARC64_PSRCOMPAT_H #define _SPARC64_PSRCOMPAT_H #include <asm/pstate.h> /* Old 32-bit PSR fields for the compatibility conversion code. */ #define PSR_CWP 0x0000001f /* current window pointer */ #define PSR_ET 0x00000020 ...
arch/sparc/include/uapi/asm/psrcompat.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _SPARC64_PSTATE_H #define _SPARC64_PSTATE_H #include <linux/const.h> /* The V9 PSTATE Register (with SpitFire extensions). * * ----------------------------------------------------------------------- * | Resv | IG | MG | CLE | TLE | MM | RED |...
arch/sparc/include/uapi/asm/pstate.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _UAPI__SPARC_PTRACE_H #define _UAPI__SPARC_PTRACE_H #if defined(__sparc__) && defined(__arch64__) /* 64 bit sparc */ #include <asm/pstate.h> /* This struct defines the way the registers are stored on the * stack during a system call and basically...
arch/sparc/include/uapi/asm/ptrace.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * resource.h: Resource definitions. * * Copyright (C) 1995,1996 David S. Miller (davem@caip.rutgers.edu) */ #ifndef _SPARC_RESOURCE_H #define _SPARC_RESOURCE_H /* * These two resource limit IDs have a Sparc/Linux-specific ordering, * the rest com...
arch/sparc/include/uapi/asm/resource.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _SPARC_SEMBUF_H #define _SPARC_SEMBUF_H #include <asm/ipcbuf.h> /* * The semid64_ds structure for sparc architecture. * Note extra padding because this structure is passed back and forth * between kernel and user space. * * Pad space is left ...
arch/sparc/include/uapi/asm/sembuf.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Just a place holder. */ #ifndef _UAPI_SPARC_SETUP_H #define _UAPI_SPARC_SETUP_H #if defined(__sparc__) && defined(__arch64__) # define COMMAND_LINE_SIZE 2048 #else # define COMMAND_LINE_SIZE 256 #endif #endif /* _UAPI_SPARC_SETUP_H */
arch/sparc/include/uapi/asm/setup.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _SPARC_SHMBUF_H #define _SPARC_SHMBUF_H #include <asm/ipcbuf.h> #include <asm/posix_types.h> /* * The shmid64_ds structure for sparc architecture. * Note extra padding because this structure is passed back and forth * between kernel and user s...
arch/sparc/include/uapi/asm/shmbuf.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _UAPI__SPARC_SIGINFO_H #define _UAPI__SPARC_SIGINFO_H #if defined(__sparc__) && defined(__arch64__) #define __ARCH_SI_BAND_T int #endif /* defined(__sparc__) && defined(__arch64__) */ #include <asm-generic/siginfo.h> #define SI_NOINFO 32767 /...
arch/sparc/include/uapi/asm/siginfo.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _UAPI__SPARC_SIGNAL_H #define _UAPI__SPARC_SIGNAL_H #include <asm/sigcontext.h> #include <linux/compiler.h> /* On the Sparc the signal handlers get passed a 'sub-signal' code * for certain signal types, which we document here. */ #define SIGHUP...
arch/sparc/include/uapi/asm/signal.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _ASM_SOCKET_H #define _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_PASSCRED 0x0002 #define SO_REUSEADDR 0x0004 #define SO_KEEPALIVE 0x00...
arch/sparc/include/uapi/asm/socket.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef __SPARC_STAT_H #define __SPARC_STAT_H #include <linux/types.h> #if defined(__sparc__) && defined(__arch64__) /* 64 bit sparc */ struct stat { unsigned int st_dev; __kernel_ino_t st_ino; __kernel_mode_t st_mode; short st_nlink; __kernel_uid3...
arch/sparc/include/uapi/asm/stat.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _SPARC_SWAB_H #define _SPARC_SWAB_H #include <linux/types.h> #include <asm/asi.h> #if defined(__sparc__) && defined(__arch64__) static inline __u16 __arch_swab16p(const __u16 *addr) { __u16 ret; __asm__ __volatile__ ("lduha [%2] %3, %0" ...
arch/sparc/include/uapi/asm/swab.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _UAPI_SPARC_TERMBITS_H #define _UAPI_SPARC_TERMBITS_H #include <asm-generic/termbits-common.h> #if defined(__sparc__) && defined(__arch64__) typedef unsigned int tcflag_t; #else typedef unsigned long tcflag_t; #endif #define NCCS 17 struct termio...
arch/sparc/include/uapi/asm/termbits.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _UAPI_SPARC_TERMIOS_H #define _UAPI_SPARC_TERMIOS_H #include <asm/ioctls.h> #include <asm/termbits.h> #if defined(__KERNEL__) || defined(__DEFINE_BSD_TERMIOS) struct sgttyb { char sg_ispeed; char sg_ospeed; char sg_erase; char sg_kill; short ...
arch/sparc/include/uapi/asm/termios.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * traps.h: Format of entries for the Sparc trap table. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) */ #ifndef _UAPI_SPARC_TRAPS_H #define _UAPI_SPARC_TRAPS_H #define NUM_SPARC_TRAPS 255 #ifndef __ASSEMBLER__ #endif /* !(__ASS...
arch/sparc/include/uapi/asm/traps.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * uctx.h: Sparc64 {set,get}context() register state layouts. * * Copyright (C) 1997 David S. Miller (davem@caip.rutgers.edu) */ #ifndef __SPARC64_UCTX_H #define __SPARC64_UCTX_H #define MC_TSTATE 0 #define MC_PC 1 #define MC_NPC 2 #define MC_Y 3...
arch/sparc/include/uapi/asm/uctx.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * System calls under the Sparc. * * Don't be scared by the ugly clobbers, it is the only way I can * think of right now to force the arguments into fixed registers * before the trap into the system call with gcc 'asm' statements. * * Copyright (C)...
arch/sparc/include/uapi/asm/unistd.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * include/asm/utrap.h * * Copyright (C) 1997 Jakub Jelinek (jj@sunsite.mff.cuni.cz) */ #ifndef __ASM_SPARC64_UTRAP_H #define __ASM_SPARC64_UTRAP_H #define UT_INSTRUCTION_EXCEPTION 1 #define UT_INSTRUCTION_ERROR 2 #define UT_INSTRUCTION_PROTECTIO...
arch/sparc/include/uapi/asm/utrap.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * * watchdog - Driver interface for the hardware watchdog timers * present on Sun Microsystems boardsets * * Copyright (c) 2000 Eric Brower <ebrower@usa.net> * */ #ifndef _SPARC64_WATCHDOG_H #define _SPARC64_WATCHDOG_H #include <linux/watchdog.h...
arch/sparc/include/uapi/asm/watchdog.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* adi_64.c: support for ADI (Application Data Integrity) feature on * sparc m7 and newer processors. This feature is also known as * SSM (Silicon Secured Memory). * * Copyright (C) 2016 Oracle and/or its affiliates. All rights reserved. * Author: Khalid Aziz (khalid.aziz@o...
arch/sparc/kernel/adi_64.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* apc - Driver implementation for power management functions * of Aurora Personality Chip (APC) on SPARCstation-4/5 and * derivatives. * * Copyright (c) 2002 Eric Brower (ebrower@usa.net) */ #include <linux/kernel.h> #include <linux/fs.h> #include <linux/errno.h> #include <lin...
arch/sparc/kernel/apc.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * This program is used to generate definitions needed by * assembly language modules. * * We use the technique used in the OSF Mach kernel code: * generate asm statements containing #defines, * compile this file to assembler, and then extract the * #defines from the assembl...
arch/sparc/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> #include "kernel.h" static unsigned int dir_class[] = { #include <asm-generic/audit_dir_write.h> ~0U }; static unsigned int read_class[] = { #include <asm-generic/audit_read.h> ~0U };...
arch/sparc/kernel/audit.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* auxio.c: Probing for the Sparc AUXIO register at boot time. * * Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu) */ #include <linux/stddef.h> #include <linux/init.h> #include <linux/spinlock.h> #include <linux/of.h> #include <linux/export.h> #include <asm/oplib.h> ...
arch/sparc/kernel/auxio_32.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* auxio.c: Probing for the Sparc AUXIO register at boot time. * * Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu) * * Refactoring for unified NCR/PCIO support 2002 Eric Brower (ebrower@usa.net) */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/...
arch/sparc/kernel/auxio_64.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Procedures for drawing on the screen early on in the boot process. * * Benjamin Herrenschmidt <benh@kernel.crashing.org> */ #include <linux/kernel.h> #include <linux/string.h> #include <linux/init.h> #include <linux/console.h> #include <linux/font.h> #include <asm/btext.h> ...
arch/sparc/kernel/btext.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* central.c: Central FHC driver for Sunfire/Starfire/Wildfire. * * Copyright (C) 1997, 1999, 2008 David S. Miller (davem@davemloft.net) */ #include <linux/kernel.h> #include <linux/types.h> #include <linux/slab.h> #include <linux/export.h> #include <linux/string.h> #include <lin...
arch/sparc/kernel/central.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* These get patched into the trap table at boot time * once we know we have a cheetah processor. */ .globl cheetah_fecc_trap_vector .type cheetah_fecc_trap_vector,#function cheetah_fecc_trap_vector: membar #Sync ldxa [%g0] ASI_DCU_CONTROL_REG, %g1 andn %g1, DCU_DC ...
arch/sparc/kernel/cherrs.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* chmc.c: Driver for UltraSPARC-III memory controller. * * Copyright (C) 2001, 2007, 2008 David S. Miller (davem@davemloft.net) */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/types.h> #include <linux/slab.h> #include <linux/list.h> #include <linux/st...
arch/sparc/kernel/chmc.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #define __32bit_syscall_numbers__ #include <linux/audit_arch.h> #include <asm/unistd.h> #include "kernel.h" unsigned int sparc32_dir_class[] = { #include <asm-generic/audit_dir_write.h> ~0U }; unsigned int sparc32_chattr_class[] = { #include <asm-generic/audit_change_attr.h> ~0U };...
arch/sparc/kernel/compat_audit.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* cpu.c: Dinky routines to look for the kind of Sparc cpu * we are on. * * Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu) */ #include <linux/seq_file.h> #include <linux/kernel.h> #include <linux/export.h> #include <linux/init.h> #include <linux/smp.h> #inclu...
arch/sparc/kernel/cpu.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* cpumap.c: used for optimizing CPU assignment * * Copyright (C) 2009 Hong H. Pham <hong.pham@windriver.com> */ #include <linux/export.h> #include <linux/slab.h> #include <linux/kernel.h> #include <linux/cpumask.h> #include <linux/spinlock.h> #include <asm/cpudata.h> #include "c...
arch/sparc/kernel/cpumap.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _CPUMAP_H #define _CPUMAP_H #ifdef CONFIG_SMP void cpu_map_rebuild(void); int map_to_cpu(unsigned int index); #define cpu_map_init() cpu_map_rebuild() #else #define cpu_map_init() do {} while (0) static inline int map_to_cpu(unsigned int index) { return raw_smp_processor...
arch/sparc/kernel/cpumap.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* devices.c: Initial scan of the prom device tree for important * Sparc device nodes which we need to find. * * This is based on the sparc64 version, but sun4m doesn't always use * the hardware MIDs, so be careful. * * Copyright (C) 1996 David S. Miller (davem@caip.rutge...
arch/sparc/kernel/devices.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* ds.c: Domain Services driver for Logical Domains * * Copyright (C) 2007, 2008 David S. Miller <davem@davemloft.net> */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/types.h> #include <linux/string.h> #include <linux/slab.h> #include <linux/sched.h> #...
arch/sparc/kernel/ds.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* DTLB ** ICACHE line 1: Context 0 check and TSB load */ ldxa [%g0] ASI_DMMU_TSB_8KB_PTR, %g1 ! Get TSB 8K pointer ldxa [%g0] ASI_DMMU, %g6 ! Get TAG TARGET srlx %g6, 48, %g5 ! Get context sllx %g6, 22, %g6 ! Zero out context brz,pn %g5, kvmap_dtlb ! Context 0 process...
arch/sparc/kernel/dtlb_miss.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * dtlb_prot.S: DTLB protection trap strategy. * This is included directly into the trap table. * * Copyright (C) 1996,1998 David S. Miller (davem@redhat.com) * Copyright (C) 1997,1998 Jakub Jelinek (jj@ultra.linux.cz) */ /* Ways we can get here: * * [TL ...
arch/sparc/kernel/dtlb_prot.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* ebus.c: EBUS DMA library code. * * Copyright (C) 1997 Eddie C. Dost (ecd@skynet.be) * Copyright (C) 1999 David S. Miller (davem@redhat.com) */ #include <linux/export.h> #include <linux/kernel.h> #include <linux/types.h> #include <linux/interrupt.h> #include <linux/delay.h>...
arch/sparc/kernel/ebus.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* arch/sparc/kernel/entry.S: Sparc trap low-level entry points. * * Copyright (C) 1995, 2007 David S. Miller (davem@davemloft.net) * Copyright (C) 1996 Eddie C. Dost (ecd@skynet.be) * Copyright (C) 1996 Miguel de Icaza (miguel@nuclecu.unam.mx) * Copyright (C) 1996-1999 Ja...
arch/sparc/kernel/entry.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ENTRY_H #define _ENTRY_H #include <linux/kernel.h> #include <linux/types.h> #include <linux/init.h> /* irq */ void handler_irq(int irq, struct pt_regs *regs); #ifdef CONFIG_SPARC32 /* traps */ void do_hw_interrupt(struct pt_regs *regs, unsigned long type); void do_ille...
arch/sparc/kernel/entry.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * etrap.S: Sparc trap window preparation for entry into the * Linux kernel. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) */ #include <asm/head.h> #include <asm/asi.h> #include <asm/contregs.h> #include <asm/page.h> #include <asm/psr.h> #include...
arch/sparc/kernel/etrap_32.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * etrap.S: Preparing for entry into the kernel on Sparc V9. * * Copyright (C) 1996, 1997 David S. Miller (davem@caip.rutgers.edu) * Copyright (C) 1997, 1998, 1999 Jakub Jelinek (jj@ultra.linux.cz) */ #include <asm/asi.h> #include <asm/pstate.h> #include <asm/ptrace.h> #i...
arch/sparc/kernel/etrap_64.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* This is trivial with the new code... */ .globl do_fpdis .type do_fpdis,#function do_fpdis: sethi %hi(TSTATE_PEF), %g4 rdpr %tstate, %g5 andcc %g5, %g4, %g0 be,pt %xcc, 1f nop rd %fprs, %g5 andcc %g5, FPRS_FEF, %g0 be,pt %xcc, 1f nop /* Legal state when ...
arch/sparc/kernel/fpu_traps.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include <linux/spinlock.h> #include <linux/hardirq.h> #include <linux/ftrace.h> #include <linux/percpu.h> #include <linux/init.h> #include <linux/list.h> #include <trace/syscall.h> #include <asm/ftrace.h> #ifdef CONFIG_DYNAMIC_FTRACE static const u32 ftrace_nop = 0x01000000; stat...
arch/sparc/kernel/ftrace.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ .globl getcc .type getcc,#function getcc: ldx [%o0 + PT_V9_TSTATE], %o1 srlx %o1, 32, %o1 and %o1, 0xf, %o1 retl stx %o1, [%o0 + PT_V9_G1] .size getcc,.-getcc .globl setcc .type setcc,#function setcc: ldx [%o0 + PT_V9_TSTATE], %o1 ldx [%o0 + PT_V9_G1], %o2...
arch/sparc/kernel/getsetcc.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * head.S: The initial boot code for the Sparc port of Linux. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) * Copyright (C) 1995,1999 Pete Zaitcev (zaitcev@yahoo.com) * Copyright (C) 1996 Miguel de Icaza (miguel@nuclecu.unam.mx) * Copyright (C) 1997 Jak...
arch/sparc/kernel/head_32.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* head.S: Initial boot code for the Sparc64 port of Linux. * * Copyright (C) 1996, 1997, 2007 David S. Miller (davem@davemloft.net) * Copyright (C) 1996 David Sitsky (David.Sitsky@anu.edu.au) * Copyright (C) 1997, 1998 Jakub Jelinek (jj@sunsite.mff.cuni.cz) * Copyright (C) 1...
arch/sparc/kernel/head_64.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ .align 32 .globl __flushw_user .type __flushw_user,#function __flushw_user: rdpr %otherwin, %g1 brz,pn %g1, 2f clr %g2 1: save %sp, -128, %sp rdpr %otherwin, %g1 brnz,pt %g1, 1b add %g2, 1, %g2 1: sub %g2, 1, %g2 brnz,pt %g2, 1b restore %g0, %g0, %g0 2: retl n...
arch/sparc/kernel/helpers.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* hvapi.c: Hypervisor API management. * * Copyright (C) 2007 David S. Miller <davem@davemloft.net> */ #include <linux/kernel.h> #include <linux/export.h> #include <linux/init.h> #include <asm/hypervisor.h> #include <asm/oplib.h> /* If the hypervisor indicates that the API setti...
arch/sparc/kernel/hvapi.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* %o0: devhandle * %o1: devino * * returns %o0: sysino */ ENTRY(sun4v_devino_to_sysino) mov HV_FAST_INTR_DEVINO2SYSINO, %o5 ta HV_FAST_TRAP retl mov %o1, %o0 ENDPROC(sun4v_devino_to_sysino) /* %o0: sysino * * returns %o0: intr_enabled (HV_INTR_{DISABLED,ENABLE...
arch/sparc/kernel/hvcalls.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* hvtramp.S: Hypervisor start-cpu trampoline code. * * Copyright (C) 2007, 2008 David S. Miller <davem@davemloft.net> */ #include <asm/thread_info.h> #include <asm/hypervisor.h> #include <asm/scratchpad.h> #include <asm/spitfire.h> #include <asm/hvtramp.h> #include <asm/psta...
arch/sparc/kernel/hvtramp.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * idprom.c: Routines to load the idprom into kernel addresses and * interpret the data contained within. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) */ #include <linux/kernel.h> #include <linux/types.h> #include <linux/init.h> #include <linux/ex...
arch/sparc/kernel/idprom.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * IOMMU mmap management and range allocation functions. * Based almost entirely upon the powerpc iommu allocator. */ #include <linux/export.h> #include <linux/bitmap.h> #include <linux/bug.h> #include <linux/iommu-helper.h> #include <linux/dma-mapping.h> #include <linux/hash.h...
arch/sparc/kernel/iommu-common.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* iommu.c: Generic sparc64 IOMMU support. * * Copyright (C) 1999, 2007, 2008 David S. Miller (davem@davemloft.net) * Copyright (C) 1999, 2000 Jakub Jelinek (jakub@redhat.com) */ #include <linux/kernel.h> #include <linux/export.h> #include <linux/slab.h> #include <linux/delay.h>...
arch/sparc/kernel/iommu.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* iommu_common.h: UltraSparc SBUS/PCI common iommu declarations. * * Copyright (C) 1999, 2008 David S. Miller (davem@davemloft.net) */ #ifndef _IOMMU_COMMON_H #define _IOMMU_COMMON_H #include <linux/kernel.h> #include <linux/types.h> #include <linux/sched.h> #include <linux/...
arch/sparc/kernel/iommu_common.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * ioport.c: Simple io mapping allocator. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) * Copyright (C) 1995 Miguel de Icaza (miguel@nuclecu.unam.mx) * * 1996: sparc_free_io, 1999: ioremap()/iounmap() by Pete Zaitcev. * * 2000/01/29 * <rth> zait: as long...
arch/sparc/kernel/ioport.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/platform_device.h> #include <asm/cpu_type.h> struct irq_bucket { struct irq_bucket *next; unsigned int real_irq; unsigned int irq; unsigned int pil; }; #define SUN4M_HARD_INT(x) (0x000000001 << (x)) #define SUN4M_SOFT_INT(x)...
arch/sparc/kernel/irq.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Interrupt request handling routines. On the * Sparc the IRQs are basically 'cast in stone' * and you are supposed to probe the prom's device * node trees to find out who's got which IRQ. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) * Copyright (C) 199...
arch/sparc/kernel/irq_32.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* irq.c: UltraSparc IRQ handling/init/registry. * * Copyright (C) 1997, 2007, 2008 David S. Miller (davem@davemloft.net) * Copyright (C) 1998 Eddie C. Dost (ecd@skynet.be) * Copyright (C) 1998 Jakub Jelinek (jj@ultra.linux.cz) */ #include <linux/sched.h> #include <linu...
arch/sparc/kernel/irq_64.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* ITLB ** ICACHE line 1: Context 0 check and TSB load */ ldxa [%g0] ASI_IMMU_TSB_8KB_PTR, %g1 ! Get TSB 8K pointer ldxa [%g0] ASI_IMMU, %g6 ! Get TAG TARGET srlx %g6, 48, %g5 ! Get context sllx %g6, 22, %g6 ! Zero out context brz,pn %g5, kvmap_itlb ! Context 0 process...
arch/sparc/kernel/itlb_miss.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* The registers for cross calls will be: * * DATA 0: [low 32-bits] Address of function to call, jmp to this * [high 32-bits] MMU Context Argument 0, place in %g5 * DATA 1: Address Argument 1, place in %g1 * DATA 2: Address Argument 2, place in %g7 * * With...
arch/sparc/kernel/ivec.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include <linux/kernel.h> #include <linux/types.h> #include <linux/mutex.h> #include <linux/cpu.h> #include <linux/jump_label.h> #include <linux/memory.h> #include <asm/cacheflush.h> void arch_jump_label_transform(struct jump_entry *entry, enum jump_label_type type) { u...
arch/sparc/kernel/jump_label.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __SPARC_KERNEL_H #define __SPARC_KERNEL_H #include <linux/interrupt.h> #include <linux/ftrace.h> #include <asm/traps.h> #include <asm/head.h> #include <asm/io.h> /* cpu.c */ extern const char *sparc_pmu_type; extern unsigned int fsr_storage; extern int ncpus_probed; /*...
arch/sparc/kernel/kernel.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* kgdb.c: KGDB support for 32-bit sparc. * * Copyright (C) 2008 David S. Miller <davem@davemloft.net> */ #include <linux/kgdb.h> #include <linux/kdebug.h> #include <linux/sched.h> #include <asm/kdebug.h> #include <asm/ptrace.h> #include <asm/irq.h> #include <asm/cacheflush.h> ...
arch/sparc/kernel/kgdb_32.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* kgdb.c: KGDB support for 64-bit sparc. * * Copyright (C) 2008 David S. Miller <davem@davemloft.net> */ #include <linux/kgdb.h> #include <linux/kdebug.h> #include <linux/ftrace.h> #include <linux/context_tracking.h> #include <asm/cacheflush.h> #include <asm/kdebug.h> #include ...
arch/sparc/kernel/kgdb_64.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* arch/sparc64/kernel/kprobes.c * * Copyright (C) 2004 David S. Miller <davem@davemloft.net> */ #include <linux/kernel.h> #include <linux/kprobes.h> #include <linux/extable.h> #include <linux/kdebug.h> #include <linux/slab.h> #include <linux/context_tracking.h> #include <asm/sig...
arch/sparc/kernel/kprobes.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _KSTACK_H #define _KSTACK_H #include <linux/thread_info.h> #include <linux/sched.h> #include <asm/ptrace.h> #include <asm/irq.h> /* SP must be STACK_BIAS adjusted already. */ static inline bool kstack_valid(struct thread_info *tp, unsigned long sp) { unsigned long base...
arch/sparc/kernel/kstack.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* arch/sparc64/kernel/ktlb.S: Kernel mapping TLB miss handling. * * Copyright (C) 1995, 1997, 2005, 2008 David S. Miller <davem@davemloft.net> * Copyright (C) 1996 Eddie C. Dost (ecd@brainaid.de) * Copyright (C) 1996 Miguel de Icaza (miguel@nuclecu.unam.mx) * Cop...
arch/sparc/kernel/ktlb.S
null
null
null
null
null