summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-06-29reduce disabled warnings with clangJonathan Gray
2020-06-29make pci_device_id var const to avoid discarding const warningJonathan Gray
2020-06-29make fbops const to avoid warning about discarding constJonathan Gray
found the hard way by deraadt@ on sparc64 fix suggested by kettenis@
2020-06-29remove now unused varJonathan Gray
found the hard way by deraadt@ on sparc64
2020-06-28Disable powerpc64 lazy binding, code was not for 64 bit ABIDale Rahn
DT_PPC_GOT is not used on powerpc64, delete.
2020-06-28Add processor specific dynamic tag values.Mark Kettenis
ok drahn@
2020-06-28Fix build errorDale Rahn
ok tb
2020-06-28Powerpc64 ld.so asm code needs to conform to Powerpc64 abi, not 32bit.Dale Rahn
ok kettenis@
2020-06-28vmd(8): Eliminate libevent state corruptionpd
libevent functions for com, pic and rtc are now only called on event_thread. vcpu exit handlers send messages on a dev pipe and callbacks on these events do the event management (event_add, evtimer_add, etc). Previously, libevent state was mutated by two threads, event_thread, that runs all the callbacks and the vcpu thread when running exit handlers. This could have lead to libevent state corruption. Patch from Dave Voutila <dave@sisu.io> ok claudio@ tested by abieber@ and brynet@
2020-06-28obviously powerpc64 will want pcidumpTheo de Raadt
2020-06-28reduce differences from src/*/installboot/MakefileTheo de Raadt
2020-06-28Use std instead of stw to store CR since we use std in sigsetjmp(3) andMark Kettenis
we use ld to load it again in longjmp(3).
2020-06-28Add stub implementation; derived from kvm_sh.c which has our preferredMark Kettenis
copyright license.
2020-06-28Fix grammar in comment.Mark Kettenis
2020-06-28Add MID_POWERPC64. These identifiers are only used for kernel core dumpsMark Kettenis
these days, so inventing our own numbers is fine. From drahn@
2020-06-28Add powerpc64 support.Mark Kettenis
2020-06-28Add powerpc64 bits. From drahn@Mark Kettenis
2020-06-28Add powerpc64 fenv bits; copied from powerpc. From drahn@Mark Kettenis
2020-06-28Switch back to bn_mul_mont_int since the bn_mul_mont_fpu64 code isn'tMark Kettenis
hooked up and the lack of a bn_mul_mont_int implementation results in undefined references.
2020-06-28Make long double the same as double for now on powerpc64 like we do onMark Kettenis
powerpc. This matched what FreeBSD does. ok patrick@
2020-06-28Add dummy getWCookie() implementation for powerpc64.Mark Kettenis
From drahn@
2020-06-28The 2nd and 3rd argument are pointers, so use the appropriate doublewordMark Kettenis
instructions. ok drahn@
2020-06-28state import should accept AF_INET/AF_INET6 onlyAlexandr Nedvedicky
Reported-by: syzbot+6fef0091252d57113bfb@syzkaller.appspotmail.com ok kn@
2020-06-28Use .Dv for SIOCTL_SEL, as we do for all other macrosAlexandre Ratchov
2020-06-28set fb_set_par and have register_framebuffer() do initial modesetJonathan Gray
2020-06-28Allow switching between alternate devices (-F option) with sndioctl(1)Alexandre Ratchov
2020-06-28Add a new SIOCTL_SEL control type to select one of a predefined set ofAlexandre Ratchov
mutually exclusive values. It's the same as SIOCTL_LIST except that exactly one list element may be selected.
2020-06-28On hotplug event call driver specific fb_set_par if available instead ofJonathan Gray
directly calling drm_fb_helper_set_par(). Avoids a problem where rc output and login prompt were not seen without switching to a vt and back on some intel machines with skylake and newer graphics. diff from stsp@ who tracked this problem down ok stsp@ kettenis@
2020-06-28set fb_set_par and have register_framebuffer() do initial modesetJonathan Gray
ok stsp@ kettenis@
2020-06-28call fb_set_par() function pointer in register_framebuffer() if setJonathan Gray
ok stsp@ kettenis@
2020-06-28Make the copyin(9) functions handle bad addresses.Mark Kettenis
2020-06-27/dev/openpromMark Kettenis
2020-06-27/dev/{null,mem,kmem,...}Mark Kettenis
2020-06-27Garbage collect SDEV_2NDBUS. Only used in isp(4) which was removed inKenneth R Westerback
2015 in favour of ql*(4).
2020-06-27sync perl cleanupAndrew Fresh
2020-06-27Generate appropriate signals for various user traps.Mark Kettenis
Add some debugging printfs to assist with debugging userland code.
2020-06-27Remove some customizations from the perl buildAndrew Fresh
This was originally done so that other things in-tree such as vi could link to libperl and to support non-shared vax. This brings us more in-line with upstream and makes things more understandable. It now links libperl.so to libm, which some software needs, and stops building and installing libperl.a. OK bluhm@
2020-06-27Prevent the use of jump tables on powerpc64 as well.Mark Kettenis
ok patrick@, drahn@
2020-06-27remove the spacing around "arp | rarp", as prompted by schwarze;Jason McIntyre
2020-06-27Nuke trailing whitespace.Kenneth R Westerback
2020-06-27don't try to expand alignment using __aligned(16) on local variables.Theo de Raadt
that stops being normal C. the object type has to be sufficient, if it needed larger alignment such a type or a union should be used instead. (breaks landisk gcc, for one)
2020-06-27convert macppc, octeon, and loongson to use MI installboot, removingTheo de Raadt
special case scripting in install.md. (macppc still requires manual steps for HFS bootmode) tested by krw, visa, gkoehler
2020-06-27macro fixes; from matthew martinJason McIntyre
2020-06-27Support using the FPU and AltiVec registers in userland. The registers areMark Kettenis
unconditionally saved upon context switch when they are in use.
2020-06-27Let traps save and restore VRSAVE.Mark Kettenis
2020-06-27Let sigcode set up a frame such that the signal handler has something toMark Kettenis
scribble its link register into. Also, call exit(2) if sigreturn(2) returns (which should not happen).
2020-06-27No need to bzero()/memset() 'struct scsibus_attach_args' variablesKenneth R Westerback
immediately before initializing the only field in the struct.
2020-06-27Add missing label.Mark Kettenis
2020-06-27Improve description of field splitting and document FS special cases.Todd C. Miller
OK jmc@ kn@
2020-06-27Replace TAILQ concatenation loops with TAILQ_CONCATbket
OK djm@