diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-29 15:01:34 -0500 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-29 15:01:34 -0500 |
| commit | ceabd82ac8e796249feacf39c836034ed5e11c6d (patch) | |
| tree | e446d471a0eaf4ed7ac67e878ce4fb02334a2acb /src/kernel/HALKit/AMD64/Processor.h | |
| parent | 0376382a848ef5ebbb0e02428c9d1df8a099d8b4 (diff) | |
chore: source code review and fixes.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/kernel/HALKit/AMD64/Processor.h')
| -rw-r--r-- | src/kernel/HALKit/AMD64/Processor.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kernel/HALKit/AMD64/Processor.h b/src/kernel/HALKit/AMD64/Processor.h index db1ed573..ec94a3f1 100644 --- a/src/kernel/HALKit/AMD64/Processor.h +++ b/src/kernel/HALKit/AMD64/Processor.h @@ -162,20 +162,20 @@ class IDTLoader final { /// @return True if YES, False if not. /***********************************************************************************/ -Bool mp_is_smp(Void) noexcept; +Bool mp_is_smp(Void); /***********************************************************************************/ /// @brief Fetch and enable SMP scheduler. /// @param vendor_ptr SMP containing structure. /***********************************************************************************/ -Void mp_init_cores(VoidPtr vendor_ptr) noexcept; +Void mp_init_cores(VoidPtr vendor_ptr); /***********************************************************************************/ /// @brief Do a cpuid to check if MSR exists on CPU. /// @retval true it does exists. /// @retval false it doesn't. /***********************************************************************************/ -Bool hal_has_msr() noexcept; +Bool hal_has_msr(); /***********************************************************************************/ /// @brief Get Model specific register inside core. @@ -183,13 +183,13 @@ Bool hal_has_msr() noexcept; /// @param lo low byte /// @param hi high byte /***********************************************************************************/ -Void hal_get_msr(UInt32 msr, UInt32* lo, UInt32* hi) noexcept; +Void hal_get_msr(UInt32 msr, UInt32* lo, UInt32* hi); /// @brief Set Model-specific register. /// @param msr MSR /// @param lo low byte /// @param hi high byte -Void hal_set_msr(UInt32 msr, UInt32 lo, UInt32 hi) noexcept; +Void hal_set_msr(UInt32 msr, UInt32 lo, UInt32 hi); /// @brief Processor specific namespace. namespace Detail { @@ -234,8 +234,8 @@ class LAPICDmaWrapper final { NE_COPY_DEFAULT(LAPICDmaWrapper) public: - UInt32 Read(UInt16 reg) noexcept; - Void Write(UInt16 reg, UInt32 value) noexcept; + UInt32 Read(UInt16 reg); + Void Write(UInt16 reg, UInt32 value); private: VoidPtr fApic{nullptr}; |
