Changeset 8e0eb63 in mainline for arch/amd64/include


Ignore:
Timestamp:
2006-03-15T18:01:43Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9e1c942
Parents:
2f7342d
Message:

Hopefully final version of interrupt handlers for amd64 and ia32.
amd64 has been especially tricky to debug.
Error code detection is now done in compile time.

Location:
arch/amd64/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • arch/amd64/include/context_offset.h

    r2f7342d r8e0eb63  
    99#define OFFSET_R15 0x38
    1010#define OFFSET_IPL 0x40
    11 
    12 #define IOFFSET_RAX 0x0
    13 #define IOFFSET_RBX 0x8
    14 #define IOFFSET_RCX 0x10
    15 #define IOFFSET_RDX 0x18
    16 #define IOFFSET_RSI 0x20
    17 #define IOFFSET_RDI 0x28
    18 #define IOFFSET_R8 0x30
    19 #define IOFFSET_R9 0x38
    20 #define IOFFSET_R10 0x40
    21 #define IOFFSET_R11 0x48
    22 #define IOFFSET_R12 0x50
    23 #define IOFFSET_R13 0x58
    24 #define IOFFSET_R14 0x60
    25 #define IOFFSET_R15 0x68
    26 #define IOFFSET_RBP 0x70
    27 #define IREGISTER_SPACE 120
  • arch/amd64/include/interrupt.h

    r2f7342d r8e0eb63  
    7777        __u64 r14;
    7878        __u64 r15;
    79         /* These 2 items MUST be last parts of the structure */
    8079        __u64 rbp;
    81         __u64 stack[0]; /* Additional data on stack */
    82 } __attribute__ ((packed));
     80        __u64 error_word;
     81        __u64 rip;
     82        __u64 cs;
     83        __u64 rflags;
     84        __u64 stack[]; /* Additional data on stack */
     85};
    8386
    8487extern void (* disable_irqs_function)(__u16 irqmask);
Note: See TracChangeset for help on using the changeset viewer.