summaryrefslogtreecommitdiff
path: root/Kernel/VirtIO/VirtIOConsole.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/VirtIO/VirtIOConsole.h')
-rw-r--r--Kernel/VirtIO/VirtIOConsole.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Kernel/VirtIO/VirtIOConsole.h b/Kernel/VirtIO/VirtIOConsole.h
index 9d9aff4427..0a69313777 100644
--- a/Kernel/VirtIO/VirtIOConsole.h
+++ b/Kernel/VirtIO/VirtIOConsole.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020, the SerenityOS developers.
+ * Copyright (c) 2021, the SerenityOS developers.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -58,9 +58,12 @@ private:
virtual bool handle_device_config_change() override;
virtual String device_name() const override { return String::formatted("hvc{}", minor()); }
+ virtual void handle_queue_update(u16 queue_index) override;
OwnPtr<Region> m_receive_region;
OwnPtr<Region> m_transmit_region;
+
+ static unsigned next_device_id;
};
}