URL
https://opencores.org/ocsvn/or1k/or1k/trunk
[/] [or1k/] [trunk/] [or1ksim/] [cpu/] [or1k/] [arch.h] - Diff between revs 1314 and 1316
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 1314 |
Rev 1316 |
Line 25... |
Line 25... |
#define FRAME_REGNO (2)
|
#define FRAME_REGNO (2)
|
#define RETURNV_REG "r11"
|
#define RETURNV_REG "r11"
|
#define RETURNV_REGNO (11)
|
#define RETURNV_REGNO (11)
|
typedef unsigned long machword;
|
typedef unsigned long machword;
|
|
|
/* Should args be passed on stack for simprintf */
|
/* Should args be passed on stack for simprintf
|
|
*
|
|
* FIXME: do not enable this since it causes problems
|
|
* in some cases (an example beeing cbasic test
|
|
* from orp testbench). the problems is in
|
|
*
|
|
* or1k/support/simprintf.c
|
|
*
|
|
* #if STACK_ARGS
|
|
* arg = eval_mem32(argaddr,&breakpoint);
|
|
* argaddr += 4;
|
|
* #else
|
|
* sprintf(regstr, "r%u", ++argaddr);
|
|
* arg = evalsim_reg32(atoi(regstr));
|
|
* #endif
|
|
*
|
|
* the access to memory should be without any
|
|
* checks (ie not like or32 application accessed it)
|
|
*
|
|
*/
|
#define STACK_ARGS 0
|
#define STACK_ARGS 0
|
|
|
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.