Changeset 76857d1 in mainline for arch/ia32/src/asm.S


Ignore:
Timestamp:
2005-07-20T14:59:30Z (19 years ago)
Author:
Jakub Vana <jakub.vana@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b4f9214
Parents:
b5eb1ee
Message:

Comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/src/asm.S

    rb5eb1ee r76857d1  
    2929## very low and hardware-level functions
    3030
     31#  Mask for interrupts 0 - 31 (bits 0 - 31) where 0 means that int has no error word
     32# and 1 means interrupt with error word
    3133#define ERROR_WORD_INTERRUPT_LIST 0x00027D00
    3234
     
    114116        pop %ds
    115117
     118
     119# Test if this is interrupt with error word or not
    116120        mov $\i,%cl;
    117121        movl $1,%eax;
     
    123127        jz 0f;
    124128
     129
     130# Return with error word
    125131        popa;
    126132        pop %ebp;
    127         add $4,%esp;
     133        add $4,%esp;    # Skip error word
    128134        iret;
    129135
    1301360:
    131 
     137# Return with no error word
    132138        popa
    133139        pop %ebp
Note: See TracChangeset for help on using the changeset viewer.