Use xsave/xrestor if available, enable AVX* instructions.

git-svn-id: svn://kolibrios.org@7124 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
2017-12-05 05:24:21 +00:00
parent 11a65eeec4
commit 9e6b9b61f7
6 changed files with 160 additions and 41 deletions

View File

@@ -169,7 +169,7 @@ debug_getcontext:
.ring0:
; note that following code assumes that all interrupt/exception handlers
; saves ring-3 context by pushad in this order
; save ring-3 context by pushad in this order
; top of ring0 stack: ring3 stack ptr (ss+esp), iret data (cs+eip+eflags), pushad
sub esi, 8+12+20h
lodsd ;edi