summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/include
AgeCommit message (Collapse)Author
2006-06-29Fix PMAP_PREFER and make it use VA_ALIAS_MASK to prevent me from breakingMark Kettenis
it again. ok miod@, jason@
2006-06-21add the machdep.kbdreset logic to sparc64 (stuff to use it is coming)Jason Wright
2006-06-21grr... missed this... nuke SUN4U stuff here, tooJason Wright
2006-06-07Remove unused bus_space_probe().Miod Vallat
2006-06-02All I wanted was to fix the bogus PG_SZ macro, but this is better:Miod Vallat
Do not try to map the message buffer with large pages, it's just as easy to simply use as many 8KB pages as necessary. From NetBSD.
2006-06-02feild -> fieldMiod Vallat
2006-05-31It's bit 13 that's causing the address aliasing in the cache, not bit 14.Mark Kettenis
ok jason@
2006-05-31extend the bootpath values to 64bits, and deal with falloutJason Wright
extend str2hex to handle long's, and teach it that strings starting with 'w', consisting of hex digits are really just hex digits match fp to scsibus (fiber port) match fiber channel portwwn/lun to it's bootpath variables result: with a small change to isp(mailed to mjacob) we can correctly autoconf with a boot path of: /pci@8,600000/SUNW,qlc@4/fp@0,0/disk@w21000004cf948498,0:a/bsd ie. schizo/ isp/ scsisbus/disk with port WWN of 21...98, lun 0, partition a
2006-05-20Put explicit barriers in in-line spl functions.Miod Vallat
2006-05-07Missing license block; from art@Miod Vallat
2006-04-09#ifdef lint wraps for va_startTheo de Raadt
2006-03-19rev 1.86Brad Smith
make the "generic" PCI bus enumeration code the standard case which gets used if nothing else is defined in MD headers, introduce a "PCI_MACHDEP_ENUMERATE_BUS" CPP definition which can be used by MD headers (just 1 port atm) to plug in special code rev 1.62 * Implement a machine-dependent pci_enumerate_bus() for sparc64 which uses OFW device nodes to enumerate the bus. When a PCI bus that is behind a bridge is attached, pci_attach_hook() allocates a new PCI chipset tag for the new bus and sets it's "curnode" to the OFW node of the bridge. This is used as a starting point when enumerating that bus. Root busses get the OFW node of the host bridge (psycho). rev 1.59 Split the code that enumerates the PCI bus and that actually probes for a device into two functions: * pci_probe_device() actually probes/attaches the device specified by the provide pcitag_t. * pci_enumerate_bus() enumerates the bus, and calls pci_probe_device() for each device on the bus. A pci_enumerate_bus_generic() is provided which implements the old method of doing this: If something found at dev0/func0, determine number of functions and probe each one. From NetBSD ok kettenis@ Tested on a good number of amd64/i386/macppc/sparc64 systems
2006-03-19remove unused bdbtofsb(bn) macroMartin Reindl
found by drahn@
2006-03-12Previous fix was half-done, move the wsscreen_list array into the softcMiod Vallat
as well.
2006-03-12When attaching a wsdisplay, the wsscreen_list structure can not be on theMiod Vallat
stack; found the hard way by Stefano <stefano@merlinobbs.net>.
2006-03-12remove splimp.Brad Smith
2006-03-04<sparc64/dev/upavar.h> is unused except for struct upa_reg for autoconf, soMiod Vallat
move it to <machine/autoconf.h>.
2006-02-22Remove unused probeset() function.Miod Vallat
2006-02-22Remove long unused ELF{32,64}_MACHDEP macros.Miod Vallat
2006-01-08Expose struct sigcontext, struct sigstat and struct sigaltstack for XPG4.2Todd C. Miller
2006-01-06Don't redefine SIZE_MAXTodd C. Miller
2006-01-06Adapt things to use __type_t instead of _BSD_TYPE_T_Todd C. Miller
Add new sys/_types.h header Include machine/_types.h or sys/_types.h where applicable
2006-01-06Merge machine/ansi.h and machine/types.h into machine/_types.h andTodd C. Miller
rename the types using the __ protected namespace (e.g. __size_t). Idea from FreeBSD.
2005-12-30Remove unused COMPAT_NETBSD32 block and get rid of register{32,64}_tTodd C. Miller
which are now unused. Tested and OK miod@
2005-12-28Remove dead cruft.Miod Vallat
2005-12-18Don't include cdefs.h if _LOCORE is defined and hide some more definesTodd C. Miller
unless __BSD_VISIBLE or _LOCORE are set. OK deraadt@
2005-12-14convert _FOO_SOURCE -> __FOO_VISIBLE in machine. OK deraadt@Todd C. Miller
2005-12-13First step in include files overhaul. Use __FOO_VISIBLE (as definedTodd C. Miller
in sys/cdefs.h) instead of _FOO_SOURCE. Also fix several namespace pollution issues, including the byte order defines. OK deraadt@
2005-12-12Nuke unused pmap_from_phys_address().Miod Vallat
2005-11-24add lint-specific hacks. at the same time, clean out a lot of ancientTheo de Raadt
cruft for old compilers and environments. there may be a 2nd round of polishing after this; ok miod and others
2005-11-11Remove machdep.booted_kernel sysctl of questionable usefulness.Miod Vallat
ok deraadt@
2005-10-24Mach-macro freeMartin Reindl
2005-09-21isbad() is only used on SMD disks on sparc; remove it on other platforms.Miod Vallat
2005-09-12Change the NKMEMPAGES range to 4-64MB for 32bit arches, and 8-128MB for 64bitMiod Vallat
arches; except on sparc where the range is 4-8 for !sun4m and 4-64 for sun4m, selected at runtime.
2005-09-08make comments match the fact that we are on sun4u, plus minor cleanupMartin Reindl
ok mickey@
2005-09-04remove unused NetBSD pci_intr_evcnt() function.Brad Smith
2005-07-31Get rid of unused SINCR and SSIZE constants.Miod Vallat
2005-07-10remove two unused flagsBrad Smith
2005-07-09Implement _bus_dmamem_mmap instead of just calling panic();Robert Nagy
This is needed by bktr(4). ok mickey@ miod@
2005-06-29some pendantic stuff from henricTheo de Raadt
2005-06-29one PSR_ variable stayed; from henricTheo de Raadt
2005-06-29remove v7/v8 stuff; from henricTheo de Raadt
2005-06-282 more bits of PA in the TLB entries when you get to ultrasparc3; from henricTheo de Raadt
2005-05-31IPL_SCHED should block statclock on architectures where the schedulerArtur Grabowski
is clocked by the statclock. miod@ ok
2005-05-29sched work by niklas and art backed out; causes panicsTheo de Raadt
2005-05-25This patch is mortly art's work and was done *a year* ago. Art wants to thankNiklas Hallqvist
everyone for the prompt review and ok of this work ;-) Yeah, that includes me too, or maybe especially me. I am sorry. Change the sched_lock to a mutex. This fixes, among other things, the infamous "telnet localhost &" problem. The real bug in that case was that the sched_lock which is by design a non-recursive lock, was recursively acquired, and not enough releases made us hold the lock in the idle loop, blocking scheduling on the other processors. Some of the other processors would hold the biglock though, which made it impossible for cpu 0 to enter the kernel... A nice deadlock. Let me just say debugging this for days just to realize that it was all fixed in an old diff noone ever ok'd was somewhat of an anti-climax. This diff also changes splsched to be correct for all our architectures.
2005-04-26Remove unused hooks for periodic pcons polling.Miod Vallat
2005-04-19nothing uses spllowersoftclock() anymoreMichael Shalayeff
2005-04-14internal _BSD_WCTRANS_T_, _BSD_MSTATE_T_, _BSD_WCTYPE_T_ types.Marc Espie
2005-04-11use MD #define to choose stackgap size per-architecture. on sparc, specialTheo de Raadt
case sun4c/sun4 -- because address space is more constrained