SayoriOS  0.3.3
fxsave_region.c
1 char fxsave_region[512] __attribute__((aligned(16))) = {0};
2 
3 void fpu_save() {
4  __asm__ volatile("fxsave %0 " :: "m"(fxsave_region));
5 }
6 
7 void fpu_restore() {
8  __asm__ volatile("fxrstor %0 " :: "m"(fxsave_region));
9 }
struct registers __attribute__((packed))
Структура данных пакета от мыши
Definition: psf.h:19
Структура файла
Definition: ahci.h:15