Ignore:
Timestamp:
May 10, 2002, 4:55:13 PM (23 years ago)
Author:
sandervl
Message:

hard disk access updates & fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/exceptutil.asm

    r6375 r8401  
    1 ; $Id: exceptutil.asm,v 1.18 2001-07-20 15:33:29 sandervl Exp $
     1; $Id: exceptutil.asm,v 1.19 2002-05-10 14:55:11 sandervl Exp $
    22
    33;/*
     
    154154_SetExceptionChain endp
    155155
    156         PUBLIC getEAX
    157         PUBLIC getEBX
    158 getEAX  proc near
    159         ret
    160 getEAX  endp
    161 
    162 public  getEDX
    163 getEDX  proc    near
    164         mov     EAX, EDX
    165         ret
    166 endp
    167 
    168 getEBX  proc near
    169         mov  eax, ebx
    170         ret
    171 getEBX  endp
    172 
    173         PUBLIC GetFS
    174 GetFS   proc near
    175         mov     eax, fs
    176         ret
    177 GetFS   endp
    178 
    179         PUBLIC SetFS
    180 SetFS   proc near
    181         mov     eax, [esp+4]
    182         mov     fs, eax
    183         ret
    184 SetFS   endp
    185 
    186         PUBLIC getCS
    187 getCS   proc near
    188         mov     eax, cs
    189         ret
    190 getCS   endp
    191 
    192         PUBLIC getDS
    193 getDS   proc near
    194         mov     eax, ds
    195         ret
    196 getDS   endp
    197 
    198         PUBLIC SetReturnFS
    199 SetReturnFS proc near
    200         push    fs
    201         mov     eax, [esp+8]
    202         mov     fs, eax
    203         pop     eax
    204         ret
    205 SetReturnFS endp
    206 
    207         PUBLIC getSS
    208 getSS   proc near
    209         mov     ax, ss
    210         ret
    211 getSS   endp
    212 
    213         PUBLIC getES
    214 getES   proc near
    215         mov     eax, es
    216         ret
    217 getES   endp
    218 
    219         PUBLIC getGS
    220 getGS   proc near
    221         mov     eax, gs
    222         ret
    223 getGS   endp
    224 
    225         PUBLIC getESP
    226 getESP  proc near
    227         mov     eax, esp
    228         ret
    229 getESP  endp
    230 
    231         PUBLIC RestoreOS2FS
    232 RestoreOS2FS proc near
    233         push    150bh
    234         mov     ax, fs
    235         pop     fs
    236         ret
    237 RestoreOS2FS endp
    238 
    239         PUBLIC _Mul32x32to64
    240 _Mul32x32to64 proc near
    241         push    ebp
    242         mov     ebp, esp
    243         push    eax
    244         push    edx
    245         push    edi
    246 
    247         mov     edi, [ebp+8]    ;64 bits result
    248         mov     eax, [ebp+12]   ;op1
    249         mov     edx, [ebp+16]   ;op2
    250         mul     edx
    251         mov     [edi], eax
    252         mov     [edi+4], edx
    253 
    254         pop     edi
    255         pop     edx
    256         pop     eax
    257         pop     ebp
    258         ret
    259 _Mul32x32to64 endp
    260156
    261157        PUBLIC  _AsmCallThreadHandler
Note: See TracChangeset for help on using the changeset viewer.