mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Fix the file to be actually compilable (with GAS 2.16.91).
svn path=/trunk/; revision=16868
This commit is contained in:
parent
1afce7ac9b
commit
dd2dc39610
1 changed files with 8 additions and 8 deletions
|
@ -102,8 +102,8 @@ _RtlRandom@4:
|
||||||
mov ecx,eax // pos
|
mov ecx,eax // pos
|
||||||
and ecx, 0x7f // pos = seed & 0x7f
|
and ecx, 0x7f // pos = seed & 0x7f
|
||||||
mov eax,ecx//
|
mov eax,ecx//
|
||||||
mov eax, dword [_SavedValue + ecx*4]
|
mov eax, [_SavedValue + ecx*4]
|
||||||
mov dword [_SavedValue + ecx*4], edx
|
mov [_SavedValue + ecx*4], edx
|
||||||
ret 4
|
ret 4
|
||||||
|
|
||||||
.RtlRandom_Seed1:
|
.RtlRandom_Seed1:
|
||||||
|
@ -118,8 +118,8 @@ _RtlRandom@4:
|
||||||
mov ecx,eax // pos
|
mov ecx,eax // pos
|
||||||
and ecx, 0x7f // pos = seed & 0x7f
|
and ecx, 0x7f // pos = seed & 0x7f
|
||||||
mov eax,ecx//
|
mov eax,ecx//
|
||||||
mov eax, dword [_SavedValue + ecx*4]
|
mov eax, [_SavedValue + ecx*4]
|
||||||
mov dword [_SavedValue + ecx*4], edx
|
mov [_SavedValue + ecx*4], edx
|
||||||
ret 4
|
ret 4
|
||||||
|
|
||||||
.RtlRandom_Seed2:
|
.RtlRandom_Seed2:
|
||||||
|
@ -133,8 +133,8 @@ _RtlRandom@4:
|
||||||
mov ecx,eax // pos
|
mov ecx,eax // pos
|
||||||
and ecx, 0x7f // pos = seed & 0x7f
|
and ecx, 0x7f // pos = seed & 0x7f
|
||||||
mov eax,ecx//
|
mov eax,ecx//
|
||||||
mov eax, dword [_SavedValue + ecx*4]
|
mov eax, [_SavedValue + ecx*4]
|
||||||
mov dword [_SavedValue + ecx*4], edx
|
mov [_SavedValue + ecx*4], edx
|
||||||
ret 4
|
ret 4
|
||||||
|
|
||||||
.RtlRandom_Seed3:
|
.RtlRandom_Seed3:
|
||||||
|
@ -151,8 +151,8 @@ _RtlRandom@4:
|
||||||
mov ecx,eax // pos
|
mov ecx,eax // pos
|
||||||
and ecx, 0x7f // pos = seed & 0x7f
|
and ecx, 0x7f // pos = seed & 0x7f
|
||||||
mov eax,ecx//
|
mov eax,ecx//
|
||||||
mov eax, dword [_SavedValue + ecx*4]
|
mov eax, [_SavedValue + ecx*4]
|
||||||
mov dword [_SavedValue + ecx*4], edx
|
mov [_SavedValue + ecx*4], edx
|
||||||
ret 4
|
ret 4
|
||||||
|
|
||||||
// prototype: ULONG STDCALL RtlUniform (PULONG Seed)
|
// prototype: ULONG STDCALL RtlUniform (PULONG Seed)
|
||||||
|
|
Loading…
Reference in a new issue