Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-10-01 | Remove more blinding trailing whitespace. | Kenneth R Westerback | |
2015-09-30 | Use consistant whitespace/comments for #define'ing LABELSECTOR, | Kenneth R Westerback | |
LABELOFFSET and MAXPARTITIONS. Easier on the eye when scanning through all these files. No functional change. | |||
2015-09-28 | Mechanical changes from manual buf set up to readdisksector(). | Kenneth R Westerback | |
ok deraadt@ | |||
2015-09-26 | lint is dead and C99 may be old enough to drive a car: delete LONGLONG | Philip Guenther | |
comments ok millert@ | |||
2015-09-13 | Locators are long now. | Miod Vallat | |
2015-09-13 | Needs <sys/systm.h> before <sys/syscall_mi.h> now. | Miod Vallat | |
2015-08-30 | Provide remaining arch with END() macro for setting calculated size on | Philip Guenther | |
symbols in ASM ok deraadt@ mpi@ | |||
2015-08-29 | _NLIST_DO_ELF is no longer needed: it's the only option | Philip Guenther | |
ok deraadt@ | |||
2015-07-17 | remove obsolete INET kernel option | Ted Unangst | |
2015-07-04 | Fix misleading indent | Miod Vallat | |
2015-07-04 | get rid of some if 0 code that refers to b_actf. | David Gwynne | |
ok miod@ | |||
2015-07-04 | replace the manual buf list management with a fifo bufq. it simplifies | David Gwynne | |
the code in some cases and makes it generally more readable. this has been tested in simh, real hardware may or may not work anyway. ok miod@ | |||
2015-07-04 | count outgoing packets like every other driver. | David Gwynne | |
ok miod@ | |||
2015-06-27 | Pass bus_space tag and handles to the QE_{WR,RD}CR macros, instead of assuming | Miod Vallat | |
there's an `sc' local variable. This allows us to no longer have to fake a softc at match time. | |||
2015-06-27 | Memory leak in attach if uballoc() fails; Brainy/Maxime Villard | Miod Vallat | |
2015-06-24 | Increment if_ipackets in if_input(). | Martin Pieuchot | |
Note that pseudo-drivers not using if_input() are not affected by this conversion. ok mikeb@, kettenis@, claudio@, dlg@ | |||
2015-06-17 | Make kernel text read-only and unreadable from userland, and remove the bogus | Miod Vallat | |
comment about the emulation code requiring kernel text to be readable from userland. Add a few DIAGNOSTIC checks for rogue ptes passed to rmpage(). Make sure the pte extent operations and update_pcbs() run at >= IPL_SCHED. | |||
2015-05-13 | test mbuf pointers against NULL not 0 | Jonathan Gray | |
ok krw@ miod@ | |||
2015-05-13 | Remove useless "bridge.h" include. | Martin Pieuchot | |
ok miod@ | |||
2015-05-11 | Remove all audio format conversion code from the kernel (btw holding | Alexandre Ratchov | |
the kernel_lock), as we already do better conversions in user-mode. Yet, no need for every single driver to fiddle with the conversion code as they are done transparently by common MI code. With help from armani and miod, support from mpi ok armani@ | |||
2015-05-07 | fix indentation | Jonathan Gray | |
ok miod@ | |||
2015-05-05 | emul_native is only used for kernel threads which can't dump core, so | Philip Guenther | |
delete coredump_trad(), uvm_coredump(), cpu_coredump(), struct md_coredump, and various #includes that are superfluous. This leaves compat_linux processes without a coredump callback. If that ability is desired, someone should update it to use coredump_elf32() and verify the results... ok kettenis@ | |||
2015-05-02 | add missing splx calls | Jonathan Gray | |
ok miod@ | |||
2015-04-30 | Remove SIZE_MAX from limits.h. It was added years ago before we | Todd C. Miller | |
had a proper stdint.h. No ports fallout. OK guenther@ miod@ | |||
2015-04-07 | Convert to if_input(). | Martin Pieuchot | |
Tested with simh using a floppy image built by miod@ | |||
2015-03-28 | Convert to if_input(), tested by miod@ | Martin Pieuchot | |
2015-02-15 | Change pmap_remove_holes() to take a vmspace instead of a map as its argument. | Miod Vallat | |
Use this on vax to correctly pick the end of the stack area now that the stackgap adjustment code will no longer guarantee it is a fixed location. | |||
2015-02-10 | Convert to uiomove(). | Miod Vallat | |
ok guenther@ | |||
2015-02-10 | First step towards making uiomove() take a size_t size argument: | Miod Vallat | |
- rename uiomove() to uiomovei() and update all its users. - introduce uiomove(), which is similar to uiomovei() but with a size_t. - rewrite uiomovei() as an uiomove() wrapper. ok kettenis@ | |||
2015-02-09 | Move consistency check within #ifdef DIAGNOSTIC | Miod Vallat | |
2015-02-07 | typos | Miod Vallat | |
2015-02-07 | Shrink the I/O map from 64KB to 16KB. This map is only used for | Miod Vallat | |
smaller-than-a-logical-page allocations, while logical page size and larger are passed to uvm. So in the worst case, the kernel will end up needing about 20 vax pages out of it: 1 for non-console serial chips, up to 2 per Ethernet controller, 1 per SCSI controller, up to 3 for the clock or SSC chip, 1 for the cpmbox, up to 3 for model-specific mappings (VS_REGS, KA650 stuff), 1 for the leds, and up to 3 for frame buffer registers. Thus shrinking from 128 pages to 32 is still large enough. | |||
2015-02-07 | Provide symbolic defines for the ICCS register magic bits, and use them | Miod Vallat | |
rather than hardcoded values. | |||
2015-02-01 | Gather the scattered (and sometimes duplicated) qbus address and size defines | Miod Vallat | |
to a single place. Get rid of the unused defines pertaining to older vax models we dropped support for years ago. | |||
2015-02-01 | Do not write to the doorbell register at uba attach time - this causes a | Miod Vallat | |
bus error which triggers a machine check, but this was not detected when KA60 support was written, because machine checks were silently ignored if (cold) back then. | |||
2015-02-01 | Pass the correct machine check frame to the machine check handler. | Miod Vallat | |
This bug was 12 days away from having lived for 20 years. | |||
2015-01-20 | Move ps_strings "after" the random stackgap. This makes its location a | Mark Kettenis | |
per-process value, and therefpore turns the VM_PSSTRINGS sysctl into a per-process one as well. This gets rid of a pointer to the bottom of the stack at a fixed location. Also clears the road for unmapping the stackgap. ok deraadt@ | |||
2015-01-13 | for the install: target, use cmp as a rough attempt for avoiding repeated | Theo de Raadt | |
make install from Simon Nicolussi ok jsing tedu | |||
2015-01-11 | switch prototype warnings to implicit-declaration warnings. | Ted Unangst | |
This should catch all the same bad cases, but be a little less aggravating in circumstances where a prototype isn't necessary ok deraadt | |||
2014-12-23 | Pass real sizes to free() | Miod Vallat | |
2014-12-23 | Fix an obvious free() argument misuse which has been there since r1.1. | Miod Vallat | |
2014-12-22 | unifdef INET | Ted Unangst | |
2014-12-17 | Prefer MADV_* over POSIX_MADV_* in kernel for consistency: the latter | Philip Guenther | |
doesn't have all the values and therefore can't be used everywhere. ok deraadt@ kettenis@ | |||
2014-12-15 | Use MAP_INHERIT_* for the 'inh' argument to the UMV_MAPFLAG() macro, | Philip Guenther | |
eliminating the must-be-kept-in-sync UVM_INH_* macros ok deraadt@ tedu@ | |||
2014-12-10 | retire shutdown hooks; ok deraadt, krw | Mike Belopuhov | |
2014-11-25 | A few reliability fixes: | Miod Vallat | |
- protect pv lists with splvm. - try to return as soon as possible from pmap_rmproc(). - correctly maintain wired pages statistics. - invoke pmap_remove_pcb() at splsched to avoid racing the scheduler. | |||
2014-11-18 | Nuke some obvious #include duplications. | Kenneth R Westerback | |
ok espie@ deraadt@ millert@ tedu@ | |||
2014-11-17 | Two additional POSIX_MADV_RANDOM conversions | Theo de Raadt | |
2014-11-16 | Replace a plethora of historical protection options with just | Theo de Raadt | |
PROT_NONE, PROT_READ, PROT_WRITE, and PROT_EXEC from mman.h. PROT_MASK is introduced as the one true way of extracting those bits. Remove UVM_ADV_* wrapper, using the standard names. ok doug guenther kettenis | |||
2014-11-05 | remove uneeded bpf includes | Jonathan Gray | |
ok miod@ |