trio_def.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. * Copyright 2012 Tilera Corporation. All Rights Reserved.
  3. *
  4. * This program is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU General Public License
  6. * as published by the Free Software Foundation, version 2.
  7. *
  8. * This program is distributed in the hope that it will be useful, but
  9. * WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
  11. * NON INFRINGEMENT. See the GNU General Public License for
  12. * more details.
  13. */
  14. /* Machine-generated file; do not edit. */
  15. #ifndef __ARCH_TRIO_DEF_H__
  16. #define __ARCH_TRIO_DEF_H__
  17. #define TRIO_CFG_REGION_ADDR__REG_SHIFT 0
  18. #define TRIO_CFG_REGION_ADDR__INTFC_SHIFT 16
  19. #define TRIO_CFG_REGION_ADDR__INTFC_VAL_TRIO 0x0
  20. #define TRIO_CFG_REGION_ADDR__INTFC_VAL_MAC_INTERFACE 0x1
  21. #define TRIO_CFG_REGION_ADDR__INTFC_VAL_MAC_STANDARD 0x2
  22. #define TRIO_CFG_REGION_ADDR__INTFC_VAL_MAC_PROTECTED 0x3
  23. #define TRIO_CFG_REGION_ADDR__MAC_SEL_SHIFT 18
  24. #define TRIO_CFG_REGION_ADDR__PROT_SHIFT 20
  25. #define TRIO_PIO_REGIONS_ADDR__REGION_SHIFT 32
  26. #define TRIO_MAP_MEM_REG_INT0 0x1000000000
  27. #define TRIO_MAP_MEM_REG_INT1 0x1000000008
  28. #define TRIO_MAP_MEM_REG_INT2 0x1000000010
  29. #define TRIO_MAP_MEM_REG_INT3 0x1000000018
  30. #define TRIO_MAP_MEM_REG_INT4 0x1000000020
  31. #define TRIO_MAP_MEM_REG_INT5 0x1000000028
  32. #define TRIO_MAP_MEM_REG_INT6 0x1000000030
  33. #define TRIO_MAP_MEM_REG_INT7 0x1000000038
  34. #define TRIO_MAP_MEM_LIM__ADDR_SHIFT 12
  35. #define TRIO_MAP_MEM_SETUP__ORDER_MODE_VAL_UNORDERED 0x0
  36. #define TRIO_MAP_MEM_SETUP__ORDER_MODE_VAL_STRICT 0x1
  37. #define TRIO_MAP_MEM_SETUP__ORDER_MODE_VAL_REL_ORD 0x2
  38. #define TRIO_TILE_PIO_REGION_SETUP_CFG_ADDR__MAC_SHIFT 30
  39. #endif /* !defined(__ARCH_TRIO_DEF_H__) */