Changeset 6055 for trunk/src


Ignore:
Timestamp:
Jun 21, 2001, 5:11:40 PM (24 years ago)
Author:
bird
Message:

All functions changed EBX without saving it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ddraw/iccio1.asm

    r5572 r6055  
    230230
    231231        ; now use this function to raise the IOPL
    232   MOV  EBX,13    ; special function code
     232  PUSH  EBX                             ; bird fix
     233  MOV   EBX,13    ; special function code
    233234  CALL  FWORD PTR [ioentry]  ; CALL intersegment indirect 16:32
     235  POP   EBX                             ; bird fix
    234236
    235237  ; thread should now be running at IOPL=3
     
    251253
    252254        ; now use this function to raise the IOPL
    253   MOV  EBX,13    ; special function code
     255  PUSH  EBX                             ; bird fix
     256  MOV   EBX,13    ; special function code
    254257  CALL  FWORD PTR [ioentry]  ; CALL intersegment indirect 16:32
     258  POP   EBX                             ; bird fix
    255259
    256260  XOR  EAX, EAX  ; return code = 0
     
    268272  JZ  exerr    ; no gdt entry, so process cannot be at IOPL=3
    269273        ; through this mechanism
    270 
    271   MOV  EBX, 14    ; function code to disable iopl
     274  PUSH  EBX                             ; bird fix
     275  MOV   EBX, 14    ; function code to disable iopl
    272276  CALL  FWORD PTR [ioentry]  ; call intersegment indirect 16:32
     277  POP   EBX                             ; bird fix
    273278
    274279  ; process should now be at IOPL=3 again
Note: See TracChangeset for help on using the changeset viewer.