Changeset 7397c73 in mainline for kernel/arch/amd64
- Timestamp:
- 2008-03-15T09:09:15Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1aede82
- Parents:
- d2fa31f7
- Location:
- kernel/arch/amd64/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/include/context.h
rd2fa31f7 r7397c73 36 36 #define KERN_amd64_CONTEXT_H_ 37 37 38 #ifdef KERNEL 39 38 40 #include <arch/types.h> 39 41 … … 43 45 */ 44 46 #define SP_DELTA 16 47 48 #endif /* KERNEL */ 45 49 46 50 /* We include only registers that must be preserved -
kernel/arch/amd64/include/context_offset.h
rd2fa31f7 r7397c73 40 40 #define OFFSET_IPL 0x40 41 41 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 42 53 #endif 54 55 #endif
Note:
See TracChangeset
for help on using the changeset viewer.