diff options
Diffstat (limited to 'Kernel/Arch/i386/CPU.h')
-rw-r--r-- | Kernel/Arch/i386/CPU.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Kernel/Arch/i386/CPU.h b/Kernel/Arch/i386/CPU.h index c5883caa51..d9a36f5c32 100644 --- a/Kernel/Arch/i386/CPU.h +++ b/Kernel/Arch/i386/CPU.h @@ -721,6 +721,7 @@ class Processor { static FPUState s_clean_fpu_state; CPUFeature m_features; static volatile u32 g_total_processors; // atomic + u8 m_physical_address_bit_width; ProcessorInfo* m_info; MemoryManagerData* m_mm_data; @@ -812,6 +813,8 @@ public: return IterationDecision::Continue; } + ALWAYS_INLINE u8 physical_address_bit_width() const { return m_physical_address_bit_width; } + ALWAYS_INLINE ProcessorInfo& info() { return *m_info; } ALWAYS_INLINE static Processor& current() |