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

Subversion Repositories openrisc

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /openrisc/trunk/orpsocv2/sw/drivers
    from Rev 403 to Rev 408
    Reverse comparison

Rev 403 → Rev 408

/or1200/or1200-utils.c
38,8 → 38,14
while (1);
}
 
/* Enable user interrupts */
void
cpu_enable_user_interrupts(void)
{
/* Enable interrupts in supervisor register */
mtspr (SPR_SR, mfspr (SPR_SR) | SPR_SR_IEE);
}
 
 
/* Tick timer variable */
unsigned long timer_ticks;
 
/or1200/include/or1200-utils.h
33,6 → 33,9
/* Loops/exits simulation */
void exit(int i);
 
/* Enable user interrupts */
void cpu_enable_user_interrupts(void);
 
/* Variable keeping track of timer ticks */
extern unsigned long timer_ticks;
/* Enable tick timer and interrupt generation */

powered by: WebSVN 2.1.0

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