global_data.h 465 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright (c) 2011 The Chromium OS Authors.
  3. *
  4. * (C) Copyright 2002-2010
  5. * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  6. *
  7. * SPDX-License-Identifier: GPL-2.0+
  8. */
  9. #ifndef __ASM_GBL_DATA_H
  10. #define __ASM_GBL_DATA_H
  11. /* Architecture-specific global data */
  12. struct arch_global_data {
  13. u8 *ram_buf; /* emulated RAM buffer */
  14. };
  15. #include <asm-generic/global_data.h>
  16. #define DECLARE_GLOBAL_DATA_PTR extern gd_t *gd
  17. #endif /* __ASM_GBL_DATA_H */