summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
AgeCommit message (Collapse)Author
2008-03-26Disable some code that reads some sun4u-specific registers for diagnosticMark Kettenis
reasons, but isn't otherwise used.
2008-03-24Remove KASSERT that's causing grieve on sun4v, and I've never seen triggered.Mark Kettenis
2008-03-24Use correct cpuid on sun4v.Mark Kettenis
2008-03-23Add code to initialize CPUs on sun4v.Mark Kettenis
2008-03-23Sigh! The sun4v TTEs have a different layout than sun4u TTEs. Rename theMark Kettenis
existing sun4u defines and add sun4v. For now, decide which set to use at compile time. Change the sun4u-specific code in locore.s to use the sun4u defines.
2008-03-23typo; deraadtMiod Vallat
2008-03-23Not-functional-enough driver for the Sun Expert3D cards, put in tree as anMiod Vallat
incentive for further tinkering only; not for the faint of heart.
2008-03-23Use new defines from pcidevs to match Expert3D.Miod Vallat
2008-03-23Fix ovbcopy() operation when copying shorts backwards, similar to sparcMiod Vallat
locore.s r1.76
2008-03-22Add support for DIOCRLDINFO, DIOCGPDINFO, DIOCGPART to the fdKenneth R Westerback
driver(s). Adapted from sd driver. ok marco@
2008-03-22Reintroduce the cputyp variable, and use it to distinguish between sun4u andMark Kettenis
sun4v.
2008-03-22Simplify cpu_switchto() such that it doesn't need to know the number ofMark Kettenis
register windows provided by the hardware; this number is not readily available on sun4v. This removes the optimization that skips flushing register windows if a process exits. We can add that back later if it turns out to make a significant impact.
2008-03-22Remove TRAPS_USE_IG code.Mark Kettenis
2008-03-22Split out the code that sets the TSB registers and call it fromMark Kettenis
pmap_bootstrap_cpu().
2008-03-22Use ASI_BLK_P instead of ASI_BLK_COMMIT_P when saving floating pointMark Kettenis
registers. UltraSPARC T1 doesn't support ASI_BLK_COMMIT_P, and I can't see why this code needs commit force.
2008-03-22Switch to our initial stack after switching over to our own trap table. ThisMark Kettenis
removes the need to lock the stack (and cpuinfo) into the TLB on sun4v.
2008-03-21Do not attach vgafb if not the console device, since the PROM will not haveMiod Vallat
initialized the device in this case.
2008-03-20Introduce GET_CPUINFO_VA(), GET_CPCB() and GET_CURPROC() macros to getMark Kettenis
some important members of 'struct cpuinfo'. Preparation for sun4v.
2008-03-20Fix whitespace.Mark Kettenis
2008-03-20Bring isa/fd.c into line with sparc/sparc64 fd code and prepare allKenneth R Westerback
for the addition of missing disklabel related ioctl's. ok deraadt@
2008-03-19Establish per-cpu locked mappings for `struct cpuinfo' through the PROM asMark Kettenis
well.
2008-03-19Use PROM calls to enter locked kernel text and data mappings into the TLB.Mark Kettenis
Gets rid of a big chunk of nasty asm code and makes us boot on the e10k with multi-systemboard domains.
2008-03-19Add prom_itlb_load() and prom_dtlb_load().Mark Kettenis
2008-03-18Get rid of some dead wood.Mark Kettenis
2008-03-17Remove KGDB code. It was never converted to 64-bit, and just makes locore.sMark Kettenis
even more unreadable.
2008-03-16Include <sparc64/dev/starfire.h> instead of having our own definitions.Mark Kettenis
2008-03-16Add some e10k support code.Mark Kettenis
2008-03-16Set up interrupt translation for e10k.Mark Kettenis
2008-03-16Add some e10k support code.Mark Kettenis
2008-03-15Make GENERIC.MP work on the e10k. The e10k is a bit funky since UPA onlyMark Kettenis
supports 32 ports, and a machine with up to 64 CPUs obviously needs more. So the machine has a special ASIC that does port translation, and because of that we need to distinguish between port ID's and interrupt target ID's.
2008-03-14Don't even try to attach pcons(4) if we have a real console.Mark Kettenis
2008-03-13Make this catch up with some changed structs. Fix indentation while I'm there.Mark Kettenis
2008-03-13Add prtc(4).Mark Kettenis
2008-03-13Attach prtc(4) if no (hardware) real-time clock was found.Mark Kettenis
2008-03-13Add prtc(4).Mark Kettenis
2008-03-13First shot at a driver to get the time-of-day on the e10k.Mark Kettenis
2008-03-13Remove code to set mmu context to 0. It should already be set to 0 at thatMark Kettenis
point; this code is probably a leftover from some code that tried to find out the number of available context dynamically. tested by ckuethe@, jsg@, sthen@
2008-03-12Introduce a per-handler interrupt acknowledgement function.Mark Kettenis
2008-03-09Add files for vpci(4).Mark Kettenis
2008-03-09Add some members needed by the sunv IOMMU code.Mark Kettenis
2008-03-09Driver for the virtual PCI host bridge on sun4v.Mark Kettenis
2008-03-09sun4v hypervisor IOMMU code.Mark Kettenis
2008-03-09Virtual bus for virtual devices on sun4v.Mark Kettenis
2008-03-09The IOMMU code is needed for schizo(4) and pyro(4) too.Mark Kettenis
2008-03-09Add hvcall.S if option SUN4V is defined.Mark Kettenis
2008-03-09Check "status" property.Mark Kettenis
2008-03-09Allow clock to attach to any fhc?, not just fhc0. There might be backupMark Kettenis
clocks on other boards that we want to use if the one on fhc0 failed. tested by miod@
2008-03-09Add vcons(4).Mark Kettenis
2008-03-08Check "status" property for CPUs too.Mark Kettenis
2008-03-08Add som sun4v-specific ASIs.Mark Kettenis