URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 645 |
Rev 646 |
Line 1080... |
Line 1080... |
config.dc.ustates = tempL;
|
config.dc.ustates = tempL;
|
else
|
else
|
ERROR("invalid USTATE.");
|
ERROR("invalid USTATE.");
|
}
|
}
|
|
|
void dc_tagtype () {
|
|
if (strcmp (tempS, "none") == 0)
|
|
config.dc.tagtype = CT_NONE;
|
|
else if (strcmp (tempS, "physical") == 0)
|
|
config.dc.tagtype = CT_PHYSICAL;
|
|
else if (strcmp (tempS, "virtual") == 0)
|
|
config.dc.tagtype = CT_VIRTUAL;
|
|
else {
|
|
char tmp[200];
|
|
sprintf (tmp, "invalid cache type '%s'.\n", tempS);
|
|
ERROR(tmp);
|
|
}
|
|
}
|
|
|
|
void vga_nvgas () {
|
void vga_nvgas () {
|
if (tempL >= 0 && tempL < MAX_VGAS)
|
if (tempL >= 0 && tempL < MAX_VGAS)
|
config.nvgas = tempL;
|
config.nvgas = tempL;
|
else
|
else
|
ERROR("invalid number of devices.");
|
ERROR("invalid number of devices.");
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.