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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [monitor/] [monitor/] [common/] [mmu.c] - Diff between revs 84 and 180

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

Rev 84 Rev 180
Line 12... Line 12...
 
 
static Word tlbIndex;
static Word tlbIndex;
static Word tlbEntryHi;
static Word tlbEntryHi;
static Word tlbEntryLo;
static Word tlbEntryLo;
static Word badAddress;
static Word badAddress;
 
static Word badAccess;
 
 
 
 
Word mmuReadWord(Word vAddr) {
Word mmuReadWord(Word vAddr) {
  return *(Word *)vAddr;
  return *(Word *)vAddr;
}
}
Line 84... Line 85...
void mmuSetBadAddr(Word value) {
void mmuSetBadAddr(Word value) {
  badAddress = value;
  badAddress = value;
}
}
 
 
 
 
 
Word mmuGetBadAccs(void) {
 
  return badAccess;
 
}
 
 
 
 
 
void mmuSetBadAccs(Word value) {
 
  badAccess = value;
 
}
 
 
 
 
TLB_Entry mmuGetTLB(int index) {
TLB_Entry mmuGetTLB(int index) {
  Word hi;
  Word hi;
  Word lo;
  Word lo;
  TLB_Entry result;
  TLB_Entry result;
 
 

powered by: WebSVN 2.1.0

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