![]() |
MOS Source Code
|
#include "mos/x86/cpu/cpu.hpp"
#include "mos/assert.hpp"
#include "mos/platform/platform.hpp"
#include "mos/platform/platform_defs.hpp"
#include "mos/syslog/printk.hpp"
#include "mos/x86/cpu/cpuid.hpp"
#include "mos/x86/tasks/fpu_context.hpp"
#include <mos_string.hpp>
Go to the source code of this file.
Macros | |
#define | do_static_assert(feat) |
#define | test_ensure_all_leaves_are_supported(feature) |
#define | impl_fill_leaf(_l, _sl, _r) |
Functions | |
MOS_STATIC_ASSERT (X86_CPUID_1_0_d >=0) | |
MOS_STATIC_ASSERT (X86_CPUID_1_0_c >=0) | |
MOS_STATIC_ASSERT (X86_CPUID_7_0_b >=0) | |
MOS_STATIC_ASSERT (X86_CPUID_7_0_c >=0) | |
MOS_STATIC_ASSERT (X86_CPUID_0xd_1_a >=0) | |
MOS_STATIC_ASSERT (X86_CPUID_0x80000001_0_d >=0) | |
void | x86_cpu_initialise_caps (void) |
void | x86_cpu_setup_xsave_area (void) |
#define do_static_assert | ( | feat | ) |
#define test_ensure_all_leaves_are_supported | ( | feature | ) |
Definition at line 16 of file cpu.cpp.
Referenced by MOS_STATIC_ASSERT().
#define impl_fill_leaf | ( | _l, | |
_sl, | |||
_r ) |
Referenced by x86_cpu_initialise_caps().
MOS_STATIC_ASSERT | ( | X86_CPUID_1_0_d >= | 0 | ) |
MOS_STATIC_ASSERT | ( | X86_CPUID_1_0_c >= | 0 | ) |
MOS_STATIC_ASSERT | ( | X86_CPUID_7_0_b >= | 0 | ) |
MOS_STATIC_ASSERT | ( | X86_CPUID_7_0_c >= | 0 | ) |
MOS_STATIC_ASSERT | ( | X86_CPUID_0xd_1_a >= | 0 | ) |
MOS_STATIC_ASSERT | ( | X86_CPUID_0x80000001_0_d >= | 0 | ) |
Definition at line 22 of file cpu.cpp.
Referenced by platform_ap_entry(), and platform_startup_early().
Definition at line 39 of file cpu.cpp.
Referenced by platform_ap_entry(), and platform_startup_early().