mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 15:07:45 +00:00
Kernel: Make HardwareTimer::model() return StringView
This commit is contained in:
parent
32a150f2b4
commit
f572d96539
5 changed files with 5 additions and 5 deletions
|
@ -19,7 +19,7 @@ public:
|
|||
static NonnullRefPtr<HPETComparator> create(u8 number, u8 irq, bool periodic_capable, bool is_64bit_capable);
|
||||
|
||||
virtual HardwareTimerType timer_type() const override { return HardwareTimerType::HighPrecisionEventTimer; }
|
||||
virtual const char* model() const override { return "HPET"; }
|
||||
virtual StringView model() const override { return "HPET"sv; }
|
||||
|
||||
u8 comparator_number() const { return m_comparator_number; }
|
||||
bool is_enabled() const { return m_enabled; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue