Changeset 8e7c9fe in mainline for kernel/arch/amd64/src/asm.S


Ignore:
Timestamp:
2014-09-12T03:45:25Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c53b58e
Parents:
3eb0c85 (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

most usb changes were reverted. blink and usbmass were fixed
known problems:
ehci won't initialize
usbmast asserts on unmount (happens on mainline too)

File:
1 edited

Legend:

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

    r3eb0c85 r8e7c9fe  
    2929#include <arch/pm.h>
    3030#include <arch/mm/page.h>
     31#include <arch/istate_struct.h>
    3132
    3233.text
     
    142143        ret
    143144
    144 #define ISTATE_OFFSET_RAX               0
    145 #define ISTATE_OFFSET_RBX               8
    146 #define ISTATE_OFFSET_RCX               16
    147 #define ISTATE_OFFSET_RDX               24
    148 #define ISTATE_OFFSET_RSI               32
    149 #define ISTATE_OFFSET_RDI               40
    150 #define ISTATE_OFFSET_RBP               48
    151 #define ISTATE_OFFSET_R8                56
    152 #define ISTATE_OFFSET_R9                64
    153 #define ISTATE_OFFSET_R10               72
    154 #define ISTATE_OFFSET_R11               80
    155 #define ISTATE_OFFSET_R12               88     
    156 #define ISTATE_OFFSET_R13               96
    157 #define ISTATE_OFFSET_R14               104
    158 #define ISTATE_OFFSET_R15               112
    159 #define ISTATE_OFFSET_ALIGNMENT         120
    160 #define ISTATE_OFFSET_RBP_FRAME         128
    161 #define ISTATE_OFFSET_RIP_FRAME         136
    162 #define ISTATE_OFFSET_ERROR_WORD        144
    163 #define ISTATE_OFFSET_RIP               152
    164 #define ISTATE_OFFSET_CS                160
    165 #define ISTATE_OFFSET_RFLAGS            168
    166 #define ISTATE_OFFSET_RSP               176
    167 #define ISTATE_OFFSET_SS                184
    168 
    169145/*
    170146 * Size of the istate structure without the hardware-saved part and without the
    171147 * error word.
    172148 */
    173 #define ISTATE_SOFT_SIZE        144
     149#define ISTATE_SOFT_SIZE        ISTATE_SIZE - (6 * 8)
    174150
    175151/**
Note: See TracChangeset for help on using the changeset viewer.