Changeset 77385fe in mainline for kernel/arch/ia32/src/asm.S


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/src/asm.S

    r09b859c r77385fe  
    205205        sysexit   /* return to userspace */
    206206
    207 #define ISTATE_OFFSET_EAX         0
    208 #define ISTATE_OFFSET_EBX         4
    209 #define ISTATE_OFFSET_ECX         8
    210 #define ISTATE_OFFSET_EDX         12
    211 #define ISTATE_OFFSET_EDI         16
    212 #define ISTATE_OFFSET_ESI         20
    213 #define ISTATE_OFFSET_EBP         24
     207#define ISTATE_OFFSET_EDX         0
     208#define ISTATE_OFFSET_ECX         4
     209#define ISTATE_OFFSET_EBX         8
     210#define ISTATE_OFFSET_ESI         12
     211#define ISTATE_OFFSET_EDI         16 
     212#define ISTATE_OFFSET_EBP         20
     213#define ISTATE_OFFSET_EAX         24
    214214#define ISTATE_OFFSET_EBP_FRAME   28
    215215#define ISTATE_OFFSET_EIP_FRAME   32
Note: See TracChangeset for help on using the changeset viewer.