fix FPU after r7124 for other CPU configurations

git-svn-id: svn://kolibrios.org@7165 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
CleverMouse
2018-02-19 16:35:45 +00:00
parent a49931c083
commit 43e84d7672
4 changed files with 12 additions and 4 deletions

View File

@@ -1116,8 +1116,9 @@ proc setup_os_slot
mov dword [edx+APPDATA.terminate_protection], 1 ; make unkillable
mov esi, fpu_data
mov ecx, 512/4
cld
mov ecx, [xsave_area_size]
add ecx, 3
shr ecx, 2
rep movsd
lea eax, [edx+APP_OBJ_OFFSET]