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 */ /* * oplib.h: Describes the interface and available routines in the * Linux Prom library. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) */ #ifndef __SPARC_OPLIB_H #define __SPARC_OPLIB_H #include <asm/openprom.h> #include <linux/spinlock.h> #inc...
arch/sparc/include/asm/oplib_32.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* oplib.h: Describes the interface and available routines in the * Linux Prom library. * * Copyright (C) 1995, 2007 David S. Miller (davem@davemloft.net) * Copyright (C) 1996 Jakub Jelinek (jj@sunsite.mff.cuni.cz) */ #ifndef __SPARC64_OPLIB_H #define __SPARC64_OP...
arch/sparc/include/asm/oplib_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_PAGE_H #define ___ASM_SPARC_PAGE_H #if defined(__sparc__) && defined(__arch64__) #include <asm/page_64.h> #else #include <asm/page_32.h> #endif #endif
arch/sparc/include/asm/page.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * page.h: Various defines and such for MMU operations on the Sparc for * the Linux kernel. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) */ #ifndef _SPARC_PAGE_H #define _SPARC_PAGE_H #include <linux/const.h> #include <vdso/page.h> #ifndef _...
arch/sparc/include/asm/page_32.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC64_PAGE_H #define _SPARC64_PAGE_H #include <linux/const.h> #include <vdso/page.h> /* Flushing for D-cache alias handling is only needed if * the page size is smaller than 16K. */ #if PAGE_SHIFT < 14 #define DCACHE_ALIASING_POSSIBLE #endif #define HPAGE_SHIFT 2...
arch/sparc/include/asm/page_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_PARPORT_H #define ___ASM_SPARC_PARPORT_H #if defined(__sparc__) && defined(__arch64__) #include <asm/parport_64.h> #else #include <asm-generic/parport.h> #endif #endif
arch/sparc/include/asm/parport.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* parport.h: sparc64 specific parport initialization and dma. * * Copyright (C) 1999 Eddie C. Dost (ecd@skynet.be) */ #ifndef _ASM_SPARC64_PARPORT_H #define _ASM_SPARC64_PARPORT_H 1 #include <linux/of.h> #include <linux/platform_device.h> #include <linux/string.h> #includ...
arch/sparc/include/asm/parport_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * * pbm.h: PCI bus module pseudo driver software state * Adopted from sparc64 by V. Roganov and G. Raiko * * Original header: * pbm.h: U2P PCI bus module pseudo driver software state. * * Copyright (C) 1997 David S. Miller (davem@caip.rutgers.edu) * * To put th...
arch/sparc/include/asm/pbm.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_PCI_H #define ___ASM_SPARC_PCI_H /* Can be used to override the logic in pci_scan_bus for skipping * already-configured bus numbers - to be used for buggy BIOSes * or architectures with incomplete PCI setup by the loader. */ #define pcibios_assign_all_bus...
arch/sparc/include/asm/pci.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * pcic.h: JavaEngine 1 specific PCI definitions. * * Copyright (C) 1998 V. Roganov and G. Raiko */ #ifndef __SPARC_PCIC_H #define __SPARC_PCIC_H #ifndef __ASSEMBLER__ #include <linux/types.h> #include <linux/smp.h> #include <linux/pci.h> #include <linux/ioport.h> #includ...
arch/sparc/include/asm/pcic.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __PCR_H #define __PCR_H struct pcr_ops { u64 (*read_pcr)(unsigned long); void (*write_pcr)(unsigned long, u64); u64 (*read_pic)(unsigned long); void (*write_pic)(unsigned long, u64); u64 (*nmi_picl_value)(unsigned int nmi_hz); u64 pcr_nmi_enable; u64 pcr_nmi_disabl...
arch/sparc/include/asm/pcr.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_PERCPU_H #define ___ASM_SPARC_PERCPU_H #if defined(__sparc__) && defined(__arch64__) #include <asm/percpu_64.h> #else #include <asm/percpu_32.h> #endif #endif
arch/sparc/include/asm/percpu.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ARCH_SPARC_PERCPU__ #define __ARCH_SPARC_PERCPU__ #include <asm-generic/percpu.h> #endif /* __ARCH_SPARC_PERCPU__ */
arch/sparc/include/asm/percpu_32.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ARCH_SPARC64_PERCPU__ #define __ARCH_SPARC64_PERCPU__ #include <linux/compiler.h> #ifndef BUILD_VDSO register unsigned long __local_per_cpu_offset asm("g5"); #endif #ifdef CONFIG_SMP #include <asm/trap_block.h> #define __per_cpu_offset(__cpu) \ (trap_block[(__cpu)]...
arch/sparc/include/asm/percpu_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_SPARC_PERF_EVENT_H #define __ASM_SPARC_PERF_EVENT_H #ifdef CONFIG_PERF_EVENTS #include <asm/ptrace.h> #define perf_arch_fetch_caller_regs(regs, ip) \ do { \ unsigned long _pstate, _asi, _pil, _i7, _fp; \ __asm__ __volatile__("rdpr %%pstate, %0\n\t" \ ...
arch/sparc/include/asm/perf_event.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_PGALLOC_H #define ___ASM_SPARC_PGALLOC_H #if defined(__sparc__) && defined(__arch64__) #include <asm/pgalloc_64.h> #else #include <asm/pgalloc_32.h> #endif #endif
arch/sparc/include/asm/pgalloc.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC_PGALLOC_H #define _SPARC_PGALLOC_H #include <linux/kernel.h> #include <linux/sched.h> #include <linux/pgtable.h> #include <asm/pgtsrmmu.h> #include <asm/vaddrs.h> #include <asm/page.h> struct page; void *srmmu_get_nocache(int size, int align); void srmmu_free_no...
arch/sparc/include/asm/pgalloc_32.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC64_PGALLOC_H #define _SPARC64_PGALLOC_H #include <linux/kernel.h> #include <linux/sched.h> #include <linux/mm.h> #include <linux/slab.h> #include <asm/spitfire.h> #include <asm/cpudata.h> #include <asm/cacheflush.h> #include <asm/page.h> /* Page table allocation/f...
arch/sparc/include/asm/pgalloc_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_PGTABLE_H #define ___ASM_SPARC_PGTABLE_H #if defined(__sparc__) && defined(__arch64__) #include <asm/pgtable_64.h> #else #include <asm/pgtable_32.h> #endif #endif
arch/sparc/include/asm/pgtable.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC_PGTABLE_H #define _SPARC_PGTABLE_H /* asm/pgtable.h: Defines and functions used to work * with Sparc page tables. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) * Copyright (C) 1998 Jakub Jelinek (jj@sunsite.mff.cuni....
arch/sparc/include/asm/pgtable_32.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * pgtable.h: SpitFire page table operations. * * Copyright 1996,1997 David S. Miller (davem@caip.rutgers.edu) * Copyright 1997,1998 Jakub Jelinek (jj@sunsite.mff.cuni.cz) */ #ifndef _SPARC64_PGTABLE_H #define _SPARC64_PGTABLE_H /* This file contains the functions and def...
arch/sparc/include/asm/pgtable_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * pgtsrmmu.h: SRMMU page table defines and code. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) */ #ifndef _SPARC_PGTSRMMU_H #define _SPARC_PGTSRMMU_H #include <asm/page.h> #ifdef __ASSEMBLER__ #include <asm/thread_info.h> /* TI_UWINMASK for WINDOW_FLUS...
arch/sparc/include/asm/pgtsrmmu.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC64_PIL_H #define _SPARC64_PIL_H /* To avoid some locking problems, we hard allocate certain PILs * for SMP cross call messages that must do a etrap/rtrap. * * A local_irq_disable() does not block the cross call delivery, so * when SMP locking is an issue we resc...
arch/sparc/include/asm/pil.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_PROCESSOR_H #define ___ASM_SPARC_PROCESSOR_H #if defined(__sparc__) && defined(__arch64__) #include <asm/processor_64.h> #else #include <asm/processor_32.h> #endif #endif
arch/sparc/include/asm/processor.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* include/asm/processor.h * * Copyright (C) 1994 David S. Miller (davem@caip.rutgers.edu) */ #ifndef __ASM_SPARC_PROCESSOR_H #define __ASM_SPARC_PROCESSOR_H #include <asm/psr.h> #include <asm/ptrace.h> #include <asm/head.h> #include <asm/signal.h> #include <asm/page.h> /* W...
arch/sparc/include/asm/processor_32.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * include/asm/processor.h * * Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu) */ #ifndef __ASM_SPARC64_PROCESSOR_H #define __ASM_SPARC64_PROCESSOR_H #include <asm/asi.h> #include <asm/pstate.h> #include <asm/ptrace.h> #include <asm/page.h> /* * User lives in...
arch/sparc/include/asm/processor_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ #include <linux/of.h> /* linux/of.h gets to determine #include ordering */ #ifndef _SPARC_PROM_H #define _SPARC_PROM_H #ifdef __KERNEL__ /* * Definitions for talking to the Open Firmware PROM on * Power Macintosh computers. * * Copyright (C) 1996-2005 Paul Mackerras....
arch/sparc/include/asm/prom.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * 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 fields like * PS...
arch/sparc/include/asm/psr.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __SPARC_PTRACE_H #define __SPARC_PTRACE_H #include <uapi/asm/ptrace.h> #if defined(__sparc__) && defined(__arch64__) #ifndef __ASSEMBLER__ #include <linux/compiler.h> #include <linux/threads.h> #include <asm/switch_to.h> static inline int pt_regs_trap_type(struct pt_re...
arch/sparc/include/asm/ptrace.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_SPARC_QRWLOCK_H #define _ASM_SPARC_QRWLOCK_H #include <asm-generic/qrwlock_types.h> #include <asm-generic/qrwlock.h> #endif /* _ASM_SPARC_QRWLOCK_H */
arch/sparc/include/asm/qrwlock.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_SPARC_QSPINLOCK_H #define _ASM_SPARC_QSPINLOCK_H #include <asm-generic/qspinlock_types.h> #include <asm-generic/qspinlock.h> #endif /* _ASM_SPARC_QSPINLOCK_H */
arch/sparc/include/asm/qspinlock.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * ross.h: Ross module specific definitions and defines. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) */ #ifndef _SPARC_ROSS_H #define _SPARC_ROSS_H #include <asm/asi.h> #include <asm/page.h> /* Ross made Hypersparcs have a %psr 'impl' field of '0001'. ...
arch/sparc/include/asm/ross.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * sbi.h: SBI (Sbus Interface on sun4d) definitions * * Copyright (C) 1997 Jakub Jelinek <jj@sunsite.mff.cuni.cz> */ #ifndef _SPARC_SBI_H #define _SPARC_SBI_H #include <asm/obio.h> /* SBI */ struct sbi_regs { /* 0x0000 */ u32 cid; /* Component ID */ /* 0x0004 */ u32 c...
arch/sparc/include/asm/sbi.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC64_SCRATCHPAD_H #define _SPARC64_SCRATCHPAD_H /* Sun4v scratchpad registers, accessed via ASI_SCRATCHPAD. */ #define SCRATCHPAD_MMU_MISS 0x00 /* Shared with OBP - set by OBP */ #define SCRATCHPAD_CPUID 0x08 /* Shared with OBP - set by hypervisor */ #define SCR...
arch/sparc/include/asm/scratchpad.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_SECCOMP_H #define _ASM_SECCOMP_H #include <linux/unistd.h> #define __NR_seccomp_sigreturn_32 __NR_sigreturn #include <asm-generic/seccomp.h> #endif /* _ASM_SECCOMP_H */
arch/sparc/include/asm/seccomp.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __SPARC_SECTIONS_H #define __SPARC_SECTIONS_H /* nothing to see, move along */ #include <asm-generic/sections.h> /* sparc entry point */ extern char _start[]; extern char __leon_1insn_patch[]; extern char __leon_1insn_patch_end[]; #endif
arch/sparc/include/asm/sections.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Just a place holder. */ #ifndef _SPARC_SETUP_H #define _SPARC_SETUP_H #include <linux/interrupt.h> #include <uapi/asm/setup.h> extern char reboot_command[]; #ifdef CONFIG_SPARC32 /* The CPU that was used for booting * Only sun4d + leon may have boot_cpu_id != 0 */ ext...
arch/sparc/include/asm/setup.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC64_SFAFSR_H #define _SPARC64_SFAFSR_H #include <linux/const.h> /* Spitfire Asynchronous Fault Status register, ASI=0x4C VA<63:0>=0x0 */ #define SFAFSR_ME (_AC(1,UL) << SFAFSR_ME_SHIFT) #define SFAFSR_ME_SHIFT 32 #define SFAFSR_PRIV (_AC(1,UL) << SFAFSR_PRIV_SHI...
arch/sparc/include/asm/sfafsr.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_SFP_MACHINE_H #define ___ASM_SPARC_SFP_MACHINE_H #if defined(__sparc__) && defined(__arch64__) #include <asm/sfp-machine_64.h> #else #include <asm/sfp-machine_32.h> #endif #endif
arch/sparc/include/asm/sfp-machine.h
null
null
null
null
null
source
linux
/* Machine-dependent software floating-point definitions. Sparc userland (_Q_*) version. Copyright (C) 1997,1998,1999 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Richard Henderson (rth@cygnus.com), Jakub Jelinek (jj@ultra.linux.cz), David S. Miller (davem@re...
arch/sparc/include/asm/sfp-machine_32.h
null
null
null
null
null
source
linux
/* Machine-dependent software floating-point definitions. Sparc64 kernel version. Copyright (C) 1997,1998,1999 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Richard Henderson (rth@cygnus.com), Jakub Jelinek (jj@ultra.linux.cz) and David S. Miller (davem@redhat...
arch/sparc/include/asm/sfp-machine_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_SHMPARAM_H #define ___ASM_SPARC_SHMPARAM_H #if defined(__sparc__) && defined(__arch64__) #include <asm/shmparam_64.h> #else #include <asm/shmparam_32.h> #endif #endif
arch/sparc/include/asm/shmparam.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASMSPARC_SHMPARAM_H #define _ASMSPARC_SHMPARAM_H #define __ARCH_FORCE_SHMLBA 1 extern int vac_cache_size; #define SHMLBA (vac_cache_size ? vac_cache_size : PAGE_SIZE) #endif /* _ASMSPARC_SHMPARAM_H */
arch/sparc/include/asm/shmparam_32.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASMSPARC64_SHMPARAM_H #define _ASMSPARC64_SHMPARAM_H #include <asm/spitfire.h> #define __ARCH_FORCE_SHMLBA 1 /* attach addr a multiple of this */ #define SHMLBA ((PAGE_SIZE > L1DCACHE_SIZE) ? PAGE_SIZE : L1DCACHE_SIZE) #endif /* _ASMSPARC64_SHMPARAM_H */
arch/sparc/include/asm/shmparam_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __SPARC_SIGCONTEXT_H #define __SPARC_SIGCONTEXT_H #include <asm/ptrace.h> #include <uapi/asm/sigcontext.h> #ifndef __ASSEMBLER__ #define __SUNOS_MAXWIN 31 /* This is what SunOS does, so shall I unless we use new 32bit signals or rt signals. */ struct sigcontext32 { ...
arch/sparc/include/asm/sigcontext.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __SPARC_SIGNAL_H #define __SPARC_SIGNAL_H #ifndef __ASSEMBLER__ #include <linux/personality.h> #include <linux/types.h> #endif #include <uapi/asm/signal.h> #ifndef __ASSEMBLER__ #define __ARCH_HAS_KA_RESTORER #define __ARCH_HAS_SA_RESTORER #endif /* !(__ASSEMBLER__) */...
arch/sparc/include/asm/signal.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_SMP_H #define ___ASM_SPARC_SMP_H #if defined(__sparc__) && defined(__arch64__) #include <asm/smp_64.h> #else #include <asm/smp_32.h> #endif #endif
arch/sparc/include/asm/smp.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* smp.h: Sparc specific SMP stuff. * * Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu) */ #ifndef _SPARC_SMP_H #define _SPARC_SMP_H #include <linux/threads.h> #include <asm/head.h> #ifndef __ASSEMBLER__ #include <linux/cpumask.h> #endif /* __ASSEMBLER__ */ #i...
arch/sparc/include/asm/smp_32.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* smp.h: Sparc64 specific SMP stuff. * * Copyright (C) 1996, 2008 David S. Miller (davem@davemloft.net) */ #ifndef _SPARC64_SMP_H #define _SPARC64_SMP_H #include <linux/threads.h> #include <asm/asi.h> #include <asm/starfire.h> #include <asm/spitfire.h> #ifndef __ASSEMBLER__...
arch/sparc/include/asm/smp_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC64_SPARSEMEM_H #define _SPARC64_SPARSEMEM_H #ifdef __KERNEL__ #include <asm/page.h> #define SECTION_SIZE_BITS 30 #define MAX_PHYSMEM_BITS MAX_PHYS_ADDRESS_BITS #endif /* !(__KERNEL__) */ #endif /* !(_SPARC64_SPARSEMEM_H) */
arch/sparc/include/asm/sparsemem.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_SPINLOCK_H #define ___ASM_SPARC_SPINLOCK_H #if defined(__sparc__) && defined(__arch64__) #include <asm/spinlock_64.h> #else #include <asm/spinlock_32.h> #endif #endif
arch/sparc/include/asm/spinlock.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* spinlock.h: 32-bit Sparc spinlock support. * * Copyright (C) 1997 David S. Miller (davem@caip.rutgers.edu) */ #ifndef __SPARC_SPINLOCK_H #define __SPARC_SPINLOCK_H #ifndef __ASSEMBLER__ #include <asm/psr.h> #include <asm/barrier.h> #include <asm/processor.h> /* for cpu_re...
arch/sparc/include/asm/spinlock_32.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* spinlock.h: 64-bit Sparc spinlock support. * * Copyright (C) 1997 David S. Miller (davem@caip.rutgers.edu) */ #ifndef __SPARC64_SPINLOCK_H #define __SPARC64_SPINLOCK_H #ifndef __ASSEMBLER__ #include <asm/processor.h> #include <asm/barrier.h> #include <asm/qspinlock.h> #in...
arch/sparc/include/asm/spinlock_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __SPARC_SPINLOCK_TYPES_H #define __SPARC_SPINLOCK_TYPES_H #ifdef CONFIG_QUEUED_SPINLOCKS #include <asm-generic/qspinlock_types.h> #else typedef struct { volatile unsigned char lock; } arch_spinlock_t; #define __ARCH_SPIN_LOCK_UNLOCKED { 0 } #endif /* CONFIG_QUEUED_SPIN...
arch/sparc/include/asm/spinlock_types.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* spitfire.h: SpitFire/BlackBird/Cheetah inline MMU operations. * * Copyright (C) 1996 David S. Miller (davem@davemloft.net) */ #ifndef _SPARC64_SPITFIRE_H #define _SPARC64_SPITFIRE_H #ifdef CONFIG_SPARC64 #include <asm/asi.h> /* The following register addresses are access...
arch/sparc/include/asm/spitfire.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC64_STACKTRACE_H #define _SPARC64_STACKTRACE_H void stack_trace_flush(void); #endif /* _SPARC64_STACKTRACE_H */
arch/sparc/include/asm/stacktrace.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * starfire.h: Group all starfire specific code together. * * Copyright (C) 2000 Anton Blanchard (anton@samba.org) */ #ifndef _SPARC64_STARFIRE_H #define _SPARC64_STARFIRE_H #ifndef __ASSEMBLER__ extern int this_is_starfire; void check_if_starfire(void); void starfire_ho...
arch/sparc/include/asm/starfire.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_STRING_H #define ___ASM_SPARC_STRING_H #if defined(__sparc__) && defined(__arch64__) #include <asm/string_64.h> #else #include <asm/string_32.h> #endif /* First the mem*() things. */ #define __HAVE_ARCH_MEMMOVE void *memmove(void *, const void *, __kernel_siz...
arch/sparc/include/asm/string.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * string.h: External definitions for optimized assembly string * routines for the Linux Kernel. * * Copyright (C) 1995,1996 David S. Miller (davem@caip.rutgers.edu) * Copyright (C) 1996,1997 Jakub Jelinek (jj@sunsite.mff.cuni.cz) */ #ifndef __SPARC_STRING_H__ #...
arch/sparc/include/asm/string_32.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * string.h: External definitions for optimized assembly string * routines for the Linux Kernel. * * Copyright (C) 1995,1996 David S. Miller (davem@caip.rutgers.edu) * Copyright (C) 1996,1997,1999 Jakub Jelinek (jakub@redhat.com) */ #ifndef __SPARC64_STRING_H__ ...
arch/sparc/include/asm/string_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * include/asm/sunbpp.h */ #ifndef _ASM_SPARC_SUNBPP_H #define _ASM_SPARC_SUNBPP_H struct bpp_regs { /* DMA registers */ __volatile__ __u32 p_csr; /* DMA Control/Status Register */ __volatile__ __u32 p_addr; /* Address Register */ __volatile__ __u32 p_bcnt; /* Byt...
arch/sparc/include/asm/sunbpp.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* swift.h: Specific definitions for the _broken_ Swift SRMMU * MMU module. * * Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu) */ #ifndef _SPARC_SWIFT_H #define _SPARC_SWIFT_H /* Swift is so brain damaged, here is the mmu control register. */ #define SW...
arch/sparc/include/asm/swift.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_SWITCH_TO_H #define ___ASM_SPARC_SWITCH_TO_H #if defined(__sparc__) && defined(__arch64__) #include <asm/switch_to_64.h> #else #include <asm/switch_to_32.h> #endif #endif
arch/sparc/include/asm/switch_to.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __SPARC_SWITCH_TO_H #define __SPARC_SWITCH_TO_H #include <asm/smp.h> extern struct thread_info *current_set[NR_CPUS]; /* * Flush windows so that the VM switch which follows * would not pull the stack from under us. * * SWITCH_ENTER and SWITCH_DO_LAZY_FPU do not work...
arch/sparc/include/asm/switch_to_32.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __SPARC64_SWITCH_TO_64_H #define __SPARC64_SWITCH_TO_64_H #include <asm/visasm.h> #define prepare_arch_switch(next) \ do { \ flushw_all(); \ } while (0) /* See what happens when you design the chip correctly? * * We tell gcc we clobber all non-fixed-usage...
arch/sparc/include/asm/switch_to_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_SPARC_SYSCALL_H #define __ASM_SPARC_SYSCALL_H #include <uapi/linux/audit.h> #include <linux/kernel.h> #include <linux/compat.h> #include <linux/sched.h> #include <asm/ptrace.h> #include <asm/thread_info.h> /* * The syscall table always contains 32 bit pointers sin...
arch/sparc/include/asm/syscall.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC64_SYSCALLS_H #define _SPARC64_SYSCALLS_H struct pt_regs; asmlinkage long sparc_fork(struct pt_regs *regs); asmlinkage long sparc_vfork(struct pt_regs *regs); asmlinkage long sparc_clone(struct pt_regs *regs); asmlinkage long sparc_clone3(struct pt_regs *regs); #e...
arch/sparc/include/asm/syscalls.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC_TERMBITS_H #define _SPARC_TERMBITS_H #include <uapi/asm/termbits.h> #define VMIN 16 #define VTIME 17 #endif /* !(_SPARC_TERMBITS_H) */
arch/sparc/include/asm/termbits.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_THREAD_INFO_H #define ___ASM_SPARC_THREAD_INFO_H #if defined(__sparc__) && defined(__arch64__) #include <asm/thread_info_64.h> #else #include <asm/thread_info_32.h> #endif #endif
arch/sparc/include/asm/thread_info.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * thread_info.h: sparc low-level thread information * adapted from the ppc version by Pete Zaitcev, which was * adapted from the i386 version by Paul Mackerras * * Copyright (C) 2002 David Howells (dhowells@redhat.com) * Copyright (c) 2002 Pete Zaitcev (zaitcev@yahoo.co...
arch/sparc/include/asm/thread_info_32.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* thread_info.h: sparc64 low-level thread information * * Copyright (C) 2002 David S. Miller (davem@redhat.com) */ #ifndef _ASM_THREAD_INFO_H #define _ASM_THREAD_INFO_H #ifdef __KERNEL__ #define NSWINS 7 #define TI_FLAG_BYTE_FAULT_CODE 0 #define TI_FLAG_FAULT_CODE_SHIFT...
arch/sparc/include/asm/thread_info_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_TIMER_H #define ___ASM_SPARC_TIMER_H #if defined(__sparc__) && defined(__arch64__) #include <asm/timer_64.h> #else #include <asm/timer_32.h> #endif #endif
arch/sparc/include/asm/timer.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * timer.h: Definitions for the timer chips on the Sparc. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) */ #ifndef _SPARC_TIMER_H #define _SPARC_TIMER_H #include <linux/clocksource.h> #include <linux/irqreturn.h> #include <asm-generic/percpu.h> #inclu...
arch/sparc/include/asm/timer_32.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* timer.h: System timer definitions for sun5. * * Copyright (C) 1997, 2008 David S. Miller (davem@davemloft.net) */ #ifndef _SPARC64_TIMER_H #define _SPARC64_TIMER_H #include <uapi/asm/asi.h> #include <linux/types.h> #include <linux/init.h> /* The most frequently accessed f...
arch/sparc/include/asm/timer_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_TIMEX_H #define ___ASM_SPARC_TIMEX_H #if defined(__sparc__) && defined(__arch64__) #include <asm/timex_64.h> #else #include <asm/timex_32.h> #endif #endif
arch/sparc/include/asm/timex.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * linux/include/asm/timex.h * * sparc architecture timex specifications */ #ifndef _ASMsparc_TIMEX_H #define _ASMsparc_TIMEX_H #define CLOCK_TICK_RATE 1193180 /* Underlying HZ */ #include <asm-generic/timex.h> #endif
arch/sparc/include/asm/timex_32.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * linux/include/asm/timex.h * * sparc64 architecture timex specifications */ #ifndef _ASMsparc64_TIMEX_H #define _ASMsparc64_TIMEX_H #include <asm/timer.h> #define CLOCK_TICK_RATE 1193180 /* Underlying HZ */ /* Getting on the cycle counter on sparc64. */ typedef unsigned...
arch/sparc/include/asm/timex_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_TLB_H #define ___ASM_SPARC_TLB_H #if defined(__sparc__) && defined(__arch64__) #include <asm/tlb_64.h> #else #include <asm/tlb_32.h> #endif #endif
arch/sparc/include/asm/tlb.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC_TLB_H #define _SPARC_TLB_H #include <asm-generic/tlb.h> #endif /* _SPARC_TLB_H */
arch/sparc/include/asm/tlb_32.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC64_TLB_H #define _SPARC64_TLB_H #include <linux/swap.h> #include <linux/pagemap.h> #include <asm/tlbflush.h> #include <asm/mmu_context.h> #ifdef CONFIG_SMP void smp_flush_tlb_pending(struct mm_struct *, unsigned long, unsigned long *); #endif #ifdef CONFIG_S...
arch/sparc/include/asm/tlb_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_TLBFLUSH_H #define ___ASM_SPARC_TLBFLUSH_H #if defined(__sparc__) && defined(__arch64__) #include <asm/tlbflush_64.h> #else #include <asm/tlbflush_32.h> #endif #endif
arch/sparc/include/asm/tlbflush.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC_TLBFLUSH_H #define _SPARC_TLBFLUSH_H #include <asm/cachetlb_32.h> #define flush_tlb_all() \ sparc32_cachetlb_ops->tlb_all() #define flush_tlb_mm(mm) \ sparc32_cachetlb_ops->tlb_mm(mm) #define flush_tlb_range(vma, start, end) \ sparc32_cachetlb_ops->tlb_range(vm...
arch/sparc/include/asm/tlbflush_32.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC64_TLBFLUSH_H #define _SPARC64_TLBFLUSH_H #include <asm/mmu_context.h> /* TSB flush operations. */ #define TLB_BATCH_NR 192 struct tlb_batch { unsigned int hugepage_shift; struct mm_struct *mm; unsigned long tlb_nr; unsigned long vaddrs[TLB_BATCH_NR]; }; voi...
arch/sparc/include/asm/tlbflush_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_TOPOLOGY_H #define ___ASM_SPARC_TOPOLOGY_H #if defined(__sparc__) && defined(__arch64__) #include <asm/topology_64.h> #else #include <asm/topology_32.h> #endif #endif
arch/sparc/include/asm/topology.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_SPARC_TOPOLOGY_H #define _ASM_SPARC_TOPOLOGY_H #include <asm-generic/topology.h> #endif /* _ASM_SPARC_TOPOLOGY_H */
arch/sparc/include/asm/topology_32.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_SPARC64_TOPOLOGY_H #define _ASM_SPARC64_TOPOLOGY_H #ifdef CONFIG_NUMA #include <asm/mmzone.h> static inline int cpu_to_node(int cpu) { return numa_cpu_lookup_table[cpu]; } #define cpumask_of_node(node) ((node) == -1 ? \ cpu_all_mask : \ ...
arch/sparc/include/asm/topology_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC_TRAP_BLOCK_H #define _SPARC_TRAP_BLOCK_H #include <linux/threads.h> #include <asm/hypervisor.h> #include <asm/asi.h> #ifndef __ASSEMBLER__ /* Trap handling code needs to get at a few critical values upon * trap entry and to process TSB misses. These cannot be ...
arch/sparc/include/asm/trap_block.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * traps.h: Format of entries for the Sparc trap table. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) */ #ifndef _SPARC_TRAPS_H #define _SPARC_TRAPS_H #include <uapi/asm/traps.h> #ifndef __ASSEMBLER__ /* This is for V8 compliant Sparc CPUS */ struct tt_e...
arch/sparc/include/asm/traps.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC64_TSB_H #define _SPARC64_TSB_H /* The sparc64 TSB is similar to the powerpc hashtables. It's a * power-of-2 sized table of TAG/PTE pairs. The cpu precomputes * pointers into this table for 8K and 64K page sizes, and also a * comparison TAG based upon the virtu...
arch/sparc/include/asm/tsb.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * tsunami.h: Module specific definitions for Tsunami V8 Sparcs * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) */ #ifndef _SPARC_TSUNAMI_H #define _SPARC_TSUNAMI_H #include <asm/asi.h> /* The MMU control register on the Tsunami: * * -------------------...
arch/sparc/include/asm/tsunami.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC64_TTABLE_H #define _SPARC64_TTABLE_H #include <asm/utrap.h> #include <asm/pil.h> #ifdef __ASSEMBLER__ #include <asm/thread_info.h> #endif #define BOOT_KERNEL b sparc64_boot; nop; nop; nop; nop; nop; nop; nop; /* We need a "cleaned" instruction... */ #define CLEA...
arch/sparc/include/asm/ttable.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * turbosparc.h: Defines specific to the TurboSparc module. * This is SRMMU stuff. * * Copyright (C) 1997 Jakub Jelinek (jj@sunsite.mff.cuni.cz) */ #ifndef _SPARC_TURBOSPARC_H #define _SPARC_TURBOSPARC_H #include <asm/asi.h> #include <asm/pgtsrmmu.h> /* Bits i...
arch/sparc/include/asm/turbosparc.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_UACCESS_H #define ___ASM_SPARC_UACCESS_H #include <asm/extable.h> #if defined(__sparc__) && defined(__arch64__) #include <asm/uaccess_64.h> #else #include <asm/uaccess_32.h> #endif long strncpy_from_user(char *dest, const char __user *src, long count); #en...
arch/sparc/include/asm/uaccess.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * uaccess.h: User space memore access functions. * * Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu) * Copyright (C) 1996,1997 Jakub Jelinek (jj@sunsite.mff.cuni.cz) */ #ifndef _ASM_UACCESS_H #define _ASM_UACCESS_H #include <linux/compiler.h> #include <linux/s...
arch/sparc/include/asm/uaccess_32.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_UACCESS_H #define _ASM_UACCESS_H /* * User space memory access functions */ #include <linux/compiler.h> #include <linux/string.h> #include <linux/mm_types.h> #include <asm/asi.h> #include <asm/spitfire.h> #include <asm/pgtable.h> #include <asm/processor.h> #inclu...
arch/sparc/include/asm/uaccess_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * 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) 1995, 2007 David S. Mil...
arch/sparc/include/asm/unistd.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC64_UPA_H #define _SPARC64_UPA_H #include <asm/asi.h> /* UPA level registers and defines. */ /* UPA Config Register */ #define UPA_CONFIG_RESV 0xffffffffc0000000 /* Reserved. */ #define UPA_CONFIG_PCON 0x000000003fc00000 /* Depth of various sys...
arch/sparc/include/asm/upa.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _ASM_UPROBES_H #define _ASM_UPROBES_H /* * User-space Probes (UProbes) for sparc * * Copyright (C) 2013 Oracle, Inc. * * Authors: * Jose E. Marchesi <jose.marchesi@oracle.com> * Eric Saint Etienne <eric.saint.etienne@oracle.com> */ typedef u32 uprobe_...
arch/sparc/include/asm/uprobes.h
null
null
null
null
null
source
linux
#ifndef _SPARC_USER_H #define _SPARC_USER_H /* Nothing to define. */ #endif /* !(_SPARC_USER_H) */
arch/sparc/include/asm/user.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC_VADDRS_H #define _SPARC_VADDRS_H #include <asm/head.h> /* * asm/vaddrs.h: Here we define the virtual addresses at * which important things will be mapped. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) * Copyright (C) 20...
arch/sparc/include/asm/vaddrs.h
null
null
null
null
null