Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-07-15 | Add a timecounter based on the $sys_tick register, and use it on machines | Mark Kettenis | |
that have it. Initial diff from art@. | |||
2008-07-15 | Use -Wa,-Av9b instead of -Wa,-Av9a such that I can use %sys_tick in an | Mark Kettenis | |
upcoming change. | |||
2008-07-14 | Fix struct sysioreg layout after the struct iommureg layout change; | Miod Vallat | |
ok kettenis@ | |||
2008-07-14 | Use uvm_km_valloc_prefer_wait() instead of uvm_km_valloc_wait() in vmapbuf(). | Miod Vallat | |
ok art@ | |||
2008-07-12 | Make the console interrupt driven. | Mark Kettenis | |
2008-07-12 | Shave off a few instructions from cpu_switchto(). | Mark Kettenis | |
2008-07-12 | Add a temporary hack to attach only the first thread of every core for | Mark 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-12 | Add core(4). | Mark Kettenis | |
2008-07-12 | Perform IOMMU cache flushes on Oberon. | Mark Kettenis | |
2008-07-12 | Use the proper interrupt target ID on Oberon. | Mark Kettenis | |
2008-07-12 | Adjust SUN4U_TLB_RESERVED_MASK for updated SUN4U_TLB_PA_MASK. | Mark Kettenis | |
2008-07-12 | Don't install interrupt handlers for non-exitsing interrupts on CMU-CH. | Mark Kettenis | |
2008-07-12 | On Fujitsu's SPARC64 CPUs, the data_access_error trap is synchronous, and AFSR | Mark Kettenis | |
will be 0. Check SFSR too, before deciding there's no fault. | |||
2008-07-12 | Add macros to get the appropriate interrupt target ID for non-UPA CPUs and | Mark Kettenis | |
use them in cpu_myid(). | |||
2008-07-11 | Fujitsu SPARC64-VI CPU's have two cores that have two threads each. Provide | Mark Kettenis | |
a core(4) device, representing these cores and attach cpu(4) devices to it for each thread. | |||
2008-07-11 | Don't try to read the "regs" propety; it's pointless. | Mark Kettenis | |
2008-07-11 | Handle CPUs with a clock speed >= 2 GHz correctly. | Mark Kettenis | |
2008-07-10 | Handle breaks. | Mark Kettenis | |
2008-07-10 | Detect whether com(4) is the console on the m4k. | Mark Kettenis | |
2008-07-10 | Add 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-10 | Add support for getting the time of day on the m4k. | Mark Kettenis | |
2008-07-10 | Add a function to get the time of day from the prom on the m4k. | Mark Kettenis | |
2008-07-07 | Match on XMITS (which is a PCI-X Schizo variant found on Sun Fire | Mark Kettenis | |
E2900/E4900/E6900/E20K/E25K systems). There's a fairly good chance it'll just work. | |||
2008-07-07 | Extend sbbc(4) to provide a console driver for the v1280. | Mark Kettenis | |
2008-07-07 | Fix typo in comment. | Mark Kettenis | |
2008-07-06 | Enable ssm(4) and remove hacks that worked around the fact that we didn't | Mark Kettenis | |
have it. | |||
2008-07-06 | Add ssm(4), a driver for the scalable shared memory device found on | Mark Kettenis | |
Serengeti and Starcat systems. | |||
2008-07-06 | Bump verson number now that the bootloader works on the v1280. | Mark Kettenis | |
2008-07-06 | Add sbbc(4), a driver for the BootBus controller on Serengeti and StarCat | Mark Kettenis | |
systems that provides time of day services and (in the future) console services. | |||
2008-07-06 | Add missing include such that RAMDISK kernels compile again. | Mark Kettenis | |
2008-07-05 | Copy 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-05 | Add function to read %tba. | Mark Kettenis | |
2008-07-05 | Apparantly the "chain" OpenFirmware interface always fails so don't bother | Mark Kettenis | |
with it. Makes the bootloader work on the v1280 where the firmware breaks into the firmware debugger instead of returning failure. | |||
2008-07-05 | Round up memory allocations to page size. Apparently sane firmware versions do | Mark Kettenis | |
this automatically, but the braindead firmware on the v1280 doesn't do this and makes the allocation fail. | |||
2008-07-05 | Specify the correct number of arguments in prom call that sets the trap table | Mark Kettenis | |
(1 for sun4u, 2 for sun4v). | |||
2008-07-05 | Calculate the size of kernel text correctly if it spans multiple prom mapping | Mark 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-05 | Link bootloader at 1MB (same a the Solaris bootloader) instead of 8MB (which | Mark Kettenis | |
the firmware on the v1280 doesn't like). tested by many | |||
2008-07-05 | The firmware on the v1280 changes %wstate behind our back. Work around this | Mark 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-05 | Don't play games with %cleanwin when spinning up secondary CPUs. The firmware | Mark Kettenis | |
on the v1280 doesn't like it if we change it behind its back. | |||
2008-07-04 | Add T_MON_BREAKPOINT, the trap vector used by OBP for breakpoints. | Mark Kettenis | |
2008-07-04 | Change trapbase from a pointer to a variable-length array such that it can | Mark Kettenis | |
actually be used to access trap vectors. | |||
2008-07-04 | Add a little hack to recognize the boot device on the v1280. | Mark Kettenis | |
2008-07-04 | Make debug code compile. | Mark Kettenis | |
2008-07-04 | Add 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-01 | Enable FFS2 on most of the larger RAMDISK media. | Brad Smith | |
ok deraadt@ | |||
2008-06-29 | Use DEV_BSIZE (defined as 512) instead of 512 when initializing the | Kenneth R Westerback | |
disklabel's d_secsize. ok millert@ marco@ | |||
2008-06-27 | Clear swap encryption keys before dumping a kernel image. | Miod Vallat | |
2008-06-27 | Add uvideo(4). | Brad Smith | |
ok mglocker@ | |||
2008-06-26 | First 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-14 | A 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. |