blob: 3413c747783a7aea3b9f3c08cec29cec64816011 [file] [log] [blame]
Tom Rinia0434ab2018-06-03 16:10:22 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Simon Glass5dccd152018-05-16 09:42:22 -06002/*
3 * (C) 2018 Google, Inc
4 * Written by Simon Glass <sjg@chromium.org>
5 */
6
Heinrich Schuchardtf6782bb2025-03-02 15:21:19 +01007#ifndef _ASM_SETJMP_H_
8#define _ASM_SETJMP_H_
Simon Glass5dccd152018-05-16 09:42:22 -06009
10struct jmp_buf_data {
11 /*
12 * We're not sure how long this should be:
13 *
14 * amd64: 200 bytes
15 * arm64: 392 bytes
16 * armhf: 392 bytes
17 *
18 * So allow space for all of those, plus some extra.
19 * We don't need to worry about 16-byte alignment, since this does not
20 * run on Windows.
21 */
Heinrich Schuchardt11ba1322025-03-02 15:21:17 +010022 unsigned long data[128];
Simon Glass5dccd152018-05-16 09:42:22 -060023};
24
Heinrich Schuchardtf6782bb2025-03-02 15:21:19 +010025#endif /* _ASM_SETJMP_H_ */