summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
AgeCommit message (Collapse)Author
2003-03-27- Add support for the *CURS* ioctls (requires mapping the DAC registersJason Wright
and tweaking appropriately) - add support for VADDR->PADDR mappings expected by the X server - fix attachment error handling (it depended on bus_space_vaddr() working for non-linear mappings).
2003-03-27no sbus in hereJason Wright
2003-03-25Clear interrupts (set to IDLE) as they are established.Jason Wright
ok deraadt
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-09autri flags here too. pointed out by deraadt@Ted Unangst
2003-03-09When a sparc machine is running with serial console, the zskbd probe wouldMiod Vallat
try to use short cuts, and would not correctly initialize its channel if a keyboard is connected to it, which might have been done on purpose. It would then become impossible to run X11 on this machine afterwards. Fix this by being more cautious during the probe, at the extent of a couple of seconds if no keyboard is present. Tested by various, ok deraadt@
2003-03-07- make a copyout into a copyin for correct semanticsJason Wright
- handle openfirmware error reports correctly ok pb
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-03-05Some typos prevented STCs from being detected and the size of theHenric Jungheim
PCI configuration space is actually one "0" larger. Noticed on an E450 with all 10 PCI slots populated. ok jason@
2003-02-28update lasttick in clockintr() so that time doesn't run away with usJason Wright
(based on a larger diff from henric).
2003-02-28make intrcnt[n] an int to fit with the kern.intrcnt changes in JanuaryJason Wright
2003-02-24Oops, forgot to commit that part of the pmap_kenter changes; spotted by art@Miod Vallat
2003-02-24Prefer pmap_kenter_pa() rather than pmap_enter() for the buffers.Miod Vallat
2003-02-22don't use home grown timeval comparison when timercmp() is available; ↵Jason Wright
pointed out by henric
2003-02-22always use %tick based microtime (ie. remove conditional for counter-timer)Jason Wright
2003-02-22check for a NULL tag in bus_space_render_tag() so that other debug code ↵Jason Wright
doesn't crash.
2003-02-22rearrange allocations and such so that this actually attaches (still panicsJason Wright
when attaching the pcibus... Still working on it =)
2003-02-21Print the pa not ldxa(pa)Jason Wright
2003-02-21- kill several unnecessary static'sJason Wright
- fix debugging code so it doesn't generate crashes itself
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-12disable tigon (uses arithmetic on bus_handle_t's)Jason Wright
2003-02-12Kill more commons in sparc64 codeJason Wright
2003-02-11be consistant on Hz vs hzMichael Shalayeff
2003-02-10fix sparc64 specific commonsJason Wright
2003-02-10unneeded defnsJason Wright
2003-02-08fix /tmp races; this no longer leaves files around. ok millert jason henricPeter Valchev
2003-02-07typos;Jason McIntyre
2003-02-06include isp firmware on some sparc64 media; and resize the media that isTheo de Raadt
too small
2003-01-30The E450 seems to have the same problem as the E250, so don't ask OF forHenric Jungheim
the msgbuf on this box either. ok jason@ (a very, very long time ago)
2003-01-17Build sparc64 kernels with the same options as other architectures.Dale Rahn
Doesn't change how the kernel layout occurs, and is required for upcoming binutils/ld change.
2003-01-14Move sunkbd defn to common place and remove old event.c referenceJason 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).
2003-01-11add back fserr and fsbail deleted in previous commitJason Wright
2003-01-09Remove fetch(9) and store(9) functions from the kernel, and replace the fewMiod Vallat
remaining instances of them with appropriate copy(9) usage. ok art@, tested on all arches unless my memory is non-ECC
2003-01-08Move the rounds into separate functions on sparc64 so gcc's optimizerTodd C. Miller
doesn't blow up. This is a hack but is better than compiling sha1.c with -O0 on sparc64. From NetBSD (mrg). deraadt@ OK
2002-12-31+ NFSCLIENTTheo de Raadt
2002-12-25No need to define FOO?=foo for AS, CC, CPP and LD, as they are always alreadyMiod Vallat
set from <sys.mk>
2002-12-25Initialize color palette from rasops settings (from sparc) rather thanMiod Vallat
from incorrect values, and restore it after X11 use (from macppc).
2002-12-22Do not attempt to select keyboard layout until it has been determined fromMiod Vallat
the keyboard (oops). This also fixes a bad interaction with wskbd_cnattach that would hose the underlying sabtty device.
2002-12-17Make SysV-style shared memory and semaphore limits sysctl'able.Todd C. Miller
Instead of allocating a static amount of memory for the data structures via valloc() in allocsys(), allocate things dynamically using pool(9) when possible and malloc(9) when not. The various members of struct seminfo and struct shminfo are in kern.seminfo and kern.shminfo respectively (not all members of kern.seminfo are changable). The data structures used still leave something to be desired but things are not made worse in that respect by this commit.
2002-12-10Register as the "std" wscons device, not "sun". This is consistent with otherMiod Vallat
frame buffers, and produces less confusing dmesg output.
2002-12-10Fix spurious \n in dmesg outputMiod Vallat
2002-12-05remove altq entries.Kenjiro Cho
altq is merged into pf and handled through pf.
2002-12-04Add a few more phys: exphy, brgphy, iophy, inphyJason Wright
2002-12-04Make ti(4) use busdma and add all of the necessary stuff to support bothNathan Binkert
endian modes. This makes ti now work on macppc and sparc64. While we're at ti, clean up a bit of the code: Use SLIST instead of LIST Remove register Use bus_space instead of bcopy/bzero Don't use bitfields since it makes dealing with endianness annoying. ok jason@, deraadt@
2002-12-03Use bus_space_vaddr() instead of checking the mapping directly (this willJason Wright
be necessary soon); from henric@
2002-12-02Skip the ffb0, ffb1, pcia/slot2 (for psycho), and pcia/slot3 (for psycho)Jason Wright
interrupt map matches; from FreeBSD.
2002-12-02Import propolice (http://www.trl.ibm.com/projects/security/ssp), a stackMiod Vallat
attack protection scheme, into gcc. This protection is enabled by default. It can be turned off by using the -fno-stack-protector flag. Code by Hiroaki Etoh (etoh at jp dot ibm dot com); work on openbsd-specific integration by fgsch@, deraadt@ and myself; tests by fgsch@, naddy@ and myself; beer drinking by myself. Please note that system upgrades with this new code will require a new libc and ld.so to be build and installed before the propolice-enabled compiler can be installed.
2002-11-29Upon detection of an international Sun keyboard with a recognized layout,Miod Vallat
attach it with the appropriate keymap table, rather than the default KB_US table. If this is not the expected behaviour, users can still revert to US layout via "kbd us" or "wsconsctl -w keyboard.encoding=us". As the installation media uses the prom console, which will honor the international keyboard layout, this will definitely help users with international keyboards and fancy characters in their passwords... Note that there is still some Sun keyboard tables missing at the moment.