003 File Manager
Current Path:
/usr/src/sys/powerpc/include
usr
/
src
/
sys
/
powerpc
/
include
/
📁
..
📄
_align.h
(2.41 KB)
📄
_bus.h
(1.82 KB)
📄
_inttypes.h
(8.44 KB)
📄
_limits.h
(4.08 KB)
📄
_stdint.h
(5.97 KB)
📄
_types.h
(4.82 KB)
📄
altivec.h
(1.72 KB)
📄
asm.h
(7.62 KB)
📄
atomic.h
(27.49 KB)
📄
bat.h
(6.28 KB)
📄
bus.h
(18.04 KB)
📄
bus_dma.h
(1.63 KB)
📄
clock.h
(319 B)
📄
counter.h
(3.92 KB)
📄
cpu.h
(5.13 KB)
📄
cpufunc.h
(5.41 KB)
📄
db_machdep.h
(2.67 KB)
📄
dbdma.h
(5.36 KB)
📄
dump.h
(2.26 KB)
📄
efi.h
(272 B)
📄
elf.h
(4.46 KB)
📄
endian.h
(4.86 KB)
📄
exec.h
(1.69 KB)
📄
float.h
(3.71 KB)
📄
floatingpoint.h
(1.72 KB)
📄
fpu.h
(2.97 KB)
📄
frame.h
(3.79 KB)
📄
gdb_machdep.h
(3.36 KB)
📄
hid.h
(9.15 KB)
📄
ieee.h
(4.34 KB)
📄
ieeefp.h
(1.28 KB)
📄
ifunc.h
(2.49 KB)
📄
in_cksum.h
(2.86 KB)
📄
intr_machdep.h
(2.37 KB)
📄
kdb.h
(1.86 KB)
📄
limits.h
(1.9 KB)
📄
machdep.h
(1.61 KB)
📄
md_var.h
(2.3 KB)
📄
memdev.h
(1.6 KB)
📄
metadata.h
(1.64 KB)
📄
minidump.h
(1.84 KB)
📄
mmuvar.h
(8.7 KB)
📄
ofw_machdep.h
(2.28 KB)
📄
openpicreg.h
(4.52 KB)
📄
openpicvar.h
(2.96 KB)
📄
param.h
(5.03 KB)
📄
pcb.h
(4.06 KB)
📄
pcpu.h
(5.53 KB)
📄
pcpu_aux.h
(1.94 KB)
📄
pio.h
(7.61 KB)
📄
platform.h
(2.82 KB)
📄
platformvar.h
(2.92 KB)
📄
pmap.h
(11.4 KB)
📄
pmc_mdep.h
(2.24 KB)
📄
proc.h
(2.7 KB)
📄
procctl.h
(62 B)
📄
profile.h
(6.23 KB)
📄
psl.h
(4.46 KB)
📄
pte.h
(14.01 KB)
📄
ptrace.h
(1.87 KB)
📄
reg.h
(1.68 KB)
📄
reloc.h
(1.6 KB)
📄
resource.h
(1.91 KB)
📄
rtas.h
(2.41 KB)
📄
runq.h
(2.08 KB)
📄
sc_machdep.h
(2.41 KB)
📄
setjmp.h
(711 B)
📄
sigframe.h
(1.69 KB)
📄
signal.h
(2.2 KB)
📄
slb.h
(3.4 KB)
📄
smp.h
(2.07 KB)
📄
spr.h
(45.73 KB)
📄
sr.h
(2.37 KB)
📄
stack.h
(1.16 KB)
📄
stdarg.h
(1.58 KB)
📄
sysarch.h
(1.8 KB)
📄
tlb.h
(5.18 KB)
📄
trap.h
(6.26 KB)
📄
ucontext.h
(3.28 KB)
📄
vdso.h
(1.62 KB)
📄
vm.h
(1.78 KB)
📄
vmparam.h
(9.21 KB)
Editing: openpicreg.h
/*- * SPDX-License-Identifier: BSD-3-Clause * * Copyright (c) 2000 Tsubai Masanari. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * from NetBSD: openpicreg.h,v 1.3 2001/08/30 03:08:52 briggs Exp * $FreeBSD$ */ /* * Size of OpenPIC register space */ #define OPENPIC_SIZE 0x40000 /* * Per Processor Registers [private access] (0x00000 - 0x00fff) */ /* IPI dispatch command reg */ #define OPENPIC_IPI_DISPATCH(ipi) (0x40 + (ipi) * 0x10) /* current task priority reg */ #define OPENPIC_TPR 0x80 #define OPENPIC_TPR_MASK 0x0000000f #define OPENPIC_WHOAMI 0x90 /* interrupt acknowledge reg */ #define OPENPIC_IACK 0xa0 /* end of interrupt reg */ #define OPENPIC_EOI 0xb0 /* * Global registers (0x01000-0x0ffff) */ /* feature reporting reg 0 */ #define OPENPIC_FEATURE 0x1000 #define OPENPIC_FEATURE_VERSION_MASK 0x000000ff #define OPENPIC_FEATURE_LAST_CPU_MASK 0x00001f00 #define OPENPIC_FEATURE_LAST_CPU_SHIFT 8 #define OPENPIC_FEATURE_LAST_IRQ_MASK 0x07ff0000 #define OPENPIC_FEATURE_LAST_IRQ_SHIFT 16 /* global config reg 0 */ #define OPENPIC_CONFIG 0x1020 #define OPENPIC_CONFIG_RESET 0x80000000 #define OPENPIC_CONFIG_8259_PASSTHRU_DISABLE 0x20000000 /* interrupt configuration mode (direct or serial) */ #define OPENPIC_ICR 0x1030 #define OPENPIC_ICR_SERIAL_MODE (1 << 27) #define OPENPIC_ICR_SERIAL_RATIO_MASK (0x7 << 28) #define OPENPIC_ICR_SERIAL_RATIO_SHIFT 28 /* vendor ID */ #define OPENPIC_VENDOR_ID 0x1080 /* processor initialization reg */ #define OPENPIC_PROC_INIT 0x1090 /* IPI vector/priority reg */ #define OPENPIC_IPI_VECTOR(ipi) (0x10a0 + (ipi) * 0x10) /* spurious intr. vector */ #define OPENPIC_SPURIOUS_VECTOR 0x10e0 /* Timer registers */ #define OPENPIC_TIMERS 4 #define OPENPIC_TFREQ 0x10f0 #define OPENPIC_TCNT(t) (0x1100 + (t) * 0x40) #define OPENPIC_TBASE(t) (0x1110 + (t) * 0x40) #define OPENPIC_TVEC(t) (0x1120 + (t) * 0x40) #define OPENPIC_TDST(t) (0x1130 + (t) * 0x40) /* * Interrupt Source Configuration Registers (0x10000 - 0x1ffff) */ /* interrupt vector/priority reg */ #define OPENPIC_SRC_VECTOR_COUNT 64 #ifndef OPENPIC_SRC_VECTOR #define OPENPIC_SRC_VECTOR(irq) (0x10000 + (irq) * 0x20) #endif #define OPENPIC_SENSE_LEVEL 0x00400000 #define OPENPIC_SENSE_EDGE 0x00000000 #define OPENPIC_POLARITY_POSITIVE 0x00800000 #define OPENPIC_POLARITY_NEGATIVE 0x00000000 #define OPENPIC_IMASK 0x80000000 #define OPENPIC_ACTIVITY 0x40000000 #define OPENPIC_PRIORITY_MASK 0x000f0000 #define OPENPIC_PRIORITY_SHIFT 16 #define OPENPIC_VECTOR_MASK 0x000000ff /* interrupt destination cpu */ #ifndef OPENPIC_IDEST #define OPENPIC_IDEST(irq) (0x10010 + (irq) * 0x20) #endif /* * Per Processor Registers [global access] (0x20000 - 0x3ffff) */ #define OPENPIC_PCPU_BASE(cpu) (0x20000 + (cpu) * 0x1000) #define OPENPIC_PCPU_IPI_DISPATCH(cpu, ipi) \ (OPENPIC_PCPU_BASE(cpu) + OPENPIC_IPI_DISPATCH(ipi)) #define OPENPIC_PCPU_TPR(cpu) \ (OPENPIC_PCPU_BASE(cpu) + OPENPIC_TPR) #define OPENPIC_PCPU_WHOAMI(cpu) \ (OPENPIC_PCPU_BASE(cpu) + OPENPIC_WHOAMI) #define OPENPIC_PCPU_IACK(cpu) \ (OPENPIC_PCPU_BASE(cpu) + OPENPIC_IACK) #define OPENPIC_PCPU_EOI(cpu) \ (OPENPIC_PCPU_BASE(cpu) + OPENPIC_EOI)
Upload File
Create Folder