mipscfg.h 852 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * File : mipscfg.h
  3. * This file is part of RT-Thread RTOS
  4. * COPYRIGHT (C) 2010, RT-Thread Development Team
  5. *
  6. * The license and distribution terms for this file may be
  7. * found in the file LICENSE in this distribution or at
  8. * http://www.rt-thread.org/license/LICENSE
  9. *
  10. * Change Logs:
  11. * Date Author Notes
  12. * 2010-05-27 swkyer first version
  13. */
  14. #ifndef __MIPSCFG_H__
  15. #define __MIPSCFG_H__
  16. typedef struct mips32_core_cfg
  17. {
  18. rt_uint16_t icache_line_size;
  19. rt_uint16_t icache_lines_per_way;
  20. rt_uint16_t icache_ways;
  21. rt_uint16_t dcache_line_size;
  22. rt_uint16_t dcache_lines_per_way;
  23. rt_uint16_t dcache_ways;
  24. rt_uint16_t max_tlb_entries; /* number of tlb entry */
  25. } mips32_core_cfg_t;
  26. extern mips32_core_cfg_t g_mips_core;
  27. #endif /* end of __MIPSCFG_H__ */