Add CPU::platform_string
This commit is contained in:
parent
109de54822
commit
762ca844d8
@ -6,6 +6,8 @@ struct Registers;
|
||||
namespace CPU
|
||||
{
|
||||
Result<const char*> identify();
|
||||
const char* platform_string();
|
||||
|
||||
void platform_init();
|
||||
|
||||
[[noreturn]] void efficient_halt();
|
||||
|
@ -296,6 +296,11 @@ namespace CPU
|
||||
return brand_string;
|
||||
}
|
||||
|
||||
const char* platform_string()
|
||||
{
|
||||
return "x86_64";
|
||||
}
|
||||
|
||||
void platform_init()
|
||||
{
|
||||
enable_sse();
|
||||
|
Loading…
Reference in New Issue
Block a user