summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
AgeCommit message (Collapse)Author
1997-08-08Change the bounds_check_with_label API to also take a cpu_disklabelNiklas Hallqvist
reference for making transferral of meta-information possible from readdisklabel to bounds_check_with_label. The first (and maybe only) thing that will use this is the multi-disklabel-format code on the alpha where the labelsector is passed via cpu_disklabel so the label write-protection can work correctly no matter what label was found. Also use a new macro DKBAD to get at the dkbad field of the cpu_disklabel implementations that contain it. This too is for multi-disklabel architectures where the "bad" field can be inside a union. Use this macro as a means for a driver to check if an architecture supports dkbad constructs. Remove proto of bounds_check_with_label from all MD disklabel.h as it is in sys/disklabel.h. I have not been able to test the changes everywhere, if I break anything I apologize, and promise to fix it as soon as I become aware of it.
1997-08-08Updated from GENERIC.Jason Downs
1997-08-08Update GENERIC_SCSI3 from GENERIC and add tags.Jason Downs
1997-08-08Missed these...Jason Downs
1997-08-08Mostly sync to NetBSD-current 970804.Jason Downs
GENERIC currently compiles and runs; some devices (isp) are not complete and not yet enabled.
1997-08-01proto __flt_rounds correctlyTheo de Raadt
1997-07-26Must include netatalk/at_extern to get atintr() prototype.denny
1997-07-24multiple inclusion protection; brenner@umr.eduTheo de Raadt
1997-07-23Add AppleTalk netisr. Only tested (indeed, only compiled) on mac68k port.denny
Add options NETATALK to your config to try it out.
1997-07-13Sync with the new audio changes.Angelos D. Keromytis
1997-07-08Added -msupersparc for SUN4M-only configs, (right after -mv8) -msupersparcjohns
supposedly adds additional instruction scheduling for better performance, where -mv8 seems to only "allow" the multiply and div instructions. This is what I got from the gcc docs anyway.. Reading the RTL for sparc seems to agree with this hypothesis, and the man pages..
1997-07-07Fix a major sun4m stability problem showed up as random segv's and othergrr
failures in innocent programs. Typically something like a make build of libc or something executing a large number of shell commands would fail, dumping core in sh or random faults in as or cc*. According to Chris Torek, the problem is that he make the destination pages for zero and copy be non-cached to prevent wiping otherwise relevant stuff from the cache. On systems with a L2 cache like the SS10 modules with cache, setting the pages as non-cacheable inhibits updating the chache, and also disable PA chache snooping, doesn't do anything about possible dirty lines in the L2 cache, which may eventually get flushed and corrupt the nice new page. It's not clear that he's got the failure mode 100% correct, but making the pages cacheable does seem to avoid the symptoms and testing the e-cache flush hypothesis is difficult. Aaron Brown proposed a fix that was conditional on mmutype, and netbsd-current has it conditional on a cpu.quirk, at the moment this is unconditional, the performance hit is arguable...
1997-07-07Too many things include <machine/ansi.h> w/o <sys/types.h> soTodd C. Miller
make time_t int not int32_t.
1997-07-05Make _BSD_TIME_T_ int32_t on all platforms. You can't writeTodd C. Miller
lint-free code when these differ in name accross platforms. Fundamnetal type has not changed (was int on alpha and long on others).
1997-07-01gestures in the direction of TurboSpPARC compatibilitygrr
1997-07-01make powerdown conditionalgrr
1997-06-26Compile sun4m-only kernels with -mv8.Jason Downs
1997-06-26Obviously, those assignments weren't wanted at all...Jason Downs
1997-06-25Switch to genassym.cf and sync Makefile with other ports.Jason Downs
1997-06-25Add proto.Jason Downs
1997-06-25== is not an assignment.Jason Downs
1997-06-25Add power.h for powerdown() proto.Jason Downs
1997-06-25Add netinet/in.h for in_cksum() proto.Jason Downs
1997-06-25Kill unused variables.Jason Downs
1997-06-25remove unused variableJason Downs
1997-06-25Sigh, Revert changes to endian.h - it was all confusion due to incorrectgrr
usage in new ip_* code, since fixed. Added usage notes to prevent future confusion in this regard.
1997-06-24move master definition for the interrupt register to vaddrs.h with allgrr
of the other special virtual addresses and also provide visibility needed for bsd_fd.s to reference it...
1997-06-24The HTONS class of macros are defined as HTONS(x) <- (void) (x), whichgrr
really doesn't make a lot of sense if you're actually going to use these as some recent changes to netinet/* want to do. (x) or (u_int*_t) (x) would be the ticket, and since the rest of the ports settle for (x)... Note that powerpc has this same problem and needs to be fixed!
1997-06-24New floppy and auxreg drivers, from NetBSD. fd.c has many changes preserved,Jason Downs
and uses our fdformat interface (same code base as NetBSD, with differently named ioctls, but we have always preserved the names of the original code's authors, unlike NetBSD...)
1997-06-23add "option IPFILTER_LOG" to conf files that already had IPFILTERkstailey
1997-06-22Only call powerdown() if SUN4M is defined.Jason Downs
1997-06-22Fix comment.Jason Downs
1997-06-22Support RB_POWERDOWN (calls powerdown(), then romhalt(). If powerdown() isJason Downs
supported on that machine, it just turns off...)
1997-06-22Allow powerdown() to be blindly called on machines with no power device.Jason Downs
1997-06-22Add appropiate `maxusers' everywhere it was lacking.Jason Downs
1997-06-20Fixes OpenBSD PR kernel/230: system kernel sparc, submitted bygrr
russ@madhaus.utcs.utoronto.ca (Russell P. Sutherland). Kernel compile errors when AUDIO_C_HANDLER is defined, due to a syntax error: *(foo->bar)++ is an odd bit of coding.
1997-06-13updated SUN4 config from current GENERIC, previous rev was way out of datejohns
and non-functional.
1997-06-12A fix for the pv_unlink0 problem, based on the patch included in Erik Fair'sgrr
netbsd PR. Also change the panic text to something more descriptive so that pv_unlink0 is no more and make use of typedef vm_offset_type is consistently used for "va" and friends thoughout pmap.c instead of mixed int, u_int and vm_offset_type...
1997-06-12sparc/pmap.cgrr
1997-06-12Redid SUN4M config from GENERIC, old one was way out of date..johns
1997-06-11import some cleanup for libkvm/kvm.c from netbsd, udpate libkvm so that ↵grr
sparc can use libkvm vs. libkvm.old and update sparc pmap.c and machdep.c to make dumps compatible with the new libkvm's notions.
1997-06-11import netbsd kcore.h so that sparc can use libkvm vs. libkvm.oldgrr
1997-06-06tweaks to make the ramdisk kernel smaller and also reduce the vm ↵grr
requirements, since vm & pm aren't much different in the install environment
1997-06-04Bump MAXTSIZ to 16MB (makes latest netscape communicator work)Niklas Hallqvist
1997-05-30having make clean remove *netbsd is good policy, but probably not what was ↵grr
intended
1997-05-30Inhbit the silly "Insert fileystem floppy" message when booting from floppygrr
and root isn't really going to be mounted on the floppy, i.e. ramdisk...
1997-05-29make a special compressed bootblock for ramdiskgrr
1997-05-28cd9660 spoof elsewhereTheo de Raadt
1997-05-25commit the compressed bootblock Makefile for later investigationgrr
1997-05-25commit updated ramdisk stuff, even if it's not going into releasegrr