Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-07-06 | Move pci_msi_enable() out of the vpci(4) driver into the MD pci(4) code. | Mark Kettenis | |
Soon to be used by pyro(4) as well. | |||
2011-07-06 | Eliminate redundant buf validation checks in xxstrategy() methods now | Matthew Dempsky | |
that they're implemented consistently in bounds_check_with_label(). Also, per krw's request, change bounds_check_with_label() to return 0 if the checks succeed, and change the drivers to test == -1 instead of <= 0. (Man page update to follow; intentionally omitting arch/vax/mba/hp.c from this commit because it doesn't even build currently and miod@ promises to kill it soon.) ok krw@ | |||
2011-07-06 | That file is supposed to have been removed ages ago. | Miod Vallat | |
2011-07-06 | make clean should clean .d files, so as to leave a fresh canvas. | Ted Unangst | |
ok beck deraadt | |||
2011-07-06 | Oops. I did an oga. Put back important line (set b_bcount) I didn't mean to ↵ | Kenneth R Westerback | |
delete. | |||
2011-07-06 | Make alpha consistent with our other architectures by using "long | Matthew Dempsky | |
long" for __off_t. This is a C++ ABI bump, but martynas@ already bumped libstdc++. Discussed and requested by many on icb. | |||
2011-07-05 | Add DIOCGPDINFO to rxioctl(), as a synonym for DIOCGDINFO, the last | Kenneth R Westerback | |
place it was missing. Delete now redundant calls to DIOCGDINFO when getting physical disk info in disklabel(8) and fdisk(8). Reminded by a fdisk discussion with Andres Perera on tech@. ok deraadt@ | |||
2011-07-05 | Replace last remaining users of link->scsibus with | Matthew Dempsky | |
link->bus->sc_dev.dv_unit. | |||
2011-07-05 | Don't write /boot to sector 0 on non-floppy devices. Non-floppy | Kenneth R Westerback | |
devices must have an OpenBSD MBR partition to install /boot into. But search anything except floppy devices (e.g. vnd) for such a partition. Feedback & ok deraadt@ | |||
2011-07-05 | More non-512-byte sector groundwork. Don't let disklabel hint that | Kenneth R Westerback | |
a ffs frag size can be less than the d_secsize of the disk. Make sure amd64 writedisklabel() puts the disklabel where readdoslabel() will read it. Tweak i386/amd64 installboot/biosboot so sectors are indeed used where sectors are claimed. Lets me fdisk, newfs, mount and installboot onto 2048 and 4096 byte sector devices. Other filesystem utilites will still hold surprises. Note that actually booting from such devices will await BIOSen that acknowledge such devices as bootable. ok guenther@ | |||
2011-07-05 | N: Thou shalt not call hardclock() with biglock held. | Owain Ainsworth | |
i386 disobeys the Nth commandment. Fix this. While here, make i386 and amd64 definitions of iplclock and statclock match. ok art@, kettenis@ | |||
2011-07-05 | remove comment: yes, they should be independent | Theo de Raadt | |
2011-07-05 | Add disklabel defines for ia64. Okay krw@. | Paul Irofti | |
2011-07-05 | Recommit the reverted sigacts change now that the NFS use-after-free | Philip Guenthe | |
problem has been tracked down. This fixes the sharing of the signal handling state: shared bits go in sigacts, per-rthread bits goes in struct proc. ok deraadt@ | |||
2011-07-05 | disable COMPAT_AOUT, it's useless now, but leave the code in the tree | Ted Unangst | |
to encourage someone to convert remaining a.out archs to elf. :) ok deraadt | |||
2011-07-05 | Remove the osyscall() kernel-entry; we do not use it anymore. | Theo de Raadt | |
ok kettenis guenther tedu | |||
2011-07-04 | In fact using our own limits.h is the way to go. Okay kettenis@. | Paul Irofti | |
2011-07-04 | Clean-up NETBSD specific defines. Prodded by kettenis@. | Paul Irofti | |
2011-07-04 | Add ia64 kernel include files needed for userland. | Paul Irofti | |
Okay deraadt@, drahn@, kettenis@. | |||
2011-07-04 | remove all the compat svr4 files | Ted Unangst | |
2011-07-04 | remove compat_svr4 support. ok deraadt | Ted Unangst | |
2011-07-04 | Finish ansification. | Mark Kettenis | |
2011-07-04 | Give each pmap its own space ID. The current algorithm is silly, as we'll wrap | Mark Kettenis | |
and might end up with duplicates, but that's not an issue until we're multi-user. Change the TLB miss code to enter mappings with the right protection ID. Properly switch pmaps on context switches. This makes the copyins we do before starting init actually work instead of failing with EFAULT. | |||
2011-07-04 | Nuke the useless D_KQFILTER flag and just check that d_kqfilter is | Nicholas Marriott | |
filled in. Move D_CLONE down to 0x0001 as suggested by thib. ok deraadt thib | |||
2011-07-04 | Force the sigreturn syscall to return to userspace via iretq by setting | Philip Guenthe | |
the MDP_IRET flag in md_proc, then switch sigcode to enter the kernel via syscall instead of int$80. Rearrange the return paths in both the sysretq and iretq paths to reduce how long interrupts are blocked and shave instructions. ok kettenis@, extra testing krw@ | |||
2011-07-04 | Fix typo; ok ariane@ | Philip Guenthe | |
2011-07-04 | Let custom nlist.c check ELF, but use the i386 values EM_I386 and | Kenneth R Westerback | |
ELFCLASS32 since we are building a 32-bit executable. Which is why we have a custom nlist.c here. Suggested by drahn@. ok drahn@ "looks good" deraadt@ | |||
2011-07-03 | Tweak the dmesg output a bit. From brad@ | YASUOKA Masahiko | |
ok yasuoka@ | |||
2011-07-03 | Enable nvt(4). | Mark Kettenis | |
2011-07-03 | Bring in millert@ thinko fix for '_' handling from r1.47 of | Kenneth R Westerback | |
libc/gen/nlist.c. | |||
2011-07-03 | a_sym is an integer not a pointer so check == 0, not == NULL. Some | Kenneth R Westerback | |
off_t casts to parameters for pread(). Whitespace and comment sync. All changes made long ago in libc/gen/nlist.c. More delta reduction. | |||
2011-07-03 | Add blank line to keep consistent spacing. From brad@ | YASUOKA Masahiko | |
2011-07-03 | Rewrite the multicast handling for OpenBSD. From brad@ | YASUOKA Masahiko | |
ok and tested yasuoka@ | |||
2011-07-03 | - add missing #include "bpfilter.h" on if_cnmac. | YASUOKA Masahiko | |
- delete #include <sys/cdefs.h> because it's unnecessary. ok brad@ | |||
2011-07-03 | Fix boot dump on bigmem machines. | Owain Ainsworth | |
Allocate a bouncebuffer at boot time and bounce all pages over 0xffffffff through it. ``looks right but not tested'' miod@, ok krw (who watched me test it on his monster laptop. | |||
2011-07-03 | ANSI-fy, de-register as was done in lib/gen/nlist.c years ago. Reduces delta to | Kenneth R Westerback | |
make differences obvious. | |||
2011-07-03 | Add more useful $OpenBSD$ tag. | Kenneth R Westerback | |
2011-07-03 | Add missing $OpenBSD $ tag. | Kenneth R Westerback | |
2011-07-03 | Change name of pointer to partition from pl to pp, as is used everywhere ↵ | Kenneth R Westerback | |
else, No functional change. | |||
2011-07-03 | Rip out and burn support for UVM_HIST. | Owain Ainsworth | |
The vm hackers don't use it, don't maintain it and have to look at it all the time. About time this 800 lines of code hit /dev/null. ``never liked it'' tedu@. ariane@ was very happy when i told her i wrote this diff. | |||
2011-07-03 | Do as all other direct archs do and map contig memory through the direct | Owain Ainsworth | |
map in bus_dmamem_map(). ok miod@ | |||
2011-07-03 | Remove config_activate() and DVACT_ACTIVATE. PCMCIA's the only thing | Matthew Dempsky | |
that's ever used it, and it's long since been changed to use DVACT_{QUIESCE,SUSPEND,RESUME} instead. ok deraadt@, dlg@; miod@ also agreed with this idea when I brought it up a few weeks ago | |||
2011-07-02 | kqueue attach functions should return an errno or 0, not a plain 1. Fix | Nicholas Marriott | |
the obvious cases to return EINVAL and ENXIO. ok tedu deraadt | |||
2011-07-02 | Per recommandation in the the sparc docs, use unlocked reads when | Philip Guenthe | |
spinning on a contended lock. ok kettenis@ | |||
2011-06-30 | ansi, no binary change | Jonathan Gray | |
2011-06-29 | Replace all instances of "scsibus* at hba?" with a single "scsibus* at | Matthew Dempsky | |
scsi?" rule, similar to how ethernet PHY drivers attach at mii. Discussed on icb. | |||
2011-06-29 | dmesg@ says pss has never been seen in the wild and the manpage says it | Ted Unangst | |
doesn't work. goodbye. ok miod | |||
2011-06-29 | stop printing in apm, acpi doesn't do this. remove APM_NOPRINT option. | Ted Unangst | |
kind of ok deraadt | |||
2011-06-28 | Remove the ega driver which is not referenced by any GENERIC kernel. | Matthieu Herrb | |
ok tedu@, "I won't mourn it" miod@, "no objection" oga@, "I won't cry" todd@, "fine, even happy" nick@ | |||
2011-06-27 | If an shared interrupt handler returns -1, continue running other handlers. | Theo de Raadt | |
If it returns 1, skip calling the handlers further down the list. The interrupt pin will remain asserted, and the handler will be called on the next go-around. This makes sparc64 "similar" to other architectures. ok kettenis jsing |