mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-11 07:19:20 +00:00
Added Counter() function to CPU
This commit is contained in:
@ -203,6 +203,9 @@ namespace CPU
|
||||
/** @brief To be used only once. */
|
||||
void InitializeFeatures();
|
||||
|
||||
/** @brief Get CPU counter value. */
|
||||
uint64_t Counter();
|
||||
|
||||
namespace MemBar
|
||||
{
|
||||
__attribute__((no_stack_protector)) static inline void Barrier()
|
||||
|
Reference in New Issue
Block a user