Ignore:
Timestamp:
2014-09-03T20:50:12Z (11 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4b334fd6
Parents:
e74b24f
Message:

Autogenerate ia32 kernel context_t and its offsets.

File:
1 edited

Legend:

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

    re74b24f r5eae56a  
    3737
    3838#include <typedefs.h>
     39#include <arch/context_struct.h>
    3940
    4041#define STACK_ITEM_SIZE  4
     
    5556        } while (0)
    5657
    57 /*
    58  * Only save registers that must be preserved across
    59  * function calls.
    60  */
    61 typedef struct {
    62         uintptr_t sp;
    63         uintptr_t pc;
    64         uint32_t ebx;
    65         uint32_t esi;
    66         uint32_t edi;
    67         uint32_t ebp;
    68         ipl_t ipl;
    69 } __attribute__ ((packed)) context_t;
    70 
    7158#endif
    7259
Note: See TracChangeset for help on using the changeset viewer.