Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-12-26 | Kill pmap_phys_address(), and force every driver's mmap() routine to return | Miod Vallat | |
a physical address [more precisely, something suitable to pass to pmap_enter()'sphysical address argument]. This allows MI drivers to implement mmap() routines without having to know about the pmap_phys_address() implementation and #ifdef obfuscation. | |||
2010-12-21 | Convert netisr to a normal soft interrupt instead of hanving MD code | Claudio Jeker | |
for it. This makes the netisr a real C function which will help further development. No noticable performance change on i386 and amd64. With input from kettenis@ and miod@ additional OKs mikeb@ and henning@ | |||
2010-12-15 | oops, i forgot to check in the BRKSIZ define in uvm, but deraadt thinks | Ted Unangst | |
its better as a per arch MD define anyway. all default to MAXDSIZ as before. | |||
2010-12-06 | - properly remove NENTS now after fixing the fallout. | Jasper Lievisse Adriaanse | |
ok deraadt@ | |||
2010-12-06 | - partially revert previous NENTS removal for arches which got busted. | Jasper Lievisse Adriaanse | |
2010-12-06 | Change the signature of PMAP_PREFER from void PMAP_PREFER(..., vaddr_t *) to | Miod Vallat | |
vaddr_t PMAP_PREFER(..., vaddr_t). This allows better compiler optimization when the function is inlined, and avoids accessing memory on architectures when we can pass function arguments in registers. | |||
2010-12-06 | - drop NENTS(), which was yet another copy of nitems(). | Jasper Lievisse Adriaanse | |
no binary change ok deraadt@ | |||
2010-12-04 | Introduce a new pci routine, pci_conf_size(), which returns the size of a | Miod Vallat | |
given pcitag_t configuration address space. Currently, all pci controllers will return the usual 0x100 bytes of PCI configuration space, but this will eventually change on PCIe-capable controlers. ok kettenis@ | |||
2010-12-02 | After the most recent change, make it possible to make -j again. The | Theo de Raadt | |
early MD and late MI files must be split up so that vers.o can sneak between. Issue spotted by bluhm, repair discussed with miod | |||
2010-12-02 | move vers.o to before the other objects, so that it is not linked last. | Theo de Raadt | |
having it linked last is bad (on at least i386 and amd64) because the lapic is mapped over the start of the data segment -- savecore(8) then reads the version string for a fixed buffer space, and reads into the lapic area causing unintended side-effects (at least on Intel X5570 and X5680) found by pedro, discussed with kettenis and mpf and miod | |||
2010-11-27 | Remove ddb single-step load and store counters. Most platforms do not | Miod Vallat | |
implement them, and they are of questionable usefulness. | |||
2010-11-20 | This is a first step towards getting rid of avail_start and avail_end in the | Miod Vallat | |
kernel, currently limited to low-hanging fruit: these variables were used by bus_dma to specify the range in which to allocate memory, back when uvm_pglistalloc() was stupid and would not walk the vm_physseg[]. Nowadays, except on some platforms for early initialization, these variables are not used, or do not need to be global variables. Therefore: - remove `extern' declarations of avail_start and avail_end (or close cousins, such as arm physical_start and physical_end) from files which no longer need to use them. - make them local variables whenever possible. - remove them when they are assigned to but no longer used. | |||
2010-11-19 | Sync MAKEDEV against conf.c, and both against GENERIC. | Miod Vallat | |
2010-11-12 | Push all potential (as in, all system MI not utilized by the bootblocks) | Theo de Raadt | |
.h files into the ctags run as well to bring #define's and structs and such into scope. Problem reported by thib | |||
2010-11-03 | no need to specify the -t flag to ctags | Theo de Raadt | |
2010-10-01 | Provide a WEAK_ALIAS macro in <machine/asm.h> for the few platforms | Philip Guenthe | |
that didn't already have one, and then immediately use it in libc's SYS.h ok miod@ | |||
2010-09-28 | Implement a per-cpu held mutex counter if DIAGNOSTIC on all non-x86 platforms, | Miod Vallat | |
to complete matthew@'s commit of a few days ago, and drop __HAVE_CPU_MUTEX_LEVEL define. With help from, and ok deraadt@. | |||
2010-09-23 | Add pppx(4) to the cdevs of the remaining archs. | Claudio Jeker | |
OK dlg@ | |||
2010-09-22 | remove unused offset argument to rbus functions | Jonathan Gray | |
ok krw@ kettenis@ | |||
2010-08-30 | delete PROCFS we will never support | Theo de Raadt | |
2010-08-18 | - remove COMPAT_LINUX bits. these architectures are not targetted by the | Jasper Lievisse Adriaanse | |
linux emulation layer, nor will they in the future. ok miod@ | |||
2010-08-07 | No "\n" needed at the end of panic() strings. | Kenneth R Westerback | |
Bogus chunks pointed out by matthew@ and miod@. No cookies for marco@ and jasper@. ok deraadt@ miod@ matthew@ jasper@ macro@ | |||
2010-08-02 | enable owctr | Theo de Raadt | |
2010-07-24 | Switch hppa64 to timecounters. | Mark Kettenis | |
2010-07-24 | Convert PCI addresses to proper 64-bit physical addresses. | Mark Kettenis | |
2010-07-24 | Make pmap_extract() work for large pages. | Mark Kettenis | |
2010-07-24 | Fix PTE_PAGE(). | Mark Kettenis | |
2010-07-03 | No more ss(4) or usscanner(4). Unused, unloved and unmaintained. | Kenneth R Westerback | |
General huzzahs. "go for it" deraadt@ | |||
2010-07-02 | Pretend that softintr_establish() actually works. | Joel Sing | |
ok kettenis@ | |||
2010-07-02 | When we steal memory, return the VA for the memory that we have stolen and | Joel Sing | |
not the memory prior to it. Lots of help from oga@ ok kettenis@ | |||
2010-07-02 | Move common code for waking up writers on a tty into a function. | Nicholas Marriott | |
ok deraadt matthew millert | |||
2010-07-01 | Provide uvm constraints. | Joel Sing | |
ok kettenis@ thib@ | |||
2010-07-01 | Provide safepri. | Joel Sing | |
2010-07-01 | Fix incorrect function prototype. | Joel Sing | |
2010-07-01 | Add missing function prototypes. | Joel Sing | |
2010-07-01 | Provide mtsp() via cpufunc.h. | Joel Sing | |
2010-07-01 | Pull in atomic.h and intr.h. | Joel Sing | |
ok kettenis@ | |||
2010-07-01 | Add missing function prototypes and fix order of includes. | Joel Sing | |
2010-07-01 | Shuffle function prototypes, add missing include and add missing | Joel Sing | |
prototypes. ok kettenis@ | |||
2010-07-01 | Add stubs for soft interrupts. | Joel Sing | |
ok kettenis@ | |||
2010-07-01 | Partially sync atomic.h with hppa so that we get real atomic ops and some | Joel Sing | |
missing functions. ok kettenis@ | |||
2010-06-30 | remove compat_osf1 support from the kernel | Ted Unangst | |
ok deraadt miod | |||
2010-06-29 | Add support for mapping ACPI to PCI devices | Jordan Hargrave | |
ok kettenis, deraadt | |||
2010-06-29 | Add missing include. | Joel Sing | |
2010-06-29 | Remove COMPAT_HPUX. No one wanted to support it and its fewmets were | Philip Guenthe | |
blocking other cleanups ok miod@ | |||
2010-06-28 | Allow tty drivers to request larger buffers at attach time using a | Theo de Raadt | |
max-baud-rate hint. Adjust TTYHOG (the nearly full logic) to this new situation. The larger buffers are required by the very high speed KDDI devices in Japan (CF com, or USB ucom) so those are the only two drivers which currently ask for a larger buffer size. ok yasuoka miod | |||
2010-06-26 | Don't #include <sys/user.h> into files that don't need the stuff | Philip Guenthe | |
it defines. In some cases, this means pulling in uvm.h or pcb.h instead, but most of the inclusions were just noise. Tested on alpha, amd64, armish, hppa, i386, macpcc, sgi, sparc64, and vax, mostly by krw and naddy. ok krw@ | |||
2010-06-09 | Move declaration of cn_tab from dev/cons.c to dev/cninit.c, or appropriate | Miod Vallat | |
md files for ports which do not use dev/cninit.c. This gets rid of a common at kernel link time. feedback drahn@ ok deraadt@ | |||
2010-06-09 | Wire up device nodes for disk mapper. | Joel Sing | |
ok deraadt@ | |||
2010-06-01 | use --warn-common for linking (some arch's will show new warnings), and | Theo de Raadt | |
prefer binutils-compatible options in STRIPFLAGS (now that our non-binutils strip(1) can handle them too) ok drahn; miod kettenis (for parts) |