Changeset 8442 for trunk/src


Ignore:
Timestamp:
May 16, 2002, 6:44:52 PM (23 years ago)
Author:
sandervl
Message:

added large integer function for VAC 3.08 calling convention

Location:
trunk/src/NTDLL
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/NTDLL/large_int.asm

    r6372 r8442  
    453453        ret     010h
    454454_RtlLargeIntegerAdd@16  endp
     455
     456
     457; 23 LARGE_INTEGER WINAPI RtlpLargeIntegerAdd( LARGE_INTEGER *a, LARGE_INTEGER *b )
     458        align 4h
     459
     460        public _RtlpLargeIntegerAdd@8
     461_RtlpLargeIntegerAdd@8  proc
     462
     463; 25     return a + b;
     464        push    ebp
     465        mov     ebp, esp
     466        push    esi
     467        push    edi
     468        push    ecx
     469
     470        mov     edi,[ebp+08h];  result
     471        mov     esi,[ebp+0Ch];  a
     472        mov     ecx,[ebp+10h];  b
     473
     474        mov     eax,[esi];      a
     475        mov     edx,[esi+4];    a
     476        add     eax,[ecx];      b
     477        adc     edx,[ecx+4];    b
     478
     479        mov     [edi], eax
     480        mov     [edi+4], edx
     481
     482        pop     ecx
     483        pop     edi
     484        pop     esi
     485        pop     ebp
     486        ret     0Ch
     487_RtlpLargeIntegerAdd@8  endp
     488
    455489CODE32  ends
    456490end
  • trunk/src/NTDLL/ntdll.def

    r8428 r8442  
    1 ; $Id: ntdll.def,v 1.44 2002-05-16 12:16:46 sandervl Exp $
     1; $Id: ntdll.def,v 1.45 2002-05-16 16:44:52 sandervl Exp $
    22
    33;
     
    10791079
    10801080;   Not found in NTDLL-SP6:
    1081     DebugBreak                    = ___regs_DebugBreak@4
    1082     NtPowerInformation            = _NtPowerInformation@20
     1081    DebugBreak                    = ___regs_DebugBreak@4                @1200
     1082    NtPowerInformation            = _NtPowerInformation@20              @1201
     1083
     1084; Odin private functions
     1085    _RtlpLargeIntegerAdd@8                                              @1300
Note: See TracChangeset for help on using the changeset viewer.