mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-20 17:08:52 +09:00
![Simon Glass](/assets/img/avatar_default.png)
We don't have the code for this yet. Add a dummy version for now, so that EFI builds correctly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
21 lines
340 B
C
21 lines
340 B
C
/*
|
|
* Copyright (c) 2016 Google, Inc
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#include <common.h>
|
|
#include <asm/setjmp.h>
|
|
|
|
int setjmp(struct jmp_buf_data *jmp_buf)
|
|
{
|
|
printf("WARNING: setjmp() is not supported\n");
|
|
|
|
return 0;
|
|
}
|
|
|
|
void longjmp(struct jmp_buf_data *jmp_buf, int val)
|
|
{
|
|
printf("WARNING: longjmp() is not supported\n");
|
|
}
|