summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2016-09-18Use a locator (named "early") to let designated drivers attach before others.Mark Kettenis
ok patrick@, jsg@
2016-09-18Bump boot loader versions due to bcrypt pbkdf support.Joel Sing
2016-09-18Add bcrypt pbkdf support to the softraid crypto boot loader code.Joel Sing
Based on a diff from djm@
2016-09-18Correctly handle short read()s in the libsa gzip handling lseek(). AlsoJoel Sing
avoid masking the errno from a failed read(). ok guenther@ tom@
2016-09-18Fix a bug in the bounce buffer handling of BIOS disk I/O.Joel Sing
Currently, if a buffer crosses a 64KB boundary, a bounce buffer is allocated, however it is assumed that this new buffer does not cross the 64KB boundary. In the case of i386 fdboot, it just so happens that (due to the size of fdboot and heap allocations) UFS gets allocated a 4KB buffer that crosses a 64KB boundary, then biosd_io() allocates a bounce buffer, which also crosses a 64KB boundary. At this point the BIOS gets grumpy and refuses to read from the disk. Further clean up to come from tom@.
2016-09-18option INSECURE is obsoleteTheo de Raadt
2016-09-18option INSECURE is obsoleteTheo de Raadt
2016-09-18as is done on amd64, allow using CTF to lookup the function parameters.Jasper Lievisse Adriaanse
ok mpi@
2016-09-18- inline db_ctf_nsyms() into it's only caller. the value remains cached andJasper Lievisse Adriaanse
won't change, so there's no reason to call it again. - remove explicit return from void function ok mpi@
2016-09-18add missing call to db_ctf_init().Jasper Lievisse Adriaanse
this was part of the larger diff that was ok guenther@ mpi@, somehow I forgot to commit this particular piece.
2016-09-18Fix compilation by replacing old m_copym2() usage with the newerRafael Zalamena
m_dup_pkt(). While at it: fix comment and use m_dup_pkt() to align packets instead of swofp_mbuf_align(). ok mikeb@, yasuoka@
2016-09-18Ensure that the device descriptor ``bMaxPacketSize'' value is usableMartin Pieuchot
before using it as the ``wMaxPacketSize'' of the default endpoint. This prevents host controller drivers from using incorrect value, in particular 0, that makes ehci(4) crash. While here do the 0xff -> 512 conversion for super speed devices. Crash found with a facedancer21. ok deraadt@
2016-09-17Report a LAPIC address override entry in the dmesg if it doesn't matchPhilip Guenther
the normal one ok kettenis@ mlarkin@
2016-09-17Make the flag tests consistent in buf_realloc_pages() and explain what'sPhilip Guenther
going on more clearly ok beck@ tedu@
2016-09-17rename ddb/db_ctf.h to sys/ctf.h which is the expected location for the publicJasper Lievisse Adriaanse
CTF bits. ok kettenis@ mpi@
2016-09-17move the .SUNW_ctf section name definition to exec_elf.h and document it in ↵Jasper Lievisse Adriaanse
elf(5) feedback from guenther@ ok guenther@ kettenis@
2016-09-17Use the asm global register extension for the TCB pointer in userspacePhilip Guenther
as it's simpler to understand and generates better code. ok kettenis@
2016-09-17garbage collect dead prototypeJasper Lievisse Adriaanse
ok kettenis@ mpi@
2016-09-17remove unused pmap_dump functionsMike Larkin
ok kettenis, deraadt
2016-09-17*** empty log message ***Peter Hessler
2016-09-17remove unused arcofi_drain() routineAlexandre Ratchov
2016-09-17remove duplicated CPUIDECX_PDCM useJonathan Gray
ok mlarkin@
2016-09-17Document why <sys/core.h> is still neededPhilip Guenther
2016-09-17NPF > 0 is a better test than SMALL for presence of pf.Ted Unangst
ok deraadt
2016-09-17clean old cruft out of mbstatTheo de Raadt
ok henning bluhm claudio
2016-09-16Switch over to the generic RNDIS headerMike Belopuhov
2016-09-16Suppress debugging output about CSD entries that say nothing we care aboutPhilip Guenther
and improve the output for those we might. output examples from mikeb@ ok kettenis@
2016-09-16teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64Jasper Lievisse Adriaanse
to lookup the number of function parameters. however having this basic facility allows us to expand it's usage. currently hidden behind the (disabled) DDBCTF kernel option as some of the required tools are not available in base yet. in addition to that one also needs recent bootblocks that load the .SUNW_ctf kernel section. discussed with mpi@ over many a cider and ale in cambridge feedback and ok guenther@ mpi@
2016-09-16drop unneeded casting noiseJasper Lievisse Adriaanse
pointed out by guenther@ in a separate diff
2016-09-16Define PT_ARM_EXIDX.Mark Kettenis
ok guenther@
2016-09-16Fix the data storage size check. When we exceed the amount of availableRafael Zalamena
storage within an mbuf packet header we have to allocate a cluster. Pointed out by mikeb@ ok mikeb@
2016-09-16unifdef SAVE_MEMORY which is no longer set nor usedJasper Lievisse Adriaanse
ok deraadt@ millert@
2016-09-16Switch urndis(4) over to the generic RNDIS headerMike Belopuhov
2016-09-16Introduce a common header files for RNDIS protocol definitionsMike Belopuhov
that both urndis(4) and hvn(4) can use.
2016-09-16Enable Hyper-V guest driversMike Belopuhov
2016-09-16Reconfigure interface capabilities after switching trunkproto; ok mpiMike Belopuhov
2016-09-16move RBT_PROTOTYPE under #ifdef _KERNELDavid Gwynne
2016-09-16put RBT_PROTOTYPE inside #ifdef _KERNELDavid Gwynne
2016-09-16move the namecache_rb_tree from RB macros to RBT functions.David Gwynne
i had to shuffle the includes a bit. all the knowledge of the RB tree is now inside vfs_cache.c, and all accesses are via cache_* functions.
2016-09-16move buf_rb_bufs from RB macros to RBT functionsDavid Gwynne
i had to shuffle the order of some header bits cos RBT_PROTOTYPE needs to see what RBT_HEAD produces.
2016-09-16fix some DEBUG code so its using the right rb tree codeDavid Gwynne
2016-09-16fix spelling of RBT_NEXT in a commentDavid Gwynne
2016-09-16move uvm_pmemrange_addr from RB macros to RBT functionsDavid Gwynne
2016-09-16move the vm_page struct from being stored in RB macro trees to RBT functionsDavid Gwynne
vm_page structs go into three trees, uvm_objtree, uvm_pmr_addr, and uvm_pmr_size. all these have been moved to RBT code. this should give us a decent chunk of code space back.
2016-09-16move uaddr_free_rbtree from RB macros to RBT functionsDavid Gwynne
2016-09-16move the uvm_map_addr RB tree from RB macros to the RBT functionsDavid Gwynne
this tree is interesting because it uses all the red black tree features, specifically the augment callback thats called on tree topology changes, and it poisons and checks entries as theyre removed from and inserted back into the tree respectively. ok stefan@
2016-09-16remove a trailing \David Gwynne
i mustnt have cleaned this up properly when i copied the tree.h code from Ilya Kaliman
2016-09-15Add omwugen(4) a driver for the TI logic that generates wakeup eventsJonathan Gray
and routes interrupts to the GIC/ampintc(4). The code is derived from imxgpc(4) which has the same role on imx. In the pandaboard device tree wugen is the default interrupt parent and is used for the hsmmc nodes. Adding this driver makes ommmc(4) interrupts work again on pandaboard. ok kettenis@
2016-09-15adjust whitespace and remove an unused structPeter Hessler
2016-09-15protect a kernel only structure with _KERNEL, means userland doesn'tPeter Hessler
need extra includes