summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
AgeCommit message (Collapse)Author
2008-07-15Add a timecounter based on the $sys_tick register, and use it on machinesMark Kettenis
that have it. Initial diff from art@.
2008-07-15Use -Wa,-Av9b instead of -Wa,-Av9a such that I can use %sys_tick in anMark Kettenis
upcoming change.
2008-07-14Fix struct sysioreg layout after the struct iommureg layout change;Miod Vallat
ok kettenis@
2008-07-14Use uvm_km_valloc_prefer_wait() instead of uvm_km_valloc_wait() in vmapbuf().Miod Vallat
ok art@
2008-07-12Make the console interrupt driven.Mark Kettenis
2008-07-12Shave off a few instructions from cpu_switchto().Mark Kettenis
2008-07-12Add a temporary hack to attach only the first thread of every core forMark Kettenis
MULTIPROCESSOR kernels. We map 'struct cpuinfo' at the same virtual address on every processor, but since threads on the same core share an MMU this doesn't quite work. With the hack we are at least able to use the other core (and any additional processors).
2008-07-12Add core(4).Mark Kettenis
2008-07-12Perform IOMMU cache flushes on Oberon.Mark Kettenis
2008-07-12Use the proper interrupt target ID on Oberon.Mark Kettenis
2008-07-12Adjust SUN4U_TLB_RESERVED_MASK for updated SUN4U_TLB_PA_MASK.Mark Kettenis
2008-07-12Don't install interrupt handlers for non-exitsing interrupts on CMU-CH.Mark Kettenis
2008-07-12On Fujitsu's SPARC64 CPUs, the data_access_error trap is synchronous, and AFSRMark Kettenis
will be 0. Check SFSR too, before deciding there's no fault.
2008-07-12Add macros to get the appropriate interrupt target ID for non-UPA CPUs andMark Kettenis
use them in cpu_myid().
2008-07-11Fujitsu SPARC64-VI CPU's have two cores that have two threads each. ProvideMark Kettenis
a core(4) device, representing these cores and attach cpu(4) devices to it for each thread.
2008-07-11Don't try to read the "regs" propety; it's pointless.Mark Kettenis
2008-07-11Handle CPUs with a clock speed >= 2 GHz correctly.Mark Kettenis
2008-07-10Handle breaks.Mark Kettenis
2008-07-10Detect whether com(4) is the console on the m4k.Mark Kettenis
2008-07-10Add support for Fujitsu SPARC64-VI CPUs.Mark Kettenis
UltraSPARC I/II has a 41-bit physical address space, UltraSPARC III/IV has a 43-bit physical address space. The Fujitsu SPARC64-VI extends this to 46 bits. Adjust the TTE masks to take this into account and adjust some locore code that truncated physical addresses to 41 bits (fixing a potential bug for UltraSPARC III/IV too). While there, fix the locore code for UltraSPARC Architecture 2007 CPUs, which may support up to 56 bits of physical address space.
2008-07-10Add support for getting the time of day on the m4k.Mark Kettenis
2008-07-10Add a function to get the time of day from the prom on the m4k.Mark Kettenis
2008-07-07Match on XMITS (which is a PCI-X Schizo variant found on Sun FireMark Kettenis
E2900/E4900/E6900/E20K/E25K systems). There's a fairly good chance it'll just work.
2008-07-07Extend sbbc(4) to provide a console driver for the v1280.Mark Kettenis
2008-07-07Fix typo in comment.Mark Kettenis
2008-07-06Enable ssm(4) and remove hacks that worked around the fact that we didn'tMark Kettenis
have it.
2008-07-06Add ssm(4), a driver for the scalable shared memory device found onMark Kettenis
Serengeti and Starcat systems.
2008-07-06Bump verson number now that the bootloader works on the v1280.Mark Kettenis
2008-07-06Add sbbc(4), a driver for the BootBus controller on Serengeti and StarCatMark Kettenis
systems that provides time of day services and (in the future) console services.
2008-07-06Add missing include such that RAMDISK kernels compile again.Mark Kettenis
2008-07-05Copy OBP breakpoint vector from the PROM trap table into our own trap table.Mark Kettenis
This makes the kernel properly enter the prom upon halt on the v1280.
2008-07-05Add function to read %tba.Mark Kettenis
2008-07-05Apparantly the "chain" OpenFirmware interface always fails so don't botherMark Kettenis
with it. Makes the bootloader work on the v1280 where the firmware breaks into the firmware debugger instead of returning failure.
2008-07-05Round up memory allocations to page size. Apparently sane firmware versions doMark Kettenis
this automatically, but the braindead firmware on the v1280 doesn't do this and makes the allocation fail.
2008-07-05Specify the correct number of arguments in prom call that sets the trap tableMark Kettenis
(1 for sun4u, 2 for sun4v).
2008-07-05Calculate the size of kernel text correctly if it spans multiple prom mappingMark Kettenis
entries. This is necessary on the v1280 where the firmware mixes 4MB and 8KB mappings to map kernel text. tested by miod@ and nick@
2008-07-05Link bootloader at 1MB (same a the Solaris bootloader) instead of 8MB (whichMark Kettenis
the firmware on the v1280 doesn't like). tested by many
2008-07-05The firmware on the v1280 changes %wstate behind our back. Work around thisMark Kettenis
problem by adopting the same encoding used by Solaris for the kernel windows. Note that this involves rearranging the trap vector tables, both fur sun4u and for sun4v.
2008-07-05Don't play games with %cleanwin when spinning up secondary CPUs. The firmwareMark Kettenis
on the v1280 doesn't like it if we change it behind its back.
2008-07-04Add T_MON_BREAKPOINT, the trap vector used by OBP for breakpoints.Mark Kettenis
2008-07-04Change trapbase from a pointer to a variable-length array such that it canMark Kettenis
actually be used to access trap vectors.
2008-07-04Add a little hack to recognize the boot device on the v1280.Mark Kettenis
2008-07-04Make debug code compile.Mark Kettenis
2008-07-04Add support for ssm nodes as found on the v1280 and bigger machines. For now,Mark Kettenis
we pretend that ssm is mainbus. Perhaps I'l turn it into a real bus driver later.
2008-07-01Enable FFS2 on most of the larger RAMDISK media.Brad Smith
ok deraadt@
2008-06-29Use DEV_BSIZE (defined as 512) instead of 512 when initializing theKenneth R Westerback
disklabel's d_secsize. ok millert@ marco@
2008-06-27Clear swap encryption keys before dumping a kernel image.Miod Vallat
2008-06-27Add uvideo(4).Brad Smith
ok mglocker@
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2008-06-14A bunch of pool_get() + bzero() -> pool_get(..., .. | PR_ZERO)Michael Knudsen
conversions that should shave a few bytes off the kernel. ok henning, krw, jsing, oga, miod, and thib (``even though i usually prefer FOO|BAR''; thanks for looking.