History log of /src/stand/kshim/bsd_kernel.h (Results 1 – 25 of 43)
Revision Date Author Comments
# 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/


# a85ff211 17-Mar-2022 Hans Petter Selasky <hselasky@FreeBSD.org>

stand/usb: Fix build by declaring missing functions and types.

MFC after: 1 week
Sponsored by: NVIDIA Networking


# 7497dd58 12-Apr-2021 Hans Petter Selasky <hselasky@FreeBSD.org>

Fix build of stand/usb .

MFC after: 1 week
Sponsored by: Mellanox Technologies // NVIDIA Networking


# d23b583d 17-Feb-2021 Hans Petter Selasky <hselasky@FreeBSD.org>

Bump the FreeBSD kernel version in kernel boot shim.

Sponsored by: Mellanox Technologies // NVIDIA Networking


# eb2f5fa4 07-Dec-2020 Hans Petter Selasky <hselasky@FreeBSD.org>

Properly define the bool type in the BSD kernel shim.

MFC after: 1 week
Sponsored by: Mellanox Technologies // NVIDIA Networking


# 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


# abbf48c5 04-Dec-2020 Hans Petter Selasky <hselasky@FreeBSD.org>

Fix mis-spelled macro in the kernel shim.

MFC after: 1 week
Sponsored by: Mellanox Technologies // NVIDIA Networking


# 454f1fde 04-Dec-2020 Hans Petter Selasky <hselasky@FreeBSD.org>

Add more macros, types and prototypes for building kernel code into bootloaders.

MFC after: 1 week
Sponsored by: Mellanox Technologies // NVIDIA Networking


# 1784a6d6 04-Dec-2020 Hans Petter Selasky <hselasky@FreeBSD.org>

Fix definition of int64_t and uint64_t when long is 64-bit. This gets the kernel
shim code in line with the rest of the kernel, sys/x86/include/_types.h.

MFC after: 1 week
Sponsored by: Mellanox Tec

Fix definition of int64_t and uint64_t when long is 64-bit. This gets the kernel
shim code in line with the rest of the kernel, sys/x86/include/_types.h.

MFC after: 1 week
Sponsored by: Mellanox Technologies // NVIDIA Networking

show more ...


# a2dd1caa 18-Nov-2020 Hans Petter Selasky <hselasky@FreeBSD.org>

Fix build of USB bootloader code by adding checks for _STANDALONE being defined.
Currently the USB bootloader code is not part of buildworld.

MFC after: 1 week
Sponsored by: Mellanox Technologies //

Fix build of USB bootloader code by adding checks for _STANDALONE being defined.
Currently the USB bootloader code is not part of buildworld.

MFC after: 1 week
Sponsored by: Mellanox Technologies // NVIDIA Networking

show more ...


# 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/


# a85ff211 17-Mar-2022 Hans Petter Selasky <hselasky@FreeBSD.org>

stand/usb: Fix build by declaring missing functions and types.

MFC after: 1 week
Sponsored by: NVIDIA Networking


# 7497dd58 12-Apr-2021 Hans Petter Selasky <hselasky@FreeBSD.org>

Fix build of stand/usb .

MFC after: 1 week
Sponsored by: Mellanox Technologies // NVIDIA Networking


# d23b583d 17-Feb-2021 Hans Petter Selasky <hselasky@FreeBSD.org>

Bump the FreeBSD kernel version in kernel boot shim.

Sponsored by: Mellanox Technologies // NVIDIA Networking


# eb2f5fa4 07-Dec-2020 Hans Petter Selasky <hselasky@FreeBSD.org>

Properly define the bool type in the BSD kernel shim.

MFC after: 1 week
Sponsored by: Mellanox Technologies // NVIDIA Networking


# 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


# abbf48c5 04-Dec-2020 Hans Petter Selasky <hselasky@FreeBSD.org>

Fix mis-spelled macro in the kernel shim.

MFC after: 1 week
Sponsored by: Mellanox Technologies // NVIDIA Networking


# 454f1fde 04-Dec-2020 Hans Petter Selasky <hselasky@FreeBSD.org>

Add more macros, types and prototypes for building kernel code into bootloaders.

MFC after: 1 week
Sponsored by: Mellanox Technologies // NVIDIA Networking


# 1784a6d6 04-Dec-2020 Hans Petter Selasky <hselasky@FreeBSD.org>

Fix definition of int64_t and uint64_t when long is 64-bit. This gets the kernel
shim code in line with the rest of the kernel, sys/x86/include/_types.h.

MFC after: 1 week
Sponsored by: Mellanox Tec

Fix definition of int64_t and uint64_t when long is 64-bit. This gets the kernel
shim code in line with the rest of the kernel, sys/x86/include/_types.h.

MFC after: 1 week
Sponsored by: Mellanox Technologies // NVIDIA Networking

show more ...


12