context.h revision 677833bc953b6cb418c701facbdcf4aa18d6c44e
#ifndef i386_CONTEXT_H
#define i386_CONTEXT_H
#include <stdint.h>
struct context {
/* Stack Segment, placed here because of the alignment issue... */
/* Segment registers */
/* Flags */
/* Code segment:offset */
/* Optional stack contents */
};
/* Create a new context in the given stack */
struct context *
/* Switch context */
/* Holds physical address of boot context */
extern unsigned long __boot_ctx;
/* This can always be safely used to refer to the boot context */
#endif /* i386_CONTEXT_H */