URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 568 |
Rev 572 |
Line 849... |
Line 849... |
return x == 1;
|
return x == 1;
|
}
|
}
|
|
|
void immu_enabled () {
|
void immu_enabled () {
|
setsprbits (SPR_UPR, SPR_UPR_IMP, tempL & 1);
|
setsprbits (SPR_UPR, SPR_UPR_IMP, tempL & 1);
|
|
config.immu.enabled = tempL;
|
}
|
}
|
|
|
void dmmu_enabled () {
|
void dmmu_enabled () {
|
setsprbits (SPR_UPR, SPR_UPR_DMP, tempL & 1);
|
setsprbits (SPR_UPR, SPR_UPR_DMP, tempL & 1);
|
|
config.dmmu.enabled = tempL;
|
}
|
}
|
|
|
void immu_nsets () {
|
void immu_nsets () {
|
if (is_power2(tempL) && tempL <= 256)
|
if (is_power2(tempL) && tempL <= 256)
|
config.immu.nsets = tempL;
|
config.immu.nsets = tempL;
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.