summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
AgeCommit message (Collapse)Author
1996-03-24Prefix usage of "long long" with a "/* LONGLONG */" comment to shut upThorsten Lockert
lint(1) about it
1996-03-24Use __asm in place of asmThorsten Lockert
1996-03-24Provide empty __warn_references() when we are not running GCCThorsten Lockert
1996-03-04Fix two bugs reported by Don Koch <aardvark@poirot.krl.com>(NetBSD PR#216{8,9})chuck
[1] check return value from malloc() for NULL before trying to bzero it. [2] use "=" rather than "|=" when writing to CSR (otherwise you may ACK something you don't mean to!).
1996-02-21move cdev_gen_ipf() macro to the <sys/conf.h>, so the lkmMichael Shalayeff
for ipl is possible and also, why it is in <machine/conf.c> while it (ipl) is in <net/*> ???
1996-02-21minor clean up: revise locations of disk_busy/disk_unbusy calls to match xd.cchuck
1996-02-08- moved disk_busy() call from xdstrategy() to xdc_startbuf()chuck
[prevents disk_unbusy panic when disk is loaded (if no free IOPBs, xdstrategy() would queue the buffer for pickup by xdcintr() but xdcintr() would never call disk_busy(). xdc_startbuf() is a better place since all bufs are routed through here] problem detected by girish@dworkin.wustl.edu, diagnosed and corrected by me. - move disk_unbusy() call in xdc_remove_iorq() before the call to XDC_FREE() [don't want to access a data structure that was just put on a free list]
1996-02-03whoops, EEPROM_SIZE is not used anymoreTheo de Raadt
1996-01-31put zs chip register layout here.Theo de Raadt
1996-01-31do not worry about mapdev retvalTheo de Raadt
1996-01-15sync with netbsdTheo de Raadt
1996-01-14The sun mmu is very broken, and we all can thank crashme fordavem
helping me find this bug. On execution of an atomic load/store instruction the chip will only say that a read fault is happening, we then load up a readonly translation to the accessed page, and we get the fault again still showing a read-fault. We end up faulting in a loop forever and the process appears to be completely stuck. The algorithm to fix this problem goes like this. If we get a non-text fault, and the fault type is VM_PROT_READ, and the SER_PROT bit is set in the syncronous fault error register, we take a peek at the instruction at pc. If this instruction is indeed an ldstub or a swap variant we or in VM_PROT_WRITE to the fault type.
1996-01-13 - call mapiodev() with sizeof(struct xdc/xyc) rather than ra_len (which ischuck
zero since xdcmatch/xycmatch no longer sets it). [if you call mapiodev() with a zero size it will reuse the KVA it returns, swiping the device out from under you!] - make xdc/xyc->iopbase point in the kernels DVMA space rather than at the normal malloc'd KVA. this isn't compatable with sun4m [doesn't have a kernel DVMA space] and will need to be changed later (XXX). - move disk_attach() to before reading the disk label as per Jason. otherwise we are reading into an unallocated buffer (oops!)
1996-01-13have mapdev() panic if size == 0 to be safe (catches config errors)chuck
1996-01-12we no longer need to add in the offset to the mapped VA to get the correctchuck
device address (bus_tmp, bus_map, and mapiodev now do this for us). also, we handle all our mappings, so don't have obio.c do any for us (i.e. don't set ra->ra_len in xycmatch). nuke uneeded variable in match function.
1996-01-12dmamatch never added in the offset for the dma registers to the VA,chuck
and thus probed the wrong address on the 4/300 (but it worked because it was probing the esp0 registers!). now that bus_tmp() adds the offset in for us [as of obio 1.15] i discoved that a byte access to the dma registers is not allowed. so, i've change probeget to use a word access.
1996-01-12improved handling of mapping of devices who's registers do not reside onchuck
page boundaries: - change bus_tmp() to include the offset from the start of page in the returned KVA [rather than forcing each driver to add it back in individually] - changed bus_map() to include the offset from the start of page in the the returned value if a mapping is found in the PROM's KVA area - clarified a few comments
1996-01-12change mapdev() so that it includes the offset from the start of thechuck
page in the virtual address it returns.
1996-01-12from netbsd;Theo de Raadt
New generic disk framework. Highlights: New metrics handling. Metrics are now kept in the new `struct disk'. Busy time is now stored as a timeval, and transfer count in bytes. Storage for disklabels is now dynamically allocated, so that the size of the disk structure is not machine-dependent. Several new functions for attaching and detaching disks, and handling metrics calculation. Old-style instrumentation is still supported in drivers that did it before. However, old-style instrumentation is being deprecated, and will go away once the userland utilities are updated for the new framework. For usage and architectural details, see the forthcoming disk(9) manual page.
1996-01-09from netbsd; Fix setcontext call and sendsigTheo de Raadt
1996-01-07When servicing a memory error on the sun4/sun4c makedavem
sure the store buffers on the chip are completely flushed to ensure proper handler completion.
1996-01-07created devices for the IP filter log on all architecturesdm
1996-01-06from netbsd; some U tagsTheo de Raadt
1996-01-06one tests code before one commits it. initialize ttymalloc'd struct properly.Theo de Raadt
also with mrg: use B1200 instead of 1200.
1996-01-06by mrg and myself on irc: fix a ttymalloc() memory leak, TIOCM* botchTheo de Raadt
1996-01-05ss_sp is correct, ss_base is not. noticed by agc@sde.uts.amdahl.com; netbsd ↵Theo de Raadt
pr#1784
1996-01-05from netbsd; = not ==Theo de Raadt
1996-01-04mi 5380 driverTheo de Raadt
1995-12-31from netbsd; handle more netbsd versionsTheo de Raadt
1995-12-30from netbsd:Theo de Raadt
Move the old-style disk instrumentation "structures" to a central location (sys/kern/subr_disk.c) and note that they should/will be deprecated.
1995-12-30from netbsd: support more gcc versionsTheo de Raadt
1995-12-27from netbsd:Theo de Raadt
Change splimp -> splnet in Ethernet, ARCnet, and FDDI drivers.
1995-12-18cgtwo only exists on vmes; and thus only sun4 (we will deal withTheo de Raadt
the sun4/600 later)
1995-12-18fix fb_setsize() to set width/height for P4 frame buffersTheo de Raadt
now rconsole works on all P4 frame buffers
1995-12-17add a missing \nTheo de Raadt
1995-12-17match correctly on pfourTheo de Raadt
1995-12-15new mapdev/()/mapiodev() calling convention uses "struct rom_reg *" to supplyTheo de Raadt
base plus an offset new dvma routines
1995-12-15settable ring buffer sizes from pkTheo de Raadt
1995-12-15MI le driverTheo de Raadt
1995-12-15simplify vm inclusionsTheo de Raadt
1995-12-15from gwr, changes in sun3 portTheo de Raadt
1995-12-15from netbsd:Theo de Raadt
Prevent possible race condition in ctx_alloc(). Remove some bogus casts Make pmap_prefer() also return a preferred virtual address when there's no associated physical page
1995-12-15delete archaic chuck of code relating to dumpdevTheo de Raadt
1995-12-15change u_long to u_int32_t to match rconsTheo de Raadt
1995-12-15from netbsd; enable interruptsTheo de Raadt
1995-12-14__FORK_BRAINDAMAGETheo de Raadt
1995-12-05working .cvsignore filesTheo de Raadt
1995-12-05this is useful in compile directoriesTheo de Raadt
1995-12-03Restore condition codes if we pull the special_fp_storedavem
trick before returning from the trap.
1995-11-22change ZLRB_RING_SIZE to 4096Theo de Raadt