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