b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | /* |
| 2 | * (C) Copyright 2002-2010 |
| 3 | * Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 4 | * |
| 5 | * (C) Copyright 2007 |
| 6 | * Daniel Hellstrom, Gaisler Research, daniel@gaisler.com. |
| 7 | * |
| 8 | * SPDX-License-Identifier: GPL-2.0+ |
| 9 | */ |
| 10 | |
| 11 | #ifndef __ASM_GBL_DATA_H |
| 12 | #define __ASM_GBL_DATA_H |
| 13 | |
| 14 | #include "asm/types.h" |
| 15 | |
| 16 | /* Architecture-specific global data */ |
| 17 | struct arch_global_data { |
| 18 | }; |
| 19 | |
| 20 | #include <asm-generic/global_data.h> |
| 21 | |
| 22 | #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("%g7") |
| 23 | |
| 24 | #endif /* __ASM_GBL_DATA_H */ |