| #
b670c9ba
|
| 11-Jun-2025 |
Ahmad Khalifa <vexeduxr@FreeBSD.org> |
newbus: replace leftover device unit wildcards
Reviewed by: imp, jhb Approved by: imp (mentor) Differential Revision: https://reviews.freebsd.org/D50913
|
| #
40d7ba08
|
| 11-Jan-2025 |
John Baldwin <jhb@FreeBSD.org> |
stand/kshim: Replace devclass_equal with calls to strcmp
Reviewed by: imp, markj, emaste Differential Revision: https://reviews.freebsd.org/D48412
|
| #
8e4535ee
|
| 11-Jan-2025 |
John Baldwin <jhb@FreeBSD.org> |
stand/kshim: Implement bus_detach_children
While here, update bus_generic_detach to delete devices as in the kernel.
Reviewed by: imp, markj Differential Revision: https://reviews.freebsd.org/D48410
|
| #
ee15875c
|
| 11-Jan-2025 |
John Baldwin <jhb@FreeBSD.org> |
stand/kshim: Update for devclass being removed from DRIVER_MODULE
The kshim code abused the devclass argument to DRIVER_MODULE in some odd ways. Instead, refactor the devclass handling to more clos
stand/kshim: Update for devclass being removed from DRIVER_MODULE
The kshim code abused the devclass argument to DRIVER_MODULE in some odd ways. Instead, refactor the devclass handling to more closely mirror what new-bus does in the kernel by having a linked list of devclasses looked up by name and associate devices with a devclass.
Devices are now only associated with a module while probing and attaching.
Reviewed by: imp, markj Differential Revision: https://reviews.freebsd.org/D48409
show more ...
|
| #
4378bd38
|
| 11-Jan-2025 |
John Baldwin <jhb@FreeBSD.org> |
stand/kshim: Replace bus_generic_attach with bus_attach_children
Fixes: 18250ec6c089 Replace calls to bus_generic_attach with bus_attach_children Differential Revision: https://reviews.freebsd.org/D
stand/kshim: Replace bus_generic_attach with bus_attach_children
Fixes: 18250ec6c089 Replace calls to bus_generic_attach with bus_attach_children Differential Revision: https://reviews.freebsd.org/D48404
show more ...
|
| #
2a63c3be
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c comment pattern
Remove /^/[*/]\s*\$FreeBSD\$.*\n/
|
| #
cc7b5411
|
| 07-Dec-2020 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Add missing busdma prototypes for load and unload and implement dummy sync function for kernel bootloader shim code.
MFC after: 1 week Sponsored by: Mellanox Technologies // NVIDIA Networking
|
| #
34602358
|
| 07-Dec-2020 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Tidy up code a bit. Add missing section comments. No functional change.
MFC after: 1 week Sponsored by: Mellanox Technologies // NVIDIA Networking
|
| #
b670c9ba
|
| 11-Jun-2025 |
Ahmad Khalifa <vexeduxr@FreeBSD.org> |
newbus: replace leftover device unit wildcards
Reviewed by: imp, jhb Approved by: imp (mentor) Differential Revision: https://reviews.freebsd.org/D50913
|
| #
40d7ba08
|
| 11-Jan-2025 |
John Baldwin <jhb@FreeBSD.org> |
stand/kshim: Replace devclass_equal with calls to strcmp
Reviewed by: imp, markj, emaste Differential Revision: https://reviews.freebsd.org/D48412
|
| #
8e4535ee
|
| 11-Jan-2025 |
John Baldwin <jhb@FreeBSD.org> |
stand/kshim: Implement bus_detach_children
While here, update bus_generic_detach to delete devices as in the kernel.
Reviewed by: imp, markj Differential Revision: https://reviews.freebsd.org/D48410
|
| #
ee15875c
|
| 11-Jan-2025 |
John Baldwin <jhb@FreeBSD.org> |
stand/kshim: Update for devclass being removed from DRIVER_MODULE
The kshim code abused the devclass argument to DRIVER_MODULE in some odd ways. Instead, refactor the devclass handling to more clos
stand/kshim: Update for devclass being removed from DRIVER_MODULE
The kshim code abused the devclass argument to DRIVER_MODULE in some odd ways. Instead, refactor the devclass handling to more closely mirror what new-bus does in the kernel by having a linked list of devclasses looked up by name and associate devices with a devclass.
Devices are now only associated with a module while probing and attaching.
Reviewed by: imp, markj Differential Revision: https://reviews.freebsd.org/D48409
show more ...
|
| #
4378bd38
|
| 11-Jan-2025 |
John Baldwin <jhb@FreeBSD.org> |
stand/kshim: Replace bus_generic_attach with bus_attach_children
Fixes: 18250ec6c089 Replace calls to bus_generic_attach with bus_attach_children Differential Revision: https://reviews.freebsd.org/D
stand/kshim: Replace bus_generic_attach with bus_attach_children
Fixes: 18250ec6c089 Replace calls to bus_generic_attach with bus_attach_children Differential Revision: https://reviews.freebsd.org/D48404
show more ...
|
| #
2a63c3be
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c comment pattern
Remove /^/[*/]\s*\$FreeBSD\$.*\n/
|
| #
cc7b5411
|
| 07-Dec-2020 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Add missing busdma prototypes for load and unload and implement dummy sync function for kernel bootloader shim code.
MFC after: 1 week Sponsored by: Mellanox Technologies // NVIDIA Networking
|
| #
34602358
|
| 07-Dec-2020 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Tidy up code a bit. Add missing section comments. No functional change.
MFC after: 1 week Sponsored by: Mellanox Technologies // NVIDIA Networking
|
| #
ca987d46
|
| 14-Nov-2017 |
Warner Losh <imp@FreeBSD.org> |
Move sys/boot to stand. Fix all references to new location
Sponsored by: Netflix
|
| #
e099b90b
|
| 22-Feb-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
sys: Replace zero with NULL for pointers.
Found with: devel/coccinelle MFC after: 3 weeks Differential Revision: https://reviews.freebsd.org/D9694
|
| #
d3bf5efc
|
| 17-Oct-2016 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Fix device delete child function.
When detaching device trees parent devices must be detached prior to detaching its children. This is because parent devices can have pointers to the child devices i
Fix device delete child function.
When detaching device trees parent devices must be detached prior to detaching its children. This is because parent devices can have pointers to the child devices in their softcs which are not invalidated by device_delete_child(). This can cause use after free issues and panic().
Device drivers implementing trees, must ensure its detach function detaches or deletes all its children before returning.
While at it remove now redundant device_detach() calls before device_delete_child() and device_delete_children(), mostly in the USB controller drivers.
Tested by: Jan Henrik Sylvester <me@janh.de> Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D8070 MFC after: 2 weeks
show more ...
|
| #
8393643c
|
| 14-Sep-2016 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Make the callout structure in the boot loader's kernel shim more similar to the kernel one.
MFC after: 1 week
|
| #
a8d8da1b
|
| 22-Jan-2016 |
Wojciech Macek <wma@FreeBSD.org> |
Provide busdma stubs for loader/kshim
Simple bus space stubs require the VA-PA mapping to be identical.
Approved by: hselasky, cognet (mentor) Differential revision: https://revie
Provide busdma stubs for loader/kshim
Simple bus space stubs require the VA-PA mapping to be identical.
Approved by: hselasky, cognet (mentor) Differential revision: https://reviews.freebsd.org/D4314
show more ...
|
| #
6a5289b0
|
| 27-Nov-2015 |
Zbigniew Bodek <zbb@FreeBSD.org> |
Add support for exynos5_ehci in loader
Create new driver which initializes Arndale PHY and calls ehci_init
Reviewed by: hselasky Submitted by: Wojciech Macek <wma@semihalf.com> Obtained from: Se
Add support for exynos5_ehci in loader
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
show more ...
|
| #
5bb01ba3
|
| 27-Nov-2015 |
Zbigniew Bodek <zbb@FreeBSD.org> |
Run callouts during infinite waiting inside cv_wait
During cv_wait we may be waiting for an event triggered by callout. Run callbacks here to avoid code blocking.
Reviewed by: hselasky Submitted
Run callouts during infinite waiting inside cv_wait
During cv_wait we may be waiting for an event triggered by callout. Run callbacks here to avoid code blocking.
Reviewed by: hselasky Submitted by: Wojciech Macek <wma@semihalf.com> Obtained from: Semihalf Sponsored by: Juniper Networks Inc. Differential Revision: https://reviews.freebsd.org/D4144
show more ...
|
| #
92dbec66
|
| 04-Aug-2014 |
Brooks Davis <brooks@FreeBSD.org> |
Merge from CheriBSD:
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 c
Merge from CheriBSD:
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.
show more ...
|
| #
ccc29eb1
|
| 30-May-2014 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
USB boot library improvements: - Make the USB boot library more configurable. - Resolve compile issues when cross building. - Allow use of separate malloc. - Allow use of separate endian macros.
Spo
USB boot library improvements: - Make the USB boot library more configurable. - Resolve compile issues when cross building. - Allow use of separate malloc. - Allow use of separate endian macros.
Sponsored by: DARPA, AFRL
show more ...
|