Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-07-18 | Add a macro that clears the want_resched flag that need_resched sets. | Artur Grabowski | |
Right now when mi_switch picks up the same proc, we didn't clear the flag which would mean that every time we service an AST we would attempt a context switch. For some architectures, amd64 being probably the most extreme, that meant attempting to context switch for every trap and interrupt. Now we clear_resched explicitly after every context switch, even if it didn't do anything. Which also allows us to remove some more code in cpu_switchto (not done yet). miod@ ok | |||
2008-07-18 | Add ohci(4) and ehci(4) at cardbus(4). | Mark Kettenis | |
2008-07-18 | Determine the free address space by looking at the "available" property of | Mark Kettenis | |
the PCI host bridge if we're not running on an UltraBook. Fix allocation of bus number such that it works on machines that have OpenBoot 4.x. | |||
2008-07-18 | Protect dma operations with splvm instead of splhigh, that's faster than | Miod Vallat | |
splbio and won't delay clock interrupts. | |||
2008-07-18 | Make IPL_VM level 5, which is guaranteed to be above bio tty and net, instead | Miod Vallat | |
of making it dynamic and the smallest value above the former three. Idea from NetBSD. | |||
2008-07-18 | Add new uvm function called uvm_map_pie() which takes align as a | Kurt Miller | |
parameter and returns an aligned random load address for position independent executables to use. This also adds three new vmparam.h defines to specify the maximum address, minimum address and minimum allowed alignment for uvm_map_pie() to use. The PIE address range for i386 was carefully selected to work well within the i386 W^X framework. With much help and feedback from weingart@. okay weingart@, miod@, kettenis@, drahn@ | |||
2008-07-16 | Add a new parameter to pckbc_cnattach(): flags to put in the pckbc bowels. | Miod Vallat | |
For now, only one such flag is defined, PCKBC_CANT_TRANSLATE. It hints pckbc that the device does not behave correctly to the ``set translation'' commands. Set this flag if we are running on a Tadpole Ultrabook machine, which needs it. This makes the built-in keyboard work correctly on this laptop (with the help of the software translation pckbd diff). tested & ok kettenis@ | |||
2008-07-16 | Send unused string literal ``mapme'' to nirvana. | Miod Vallat | |
2008-07-16 | This file is long unused. | Miod Vallat | |
2008-07-16 | Implement pckbc_xt_translation() in gsckbc. Thus, we can attach pckbd instead of | Miod Vallat | |
gsckbd; the former will cause a proper translation page to be selected by the keyboard. Because of this, we no longer depend on the page the keyboard is left in by the PDC (page 2 for all machines but the PrecisionBook, which is in page 3), and there is no longer any need to use separate keyboard maps. | |||
2008-07-16 | Now that uvm_pglistalloc() does not lose on large memory gaps, do not | Miod Vallat | |
restrict the memory allocation range in _dmamem_alloc(). | |||
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-14 | Be sure to propagate PSL_O in psw on PCXU* processors to userland processes | Miod Vallat | |
and signal handlers. ok kettenis@ | |||
2008-07-14 | Be sure to propagate PSL_O in psw on PCXU* processors to userland processes | Miod Vallat | |
and signal handlers. ok kettenis@ | |||
2008-07-14 | Zap some dead commons that are no longer used. | Artur Grabowski | |
"Commitski!" miod@ | |||
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-11 | initialise the state kept between calls to dmamap_load_buffer to 0. there | David Gwynne | |
was an extremely small chance that random stack garbage coudl be used which could corrupt a dmamap. this is the same as the change made to amd64 in src/sys/arch/amd64/amd64/bus_dma.c r1.10. ok miod@ 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-09 | Simplify the match function a bit by just returning the result from | Brad Smith | |
pci_matchbyid(). This is the only driver that will match against this hardware so it is not necessary to return a higher priority than what pci_matchbyid() returns. ok mbalmer@ | |||
2008-07-08 | vmt(4) is a kernel level implementation of the vmware tools. | David Gwynne | |
it only provides the hosts machines clock as a timedelta sensor so far. getting it into the tree so people can work on it as suggested by fgsch@ | |||
2008-07-07 | Comment correction, actually -> actual | Brad Smith | |
ok henning@ | |||
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-07 | Add an entry to report the bus clock on bernd's atom laptop. | Jonathan Gray | |
Intel don't publish the EST voltage tables, and they don't even publish the MSRs for a shipping processor so we can figure out how to do this in the backwards highest/lowest way cleanly. The mapping might look like the Core * one, but who really knows for sure outside of a few guys at Intel. Other machines with Atom processors and a different bus clock will have to be added one by one until this stupidity changes. Tested by bernd, ok gwk | |||
2008-07-07 | Add AGP and hostbridge support for the Intel 82945GME chipset. | Bernd Ahlers | |
ok jsg@ | |||
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 | |