MOS Source Code
|
#include "mos/x86/tasks/fpu_context.h"
#include "mos/misc/setup.h"
#include "mos/mm/slab.h"
#include "mos/platform/platform.h"
#include "mos/syslog/printk.h"
#include "mos/tasks/task_types.h"
#include <mos_stdlib.h>
Go to the source code of this file.
Functions | |
static void | setup_xsave_slab (void) |
MOS_INIT (SLAB_AUTOINIT, setup_xsave_slab) | |
void | x86_xsave_thread (thread_t *thread) |
void | x86_xrstor_thread (thread_t *thread) |
Variables | |
slab_t * | xsave_area_slab = NULL |
static const u64 | RFBM = ~0ULL |
const reg32_t | low = RFBM & 0xFFFFFFFF |
const reg32_t | high = RFBM >> 32 |
MOS_INIT | ( | SLAB_AUTOINIT | , |
setup_xsave_slab | ) |
Definition at line 26 of file fpu_context.c.
Referenced by platform_switch_to_thread().
Definition at line 38 of file fpu_context.c.
Referenced by platform_switch_to_thread().
Definition at line 13 of file fpu_context.c.
Referenced by platform_context_clone(), setup_xsave_slab(), and x86_setup_thread_common().
|
static |
Definition at line 22 of file fpu_context.c.
Definition at line 23 of file fpu_context.c.
Referenced by lapic_read64(), pb_encode_varint_32(), x86_xrstor_thread(), and x86_xsave_thread().
Definition at line 24 of file fpu_context.c.
Referenced by lapic_read64(), pb_encode_varint_32(), x86_xrstor_thread(), and x86_xsave_thread().