Page MenuHomeFreeBSD

Add simplebus_detach()
Needs ReviewPublic

Authored by oskar.holmlund_ohdata.se on Sep 17 2020, 4:38 PM.
Tags
Referenced Files
F83132037: D26468.id77144.diff
Mon, May 6, 6:29 PM
Unknown Object (File)
Fri, May 3, 8:57 AM
Unknown Object (File)
Fri, Apr 26, 6:31 AM
Unknown Object (File)
Fri, Apr 26, 3:09 AM
Unknown Object (File)
Thu, Apr 25, 10:44 PM
Unknown Object (File)
Sun, Apr 21, 6:14 PM
Unknown Object (File)
Mar 30 2024, 5:18 AM
Unknown Object (File)
Dec 20 2023, 4:21 AM
Subscribers

Details

Reviewers
mmel
manu
Summary

To add simplebus to syscon_generic.c ( D26402 ) a detach function are needed.

A problem with this code is if another driver creates the memory for the simplebus_devinfo structure and calls simplebus_add_device() the detach function will free the memory.
any suggestions?

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped