freebsd-dev/sys/sun4v/include
Nathan Whitehorn 94b4a038a1 Adapt parts of the sparc64 Open Firmware bus enumeration code (in particular,
the code for parsing interrupt maps) to PowerPC and reflect their new MI
status by moving them to the shared dev/ofw directory.

This commit also modifies the OFW PCI enumeration procedure on PowerPC to
allow the bus to find non-firmware-enumerated devices that Apple likes to add,
and adds some useful Open Firmware properties (compat and name) to the pnpinfo
string of children on OFW SBus, EBus, PCI, and MacIO links. Because of the
change to PCI enumeration on PowerPC, X has started working again on PPC
machines with Grackle hostbridges.

Reviewed by:	marius
Obtained from:	sparc64
2008-12-15 15:31:10 +00:00
..
cddl add declaration for new helper function 2006-12-18 07:25:26 +00:00
_bus.h
_inttypes.h
_limits.h
_stdint.h
_types.h
asi.h Work around Cheetah+ erratum 34 (USIII+ erratum #10) by relocating 2008-09-10 20:07:08 +00:00
asm.h In contrast to the non-obvious and flexible nature of the optimized bcopy in t1_copy.S (which 2006-11-23 02:25:16 +00:00
asmacros.h add trap tracing to cpu mondo handler and tsb miss handler 2006-11-15 03:16:30 +00:00
atomic.h - bump __FreeBSD version to reflect added buf_ring, memory barriers, 2008-11-22 05:55:56 +00:00
bus_dma.h
bus_private.h
bus.h - Rename UPA_BUS_SPACE to NEXUS_BUS_SPACE; besides an UPA bus, nexus(4) 2007-01-18 18:32:26 +00:00
ccr.h
clock.h Remove two variables which are handled MI now. 2008-03-26 20:28:52 +00:00
cpu.h Remove old sysctl stuff which is long gone in other arch's. 2008-03-26 13:03:51 +00:00
cpufunc.h MUTEX_PROFILING has been generalized to LOCK_PROFILING. We now profile 2006-11-11 03:18:07 +00:00
db_machdep.h
elf.h The relocation definitions are now defined in the machine independent 2006-11-03 23:03:46 +00:00
endian.h In the replacement text of the __bswapN_const() macros encapsulate the 2006-10-30 21:50:11 +00:00
exec.h
float.h
floatingpoint.h
fp.h
frame.h Convert the remainder of the low hanging fruits regarding including 2007-01-19 11:15:34 +00:00
fsr.h Convert the remainder of the low hanging fruits regarding including 2007-01-19 11:15:34 +00:00
gdb_machdep.h
hv_api.h Declare hypervisor system initiated reset function 2006-11-26 22:47:52 +00:00
hv_pcivar.h
hviommu.h
hypervisorvar.h add interrupt cookie hypervisor functions 2006-11-26 04:37:49 +00:00
idprom.h
ieee.h
ieeefp.h
in_cksum.h Given that sun4u uses sparc64/sparc64/in_cksum.c, use the sparc64 2008-06-25 21:03:26 +00:00
instr.h
intr_machdep.h o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
kdb.h Add kdb_cpu_sync_icache(), intended to synchronize instruction 2007-06-09 21:55:17 +00:00
kerneldump.h
ktr.h
limits.h
lsu.h
md_var.h
mdesc_bus_subr.h
mdesc_bus.h
memdev.h Remove the unused major/minor numbers from iodev and memdev. 2008-06-25 07:45:31 +00:00
metadata.h
mmu.h
mutex.h
nexusvar.h
ofw_machdep.h
ofw_mem.h
ofw_nexus.h
param.h When building a kernel module, define MAXCPU the same as SMP so 2008-03-27 05:03:26 +00:00
pcb.h Convert the remainder of the low hanging fruits regarding including 2007-01-19 11:15:34 +00:00
pcpu.h Export 'struct pcpu' to userland w/o requiring _KERNEL. A few ports 2008-08-19 19:53:52 +00:00
pmap.h Delete the unused/not really used sparc64 (as in sun4u) cache.h, 2007-05-20 13:06:45 +00:00
pmc_mdep.h Add stubs to unbreak LINT. 2007-12-07 13:45:47 +00:00
proc.h
profile.h - Add bits for userland profiling. For sun4u this is compile-tested only. 2007-05-11 23:43:55 +00:00
pstate.h
ptrace.h
reg.h
reloc.h Remove 3rd clause, renumber, ok per email 2007-01-12 07:26:21 +00:00
resource.h
runq.h
sc_machdep.h
setjmp.h Remove 3rd clause, renumber, ok per email 2007-01-12 07:26:21 +00:00
sf_buf.h
sigframe.h
signal.h
smp.h Remove ipi_all() and ipi_self() as the former hasn't been used at 2008-09-28 18:34:14 +00:00
stack.h Break out stack(9) from ddb(4): 2007-12-02 20:40:35 +00:00
stdarg.h __builtin_stdarg_start was renamed to __builtin_va_start a long 2007-11-19 07:34:57 +00:00
sun4v_cpufunc.h - Comment most of the remaining hypercalls in hcall.S 2006-11-24 05:27:49 +00:00
sysarch.h
tick.h
tlb.h
trap.h - Restore the machine independency of sys/dev/ofw/openfirm.{c,h} by 2007-06-16 22:30:38 +00:00
tsb.h - separate out rounding memory ranges to 4M boundaries from OFW memory allocation bug workaround 2006-12-04 19:35:40 +00:00
tstate.h
tte_hash.h add support for resizing the the tte_hash of multi-threaded processes 2006-11-22 04:33:34 +00:00
tte.h - Reimplement {d,i}tlb_enter() and {d,i}tlb_va_to_pa() in C. There's 2008-08-07 22:46:25 +00:00
ucontext.h
upa.h Given that these sparc64 (as in sun4u) specific headers only exist 2007-05-20 13:19:32 +00:00
utrap.h Convert the remainder of the low hanging fruits regarding including 2007-01-19 11:15:34 +00:00
varargs.h
ver.h Given that these sparc64 (as in sun4u) specific headers only exist 2007-05-20 13:19:32 +00:00
vmparam.h Add configuration knobs for the superpage reservation system. Initially, 2007-12-27 16:45:39 +00:00
watch.h
wstate.h