Ignore:
Timestamp:
2008-03-15T09:09:15Z (16 years ago)
Author:
Josef Cejka <malyzelenyhnus@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1aede82
Parents:
d2fa31f7
Message:

Context.s renamed to context.S for ia32 and fixed links for ia32xen.
Added asm macros for context save/restore and offset definitions.

File:
1 edited

Legend:

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

    rd2fa31f7 r7397c73  
    4040#define OFFSET_IPL 0x40
    4141
     42#ifdef __ASM__
     43
     44# ctx: address of the structure with saved context
     45# pc: return address
     46.macro CONTEXT_SAVE_ARCH_CORE ctx:req pc:req
     47.endm
     48
     49# ctx: address of the structure with saved context
     50.macro CONTEXT_RESTORE_ARCH_CORE ctx:req pc:req
     51.endm
     52
    4253#endif
     54
     55#endif
Note: See TracChangeset for help on using the changeset viewer.