efisetjmp.h 318 B

123456789101112131415
  1. #ifndef GNU_EFI_SETJMP_H
  2. #define GNU_EFI_SETJMP_H
  3. #ifdef _MSC_EXTENSIONS
  4. #define ALIGN(x) __declspec(align(x))
  5. #else
  6. #define ALIGN(x) __attribute__((__aligned__(x)))
  7. #endif
  8. #include "efisetjmp_arch.h"
  9. extern UINTN setjmp(jmp_buf *env);
  10. extern VOID longjmp(jmp_buf *env, UINTN value);
  11. #endif /* GNU_EFI_SETJMP_H */