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

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_47/] [or1ksim/] [cpu/] [or1k/] [sprs.c] - Diff between revs 1203 and 1302

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

Rev 1203 Rev 1302
Line 34... Line 34...
int audio_cnt = 0;
int audio_cnt = 0;
 
 
static FILE *fo = 0;
static FILE *fo = 0;
/* Set a specific SPR with a value. */
/* Set a specific SPR with a value. */
inline void
inline void
mtspr(const int regno, const sprword value)
mtspr(int regno, const sprword value)
{
{
  regno %= MAX_SPRS;
  regno %= MAX_SPRS;
  sprs[regno] = value;
  sprs[regno] = value;
 
 
  /* MM: Register hooks.  */
  /* MM: Register hooks.  */

powered by: WebSVN 2.1.0

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