eva.h 796 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*
  2. * This file is subject to the terms and conditions of the GNU General Public
  3. * License. See the file "COPYING" in the main directory of this archive
  4. * for more details.
  5. *
  6. * Copyright (C) 2014, Imagination Technologies Ltd.
  7. *
  8. * EVA functions for generic code
  9. */
  10. #ifndef _ASM_EVA_H
  11. #define _ASM_EVA_H
  12. #include <kernel-entry-init.h>
  13. #ifdef __ASSEMBLY__
  14. #ifdef CONFIG_EVA
  15. /*
  16. * EVA early init code
  17. *
  18. * Platforms must define their own 'platform_eva_init' macro in
  19. * their kernel-entry-init.h header. This macro usually does the
  20. * platform specific configuration of the segmentation registers,
  21. * and it is normally called from assembly code.
  22. *
  23. */
  24. .macro eva_init
  25. platform_eva_init
  26. .endm
  27. #else
  28. .macro eva_init
  29. .endm
  30. #endif /* CONFIG_EVA */
  31. #endif /* __ASSEMBLY__ */
  32. #endif