typedef struct _XSTATE_SAVE
{
    XSTATE_SAVE *Prev;
    KTHREAD *Thread;
    unsigned char Level;
    XSTATE_CONTEXT XStateContext;
} XSTATE_SAVE, *PXSTATE_SAVE;