Ignore:
Timestamp:
2014-09-02T20:31:13Z (10 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b3222a3
Parents:
4dc7a84
Message:

Autogenerate amd64 kernel context_t and its offsets.

File:
1 edited

Legend:

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

    r4dc7a84 r0aee9b4  
    3636#define KERN_amd64_CONTEXT_H_
    3737
    38 #include <typedefs.h>
     38#include <arch/context_struct.h>
    3939
    4040/*
     
    5252        } while (0)
    5353
    54 /* We include only registers that must be preserved
    55  * during function call
    56  */
    57 typedef struct {
    58         uintptr_t sp;
    59         uintptr_t pc;
    60        
    61         uint64_t rbx;
    62         uint64_t rbp;
    63        
    64         uint64_t r12;
    65         uint64_t r13;
    66         uint64_t r14;
    67         uint64_t r15;
    68        
    69         ipl_t ipl;
    70 } __attribute__ ((packed)) context_t;
    71 
    7254#endif
    7355
Note: See TracChangeset for help on using the changeset viewer.