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

Subversion Repositories eco32

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

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

Rev 59 Rev 84
Line 11... Line 11...
 
 
 
 
static Word tlbIndex;
static Word tlbIndex;
static Word tlbEntryHi;
static Word tlbEntryHi;
static Word tlbEntryLo;
static Word tlbEntryLo;
 
static Word badAddress;
 
 
 
 
Word mmuReadWord(Word vAddr) {
Word mmuReadWord(Word vAddr) {
  return *(Word *)vAddr;
  return *(Word *)vAddr;
}
}
Line 73... Line 74...
void mmuSetEntryLo(Word value) {
void mmuSetEntryLo(Word value) {
  tlbEntryLo = value;
  tlbEntryLo = value;
}
}
 
 
 
 
 
Word mmuGetBadAddr(void) {
 
  return badAddress;
 
}
 
 
 
 
 
void mmuSetBadAddr(Word value) {
 
  badAddress = 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.