mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
Fix the file to be actually compilable (with GAS 2.16.91).
svn path=/trunk/; revision=16868
This commit is contained in:
@@ -102,8 +102,8 @@ _RtlRandom@4:
|
||||
mov ecx,eax // pos
|
||||
and ecx, 0x7f // pos = seed & 0x7f
|
||||
mov eax,ecx//
|
||||
mov eax, dword [_SavedValue + ecx*4]
|
||||
mov dword [_SavedValue + ecx*4], edx
|
||||
mov eax, [_SavedValue + ecx*4]
|
||||
mov [_SavedValue + ecx*4], edx
|
||||
ret 4
|
||||
|
||||
.RtlRandom_Seed1:
|
||||
@@ -118,8 +118,8 @@ _RtlRandom@4:
|
||||
mov ecx,eax // pos
|
||||
and ecx, 0x7f // pos = seed & 0x7f
|
||||
mov eax,ecx//
|
||||
mov eax, dword [_SavedValue + ecx*4]
|
||||
mov dword [_SavedValue + ecx*4], edx
|
||||
mov eax, [_SavedValue + ecx*4]
|
||||
mov [_SavedValue + ecx*4], edx
|
||||
ret 4
|
||||
|
||||
.RtlRandom_Seed2:
|
||||
@@ -133,8 +133,8 @@ _RtlRandom@4:
|
||||
mov ecx,eax // pos
|
||||
and ecx, 0x7f // pos = seed & 0x7f
|
||||
mov eax,ecx//
|
||||
mov eax, dword [_SavedValue + ecx*4]
|
||||
mov dword [_SavedValue + ecx*4], edx
|
||||
mov eax, [_SavedValue + ecx*4]
|
||||
mov [_SavedValue + ecx*4], edx
|
||||
ret 4
|
||||
|
||||
.RtlRandom_Seed3:
|
||||
@@ -151,8 +151,8 @@ _RtlRandom@4:
|
||||
mov ecx,eax // pos
|
||||
and ecx, 0x7f // pos = seed & 0x7f
|
||||
mov eax,ecx//
|
||||
mov eax, dword [_SavedValue + ecx*4]
|
||||
mov dword [_SavedValue + ecx*4], edx
|
||||
mov eax, [_SavedValue + ecx*4]
|
||||
mov [_SavedValue + ecx*4], edx
|
||||
ret 4
|
||||
|
||||
// prototype: ULONG STDCALL RtlUniform (PULONG Seed)
|
||||
|
||||
Reference in New Issue
Block a user