diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2022-01-26 22:00:45 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-01-26 22:07:01 +0000 |
commit | 94a39db31d94bb60e257a5649b6cf2a873c820fc (patch) | |
tree | e310bd4fec7c126554262e779461f23aeac16d86 /Kernel/Bus/VirtIO | |
parent | 9259bce34e26333422b48abca390f638d5eff708 (diff) | |
download | serenity-94a39db31d94bb60e257a5649b6cf2a873c820fc.zip |
Kernel: Add try_create_device overload for static factory functions
This makes sure DeviceManagement::try_create_device will call the
static factory function (if available) instead of directly calling the
constructor, which will allow us to move OOM-fallible calls out of
Device constructors.
Diffstat (limited to 'Kernel/Bus/VirtIO')
0 files changed, 0 insertions, 0 deletions