Skip to content

Commit

Permalink
Kernel: Mark VirtIOConsole constructor as UNMAP_AFTER_INIT
Browse files Browse the repository at this point in the history
  • Loading branch information
bgianfo authored and awesomekling committed Jun 9, 2021
1 parent 7e88ac6 commit aa63fe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Kernel/VirtIO/VirtIOConsole.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Kernel {

unsigned VirtIOConsole::next_device_id = 0;

VirtIOConsole::VirtIOConsole(PCI::Address address)
UNMAP_AFTER_INIT VirtIOConsole::VirtIOConsole(PCI::Address address)
: CharacterDevice(229, next_device_id++)
, VirtIODevice(address, "VirtIOConsole")
{
Expand Down

0 comments on commit aa63fe2

Please sign in to comment.