URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 1350 |
Rev 1358 |
Line 45... |
Line 45... |
{
|
{
|
if (config.sim.verbose) PRINTF("Resetting Power Management.\n");
|
if (config.sim.verbose) PRINTF("Resetting Power Management.\n");
|
mtspr(SPR_PMR, 0);
|
mtspr(SPR_PMR, 0);
|
}
|
}
|
|
|
No newline at end of file
|
No newline at end of file
|
|
/*-----------------------------------------------------[ PM Configuration ]---*/
|
|
void pm_enabled(union param_val val, void *dat)
|
|
{
|
|
config.pm.enabled = val.int_val;
|
|
}
|
|
|
|
void reg_pm_sec(void)
|
|
{
|
|
struct config_section *sec = reg_config_sec("pm", NULL, NULL);
|
|
|
|
reg_config_param(sec, "enabled", paramt_int, pm_enabled);
|
|
}
|
|
|
No newline at end of file
|
No newline at end of file
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.