setjmp.c 337 B

12345678910111213141516171819
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Copyright (c) 2016 Google, Inc
  4. */
  5. #include <common.h>
  6. #include <asm/setjmp.h>
  7. int setjmp(struct jmp_buf_data *jmp_buf)
  8. {
  9. printf("WARNING: setjmp() is not supported\n");
  10. return 0;
  11. }
  12. void longjmp(struct jmp_buf_data *jmp_buf, int val)
  13. {
  14. printf("WARNING: longjmp() is not supported\n");
  15. }