summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
AgeCommit message (Collapse)Author
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
2007-04-24Make power(4) map registers in io space if mem space fails.Mark Kettenis
Tested on u5, u10, blade100 and v210. ok deraadt@
2007-04-22- Use pmap_get_page and pmap_free_page to manage memory allocationsArtur Grabowski
for sparc64 pmap. They take care of all the magic of checking for initialized pages, zeroing them, etc. - merge pmap_create and pmap_pinit. - don't do the page allocation dance in pmap_kenter, we have growkernel. - Clean up if I was close to something dirty. kettenis@ ok
2007-04-22ahci works on sparc64. wish the teeny teeny tiny jmicron sample i haveTheo de Raadt
had a bracket though, because it almost falls out of the pci slot...
2007-04-21Do a simple switch to VM_PAGE_MD. Just the path of least resistance for now,Artur Grabowski
more work coming soon. kettenis@ ok
2007-04-13While splitting flags and pqflags might have been a good idea in theoryArtur Grabowski
to separate locking, on most modern machines this is not enough since operations on short types touch other short types that share the same word in memory. Merge pg_flags and pqflags again and now use atomic operations to change the flags. Also bump wire_count to an int and pg_version might go int as well, just for alignment. tested by many, many. ok miod@
2007-04-12Remove the lk_interlock from struct lock; Also remove the LK_INTERLOCKThordur I. Bjornsson
flag. This effectively makes the simplelock argument to lockmgr() fluff. ok miod@
2007-04-11sili(4) works, why not enable it?David Gwynne
2007-04-10Add bbc(4) and pmc(4).Mark Kettenis
2007-04-10Driver for the BootBus Controller; sets some magic bits that makes pmc(4)Mark Kettenis
actually work.
2007-04-10New driver for watchdog time on NatSemi PC87317 SuperIO chip.Mark Kettenis
2007-04-10Remove unused BUS_SPACE_ALIGNED_POINTER, __BUS_SPACE_ADDRESS_SANITY andMiod Vallat
__BUS_SPACE_ALIGNED_ADDRESS.
2007-04-10``it's'' -> ``its'' when the grammar gods require this change.Miod Vallat
2007-04-10slighly -> slightlyMiod Vallat
2007-04-10Prevent infinite loop mapping interrupts when "reg" property is missing.Mark Kettenis
ok mbalmer@, dlg@
2007-04-09Re-enable art(4); mglocker@'s e250 is perfectly happy with larger kernels now.Mark Kettenis
2007-04-09Unbreak the tree.Mark Kettenis
2007-04-09Seperate rtc(4) code out into its own file. Add support for catching theMark Kettenis
power button interrupts on ds1287 models. The hardware will stil power off automatically about 20 seconds after the power button is pressed, but we get a decent chance at doing a clean shutdown before that. "a good start" deraadt@
2007-04-08ral(4) reported to work on sparc64 by Maxim Belooussov <belooussov@gmail.com>Jonathan Gray
so enable it.
2007-04-07Remove unused variable.Mark Kettenis
2007-04-07USECPERSEC is no longer used.Mark Kettenis
2007-04-07Replace code that tries to find the boot device by pretending to walk theMark Kettenis
device tree and matching locators in the bootpath string components with code that tries to match the PROM node of the devices to bootpath components. This way we don't need a list of possible boot devices that needs to be tweaked whenever we try to support new Sun hardware (or when dlg plugs a new fancy storage controller in a sparc64 machine). Tested by many.
2007-04-07Replace code that tries to find the boot device by pretending to walk theMark Kettenis
device tree and matching locators in the bootpath string components with code that tries to match the PROM node of the devices to bootpath components. This way we don't need a list of possible boot devices that needs to be tweaked whenever we try to support new Sun hardware (or when dlg plugs a new fancy storage controller in a sparc64 machine). Tested by many.
2007-04-06Add support for PCIe. Don't map interrupts that are already mapped correctly.Mark Kettenis
Tested by deraadt@, nick@, sturm@, naddy@ and others.