Changeset 15d0046 in mainline for kernel/arch/ia32/src/asm.S


Ignore:
Timestamp:
2014-09-12T13:22:33Z (10 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9b20126
Parents:
8db09e4 (diff), 105d8d6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes

File:
1 edited

Legend:

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

    r8db09e4 r15d0046  
    3434#include <arch/cpu.h>
    3535#include <arch/mm/page.h>
     36#include <arch/istate_struct.h>
    3637
    3738.text
     
    136137        ret
    137138
    138 #define ISTATE_OFFSET_EDX         0
    139 #define ISTATE_OFFSET_ECX         4
    140 #define ISTATE_OFFSET_EBX         8
    141 #define ISTATE_OFFSET_ESI         12
    142 #define ISTATE_OFFSET_EDI         16
    143 #define ISTATE_OFFSET_EBP         20
    144 #define ISTATE_OFFSET_EAX         24
    145 #define ISTATE_OFFSET_EBP_FRAME   28
    146 #define ISTATE_OFFSET_EIP_FRAME   32
    147 #define ISTATE_OFFSET_GS          36
    148 #define ISTATE_OFFSET_FS          40
    149 #define ISTATE_OFFSET_ES          44
    150 #define ISTATE_OFFSET_DS          48
    151 #define ISTATE_OFFSET_ERROR_WORD  52
    152 #define ISTATE_OFFSET_EIP         56
    153 #define ISTATE_OFFSET_CS          60
    154 #define ISTATE_OFFSET_EFLAGS      64
    155 #define ISTATE_OFFSET_ESP         68
    156 #define ISTATE_OFFSET_SS          72
    157 
    158139/*
    159140 * Size of the istate structure without the hardware-saved part
    160141 * and without the error word.
    161142 */
    162 #define ISTATE_SOFT_SIZE  52
     143#define ISTATE_SOFT_SIZE        ISTATE_SIZE - (6 * 4)
    163144
    164145/*
Note: See TracChangeset for help on using the changeset viewer.