Changeset 77385fe in mainline for kernel/arch/ia32/include/interrupt.h


Ignore:
Timestamp:
2010-07-07T19:52:47Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0737078
Parents:
09b859c
Message:

Reorganize the ia32 istate_t slightly so that it can also be used by the
syscall handlers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/include/interrupt.h

    r09b859c r77385fe  
    7272
    7373typedef struct istate {
     74        /*
     75         * The strange order of the GPRs is given by the requirement to use the
     76         * istate structure for both regular interrupts and exceptions as well
     77         * as for syscall handler which use this order as an optimization.
     78         */
     79        uint32_t edx;
     80        uint32_t ecx;
     81        uint32_t ebx;
     82        uint32_t esi;
     83        uint32_t edi;
     84        uint32_t ebp;
    7485        uint32_t eax;
    75         uint32_t ebx;
    76         uint32_t ecx;
    77         uint32_t edx;
    78         uint32_t edi;
    79         uint32_t esi;
    80         uint32_t ebp;
    8186       
    8287        uint32_t ebp_frame;  /* imitation of frame pointer linkage */
Note: See TracChangeset for help on using the changeset viewer.