summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/include
AgeCommit message (Collapse)Author
2003-03-21install a real handler for correctable ECC errors and make a count ofJason Wright
them available via sysctl (doc update in a bit); ok millert.
2003-03-20The current code tries to use the same field in the interrupt handler asHenric Jungheim
both a "next" pointer for a singly-linked list and as an in-use flag. This obviously does not work all that well. This change adds a separate ih_busy flag to mark the handler as in-use, leaving ih_pending for use by the list code. Testing by *many* (thanks). ok miod jason
2003-03-06The existing IOMMU code had a rounding problem that was most noticeableHenric Jungheim
on faster systems under heavy network load. This replaces some of the unreadable iommu functions with something a little less dense and a lot less crash prone. The bus_dma function pointer/cookie handling was broken. Change them to work like the stacked bus_space drivers (where "work" is the key word). Tested my many (thanks). ok jason@ deraadt@
2003-02-17Add support for the Sun Enterprise 450Henric Jungheim
Reduce the size of a GENERIC kernel by ~190k Remove the nasty pointer/bus_space_handle_t casts Adds debug bus_space code including the ability to trace bus operations (it actually works now). The following rules are now followed (and verfified by the debug code): 1. A "bus_space_handle_t" may only be used with the "bus_space_tag_t" that created it. 2. Only "bus_space_map()" may create "bus_space_handle_t"s. 3. A "bus_space_handle_t" may not be modified after it has been created (other than being destroyed by "bus_space_unmap()"). Thanks to help from mcbride, marc, jason, drahn, to anyone that might have slipped my mind at the moment. ok jason@, deraadt@
2003-02-12Kill more commons in sparc64 codeJason Wright
2003-02-10fix sparc64 specific commonsJason Wright
2003-01-13Don't use a global variable to determine which pci_conf* function to call,Jason Wright
store function pointers in the pci_chipset_tag_t (ie. fix an ugly hack I did during the hackathon last year).
2002-10-10protect against multiple inclusion; pointed out by naddy, miod okPeter Valchev
2002-10-06Garbage collect __HAVE_SPLASSERT. It wasn't necessary.Artur Grabowski
2002-08-02add string for cputype (bad art =)Jason Wright
2002-08-02whitespaceJason Wright
2002-07-30Add SIZE_MAX define. This is the same as SIZE_T_MAX but more portable.Todd C. Miller
The only OSes I've seen that use SIZE_T_MAX are 4.4BSD-derived whereas SYSV things seem to use SIZE_MAX. It is also consistent with SSIZE_MAX (which we already have). deraadt@ OK
2002-07-23Define __HAVE_SPLASSERT on architectures that support splassert.Artur Grabowski
2002-07-20duplicate define.Artur Grabowski
2002-07-10proper cdev_decl(crypto) and no private protosMichael Shalayeff
2002-07-10proper cdev_decl(ksyms), fix ksyms's broken functionsMichael Shalayeff
2002-06-24move cdev_decl() for usb devices into one place.Michael Shalayeff
usage of cdev_decl() in the driver code is more tricky since i have kqueue mods here and there and will fix that on that way through.
2002-06-15Decruftification.Artur Grabowski
We will never have a.out kernels. We will never have 32-bit kernels. We will never have sun4c, sun4 and sun4m support in the sparc64 kernels. We don't need support old netbsd libc. The cpu will never be identified as some of the sun4c and sun4m types. We don't need the gazillion of fields in cpuinfo that the sparc port uses. Just generally remove dead code. This is just a first step in making this meess readable.
2002-06-15gc some leftovers from sparc.Artur Grabowski
2002-06-14support for getting the cpu type through sysctl, same as on sparc.Artur Grabowski
2002-06-12Remove some #if 0 cruft.Artur Grabowski
2002-06-11nuke unused stuffArtur Grabowski
2002-06-11define IPL_STATCLOCK.Artur Grabowski
2002-06-092^5 not 5, duh, sorry matthieuJason Wright
2002-06-09Added registers in cheetahMarcus Watts
2002-06-09Ah, seems we've seen this problem before (macro's with wrong name)Jason Wright
2002-06-09add PCITAG_BUS/DEV/FUNC for decoding PCI tagsJason Wright
2002-06-08make pci_conf_{read|write} indirect functions so we can overload themJason Wright
2002-06-07Remove obsolete CLKF_BASEPRI(). ok niklas@, miod@ and art@Thomas Nordin
2002-06-07zap.Artur Grabowski
2002-06-06zapArtur Grabowski
2002-06-02withough -> withoutTheo de Raadt
2002-05-21Implement splassert just like it's on sparc.Artur Grabowski
This also requires a change to rename {PIL,IPL}_IMP to {PIL,IPL}_VM. XXX - We should get rid of PIL_*.
2002-05-13add BUS_DMA_24BIT flag (for braindead lance implementations)Jason Wright
2002-04-29Define placeholders for art's splassert() debugging stuff on all arches.Miod Vallat
Currently as no-ops everywhere. ok art@, deraadt@
2002-04-24Introduce a new file, machine/internal_types.h, to hold that specific archMarc Espie
type characteristics. internal_types.h will contain only settings invisible from standard C, e.g., in the __* or _[A-Z]* namespace, and be reused by files like limits.h. This allows us to shorten machine/limits.h greatly, as all the common defines are now in sys/limits.h, plus a small stub in internal_types.h. Tested on all arches as far as I know. Approved after discussion with art, millert, deraadt, and others.
2002-04-19remove some #ifdef __arch64__, after agreement: we only ever run sparc64Marc Espie
as a 64 bits arch. Tests by jason@ and art@
2002-04-08pieces for gdb; deraadt@ okFederico G. Schwindt
2002-04-03in PCITAG_SETNODE s/t/x to match usage; from netbsdJason Wright
2002-04-02bit defns for %tick (basically the ticker bits and the npt bit)Jason Wright
2002-03-27Need APERTURE so we can read/write pci configuration with securelevel > 0Jason Wright
2002-03-19we don't need mbstate_t, _BSD_SUSECONDS_T_ and _BSD_USECONDS_T_ typesKevin Lo
-- Ok'd by art@
2002-03-17In PT_{GET,SET}REGS there is no reason to not get/set %l* and %i*.Artur Grabowski
This change will break debuggers, so if you have any, rebuild.
2002-03-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2002-03-07Clean up BUS_DMA_* flags, and make sure all arch's define:Jason Wright
BUS_DMA_READ, BUS_DMA_WRITE, and BUS_DMA_STREAMING
2002-02-19bump NMBCLUSTERSJason Wright
2002-02-19From NetBSD:Jason Wright
change some debug printfs to make gcc happy
2002-02-18Add __HAVE_NWSCONS (so pckbc will do the right thing)Jason Wright
2002-02-17Patch from Daniel Lucq <daniel@lucq.org>Mats O Jansson
The patch allows you to change the value of NMBCLUSTERS, BUFCACHEPERCENT and NKMEMPAGES using the config command, instead of recompiling the kernel. This is the kernel part of the patch. I have compiled it on i386, sparc64, alpha and macppc. -moj ok art@ maja@