summaryrefslogtreecommitdiff
path: root/Kernel/Bus/VirtIO
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2022-01-26 22:00:45 +0200
committerLinus Groh <mail@linusgroh.de>2022-01-26 22:07:01 +0000
commit94a39db31d94bb60e257a5649b6cf2a873c820fc (patch)
treee310bd4fec7c126554262e779461f23aeac16d86 /Kernel/Bus/VirtIO
parent9259bce34e26333422b48abca390f638d5eff708 (diff)
downloadserenity-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