summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
AgeCommit message (Collapse)Author
2007-05-29start of dumpconf() unification, which one day we can pray will be MITheo de Raadt
(and part of setroot); ok miod
2007-05-29Use atomic operations to operate on netisr, instead of clearing it at splhigh.Miod Vallat
This changes nothing on legacy architectures, but is a bit faster (and simpler) on the interesting ones.
2007-05-29use the right capitalization for `SBus'Igor Sobrado
ok jmc@
2007-05-29typoTheo de Raadt
2007-05-29Updated disklabel format to support larger disks and partitions. WeOtto Moerbeek
free room in struct partition by packing fragment size and fragments/block more tighlty and use the resulting space to make offset and size 48 bits. For the disk part we use spare fields in struct disklabel. Kernel converts in-mem copy of the on-disk label if needed, disklabel(8) writes new version. We are careful to only change fields not used by bootloaders. Conception of basic scheme by deraadt. ok deraadt@ krw@
2007-05-29Refactor readdisklabel() to ensure there is a single point of return, inKenneth R Westerback
preparation for translating all disk labels visible to the kernel to the soon to arrive V1 format. ok otto@ deraadt@
2007-05-29Add led(4).Mark Kettenis
2007-05-29New driver for front panel LEDs on the V215/245.Mark Kettenis
2007-05-29remove support for many alternative kernel choices -- only try /bsd andTheo de Raadt
not the other stupid names. that feature was retarded. tested on a few architectures by a few people
2007-05-28bob missed a file, zap zapTed Unangst
2007-05-28Maintaining a broken compatibility layer for a broken OS is not a productiveBob Beck
activity for anyone. Bye bye COMPAT_NETBSD. ok tedu@, deraadt@, and many others in the hackathon room.
2007-05-28bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@Todd T. Fries
2007-05-28avoid bypassing sys/queue.h in many places in the kernel.Pierre-Yves Ritschard
many assumptions were made about the way the various list types are implemented. lots of suggestions and help from otto and miod. ok otto@
2007-05-28Move the MSIZE, MCLSHIFT, MCLBYTES and the MCLOFSETThordur I. Bjornsson
mbuf constants from MD param.h to MI param.h. Besides being the same on every arch, things will most probly break if any arch has different values then the others. The NMBCLUSTERS constants needs to be MD though; ok miod@,krw@,claudio@
2007-05-28Fix comparison between signed and unsigned integer. Makes the randomMark Kettenis
panics during autoconf disappear on the v215. ok dlg@, otto@
2007-05-27pagemove() is no longer used.Miod Vallat
2007-05-27back out bio, breaks dlg's sparc64 v215Todd T. Fries
prompted by/ok dlg@ deraadt@
2007-05-26tht worksDavid Gwynne
2007-05-26Dynamic buffer cache. Initial diff from mickey@, okay art@ beck@ toby@Pedro Martelletto
deraadt@ dlg@.
2007-05-26prodded by marco, enable bio everywhereTodd T. Fries
grudgingly ok deraadt@
2007-05-26Add re(4). From brad at comstyle dot com.Mark Kettenis
2007-05-26More comment typos from Diego Casati. Including winners like funtion, allmost,Kenneth R Westerback
oustside, seqencer, toghether, nessissary, etc.
2007-05-25"interupt" -> "interrupt" in various comments. Mostly from Diego Casati.Kenneth R Westerback
2007-05-23Print real/available memory in MB as well as bytes in dmesg, and unifyPeter Valchev
architectures to print it the same way. ok henning, miod; i386 part from tom
2007-05-21Switch pcfiic to rwlock.Jonathan Gray
ok dlg@ kettenis@
2007-05-20Replace ASSERT with KDASSERT and get rid of its definition; while there,Miod Vallat
remove some #if 0 dead code which won't get ressurrected anytime soon.
2007-05-16splassert_ctl defaults to 1 now, so dont wrap the checks forThordur I. Bjornsson
splassert_ctl > 0 in __predict_false(). ok deraadt@
2007-05-16The world of __HAVEs and __HAVE_NOTs is reducing. All architecturesArtur Grabowski
have cpu_info now, so kill the option. eyeballed by jsg@ and grange@
2007-05-15Remove unused variable.Mark Kettenis
2007-05-15We will never call OpenFirmware from 32-bit code.Mark Kettenis
ok art@, deraadt@
2007-05-15Remove the MI implementation of mutexes and remove the __HAVE_MUTEXArtur Grabowski
option. Every architecture implements mutexes now.
2007-05-15kill __HAVE_DEVICE_REGISTER by requiring all architectures to have aTheo de Raadt
device_register() function -- even if it does nothing. reduces the cpp-based blather different between architectures idea ok'd by miod; tested on all architectures (except a few miod will need to cleanup because he has them)
2007-05-14Move want_resched into struct cpu_info.Mark Kettenis
2007-05-14Nuke code to support the Solaris bootloader and old 32-bit bootloaders.Mark Kettenis
Remove bits of code that repeat what the bootloader already did for us, like setting up the stack and clearing .bss. ok deraadt@
2007-05-13Put names we get from the prom between double quotes when we print them.Mark Kettenis
ok deraadt@
2007-05-11Don't clear %tick register. Should not be necessary and undesirable sinceMark Kettenis
%tick is hyperprivileged on sun4v. ok jason@
2007-05-06Whack "No counter-timer" message. These days, most UltraSPARC cpu's don'tMark Kettenis
have one. ok deraadt@
2007-05-04make findblkmajor() and findblkname() MI; ok miodTheo de Raadt
2007-05-04setroot() was a ugly mix of MI and MD code, with different bugs on differentTheo de Raadt
machines. Instead -- build one solid clean MI version, and thenchange all the architectures to use it. ok various people, tested on almost all cases. (it is a 10094 line diff..)
2007-05-03sensible version strings; ok miodTheo de Raadt
2007-05-02Move sparc64 to __HAVE_CPUINFO.Mark Kettenis
ok miod@, deraadt@
2007-05-02Fix typo. ok miod@.Tom Cosgrove
2007-05-01Don't rely on the PROM to have configured the interrupts. Make Simics bootMark Kettenis
a but further and doesn't hurt a real E4500. tested by miod@
2007-05-01Provide <machine/lock.h> on all platforms, so that MI code may #include itMiod Vallat
unconditionnaly.
2007-05-01RAMDISK kernels do not need DIAGNOSTICTheo de Raadt
2007-04-30check for exit string earlierTheo de Raadt
2007-04-30use boot(RB_USERREQ | RB_HALT) to get back to the prom instead ofTheo de Raadt
special openfirmware calls; discussed with miod
2007-04-27Even floppies should use DISKLABELDEV() on the dev_t parameter toKenneth R Westerback
readdisklabel/writedisklabel. ok deraadt@ weingart@ conceptual ok drahn@
2007-04-24Tell init(8) to power down machine instead of just halting it.Mark Kettenis
ok deraadt@
2007-04-24do not printf+panic, when a longer panic message is easier; kettenis okTheo de Raadt