OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [orpsocv2/] [sw/] [tests/] [or1200/] [sim/] [or1200-mmu.c] - Diff between revs 425 and 439

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 425 Rev 439
Line 1425... Line 1425...
  int i, j;
  int i, j;
 
 
  start_text_addr = (unsigned long*)&_stext;
  start_text_addr = (unsigned long*)&_stext;
  end_text_addr = (unsigned long*)&_endtext;
  end_text_addr = (unsigned long*)&_endtext;
  end_data_addr = (unsigned long*)&_stack;
  end_data_addr = (unsigned long*)&_stack;
 
  end_data_addr += 4;
 
 
#ifndef TLB_BOTTOM_TEST_PAGE_HARDSET
#ifndef TLB_BOTTOM_TEST_PAGE_HARDSET
  TLB_TEXT_SET_NB =  TLB_DATA_SET_NB = (end_data_addr+PAGE_SIZE) / PAGE_SIZE;
  TLB_TEXT_SET_NB =  TLB_DATA_SET_NB = (end_data_addr+PAGE_SIZE) / PAGE_SIZE;
#endif
#endif
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.