Luna/kernel/include/cpu/CPU.h
apio 22740e69bf Kernel: Add support for the NX bit
Not support, actually. We now REQUIRE it.
2022-11-02 18:34:57 +01:00

14 lines
310 B
C++

#pragma once
#include "cpu/Features.h"
#include <stdint.h>
namespace CPU
{
const char* get_vendor_string();
const char* get_brand_string();
void log_cpu_information();
uint64_t get_feature_bitmask();
uint64_t get_initial_apic_id();
bool has_feature(CPU::Features);
bool has_nx();
}