mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-28 21:26:22 +00:00
Kernel: Rename GenericInterruptHandler "invoking count" to "call count"
This commit is contained in:
parent
8a5d2be617
commit
9b3db63e14
Notes:
sideshowbarker
2024-07-17 04:20:56 +09:00
Author: https://github.com/awesomekling
Commit: 9b3db63e14
Pull-request: https://github.com/SerenityOS/serenity/pull/16113
Reviewed-by: https://github.com/Hendiadyoin1
Reviewed-by: https://github.com/supercomputer7 ✅
7 changed files with 13 additions and 11 deletions
|
@ -37,7 +37,7 @@ public:
|
|||
|
||||
u8 interrupt_number() const { return m_interrupt_number; }
|
||||
|
||||
size_t get_invoking_count() const { return m_invoking_count; }
|
||||
u32 call_count() const { return m_call_count; }
|
||||
|
||||
virtual size_t sharing_devices_count() const = 0;
|
||||
virtual bool is_shared_handler() const = 0;
|
||||
|
@ -48,10 +48,7 @@ public:
|
|||
virtual StringView controller() const = 0;
|
||||
|
||||
virtual bool eoi() = 0;
|
||||
ALWAYS_INLINE void increment_invoking_counter()
|
||||
{
|
||||
m_invoking_count++;
|
||||
}
|
||||
void increment_call_count();
|
||||
|
||||
protected:
|
||||
void change_interrupt_number(u8 number);
|
||||
|
@ -60,7 +57,7 @@ protected:
|
|||
void disable_remap() { m_disable_remap = true; }
|
||||
|
||||
private:
|
||||
Atomic<u32, AK::MemoryOrder::memory_order_relaxed> m_invoking_count { 0 };
|
||||
Atomic<u32, AK::MemoryOrder::memory_order_relaxed> m_call_count { 0 };
|
||||
u8 m_interrupt_number { 0 };
|
||||
bool m_disable_remap { false };
|
||||
bool m_registered { false };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue