Changeset 6b96ab44 in mainline for arch/ia32/include/context.h


Ignore:
Timestamp:
2005-05-17T22:43:57Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1eee8383
Parents:
7f1bfce
Message:

IA-64 work.
Add the rest of branch registers to context_t.
Add predicate registers to context_t.
Modify context_save()/context_restore() to save/restore branch registers and predicate registers.
Change SP_DELTA to 0 since both context_save() and context_restore() are leaf procedures and as such don't use the scratch area.
Change pri_t to be u64 instead of u32.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/include/context.h

    r7f1bfce r6b96ab44  
    3232#include <arch/types.h>
    3333
     34/*
     35 * Both context_save() and context_restore() eat two doublewords from the stack.
     36 * First for pop of the saved register, second during ret instruction.
     37 */
    3438#define SP_DELTA        8
    3539
Note: See TracChangeset for help on using the changeset viewer.