summaryrefslogtreecommitdiff
path: root/sys/boot/kshim/bsd_kernel.h
Commit message (Collapse)AuthorAgeFilesLines
* Move sys/boot to stand. Fix all references to new locationWarner Losh2017-11-141-647/+0
| | | | | | | Sponsored by: Netflix Notes: svn path=/head/; revision=325834
* Make the callout structure in the boot loader's kernel shim moreHans Petter Selasky2016-09-141-2/+2
| | | | | | | | | similar to the kernel one. MFC after: 1 week Notes: svn path=/head/; revision=305804
* Build fix. Add howmany() and nitems() macros to bootloader kernel shim.Hans Petter Selasky2016-04-261-0/+2
| | | | Notes: svn path=/head/; revision=298650
* Provide busdma stubs for loader/kshimWojciech Macek2016-01-221-1/+61
| | | | | | | | | | | Simple bus space stubs require the VA-PA mapping to be identical. Approved by: hselasky, cognet (mentor) Differential revision: https://reviews.freebsd.org/D4314 Notes: svn path=/head/; revision=294547
* Fix compilation errors in usb/kshimWojciech Macek2016-01-221-0/+3
| | | | | | | | | | | Remove old header from the include list and declare extern symbol for delay() function. Approved by: hselasky, cognet (mentor) Differential revision: https://reviews.freebsd.org/D5012 Notes: svn path=/head/; revision=294546
* Add support for exynos5_ehci in loaderZbigniew Bodek2015-11-271-0/+81
| | | | | | | | | | | | | Create new driver which initializes Arndale PHY and calls ehci_init Reviewed by: hselasky Submitted by: Wojciech Macek <wma@semihalf.com> Obtained from: Semihalf Sponsored by: Juniper Networks Inc. Differential Revision: https://reviews.freebsd.org/D4192 Notes: svn path=/head/; revision=291405
* Implement missing bus_space_subregion in kshimZbigniew Bodek2015-11-271-0/+2
| | | | | | | | | | | | | Add missing function, used by exynos5_ehci driver. Reviewed by: hselasky Submitted by: Wojciech Macek <wma@semihalf.com> Obtained from: Semihalf Sponsored by: Juniper Networks Inc. Differential Revision: https://reviews.freebsd.org/D4141 Notes: svn path=/head/; revision=291400
* Improve the realtime properties of USB transfers for embedded systemsHans Petter Selasky2015-08-141-1/+2
| | | | | | | | | | | | | | | | | | | | | | | like RPI-B and RPI-2. Description of problem: USB transfers can process data in their callbacks sometimes causing unacceptable latency for other USB transfers. Separate BULK completion callbacks from CONTROL, INTERRUPT and ISOCHRONOUS callbacks, and give BULK completion callbacks lesser execution priority than the others. This way USB audio won't be interfered by heavy USB ethernet usage for example. Further serve USB transfer completion in a round robin fashion, instead of only serving the most CPU hungry. This has been done by adding a third flag to USB transfer queue structure which keeps track of looping callbacks. The "command" callback function then decides what to do when looping. MFC after: 2 weeks Notes: svn path=/head/; revision=286773
* Define the ffs() function in the USB bootloader's global andHans Petter Selasky2014-12-051-0/+2
| | | | | | | independent header file. Notes: svn path=/head/; revision=275506
* Merge from CheriBSD:Brooks Davis2014-08-041-0/+496
Make the sysinit tool a build tool rather than building in with /usr/bin/cc and running it from OBJDIR. (It will be moved to usr.bin once a manpage is written and a few style cleanups are done.) Split the makefile bits for Hans' kernel shim layer into their own includable kshim.mk. Move USB support into a .mk file so loaders can include it. Notes: svn path=/head/; revision=269541