global_data.h 508 B

123456789101112131415161718192021222324
  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. #ifndef __ASM_GBL_DATA_H
  11. #define __ASM_GBL_DATA_H
  12. #include "asm/types.h"
  13. /* Architecture-specific global data */
  14. struct arch_global_data {
  15. };
  16. #include <asm-generic/global_data.h>
  17. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("%g7")
  18. #endif /* __ASM_GBL_DATA_H */