| 1 | /* Copyright (c) 1982 Regents of the University of California */ |
| 2 | |
| 3 | /* static char sccsid[] = "@(#)runtime.h 1.2 %G%"; */ |
| 4 | |
| 5 | /* |
| 6 | * Definitions for the runtime environment. |
| 7 | * |
| 8 | * In general, runtime organization is language, machine, and |
| 9 | * even compiler dependent. |
| 10 | */ |
| 11 | |
| 12 | BOOLEAN isactive(); /* tell if a symbol is currently active */ |
| 13 | ADDRESS entry_addr(); /* entry address of current proc/func */ |
| 14 | ADDRESS entry_point(); /* point where environment is setup */ |
| 15 | ADDRESS return_addr(); /* return address of current proc/func */ |
| 16 | ADDRESS caller_addr(); /* entry of caller of current proc/func */ |
| 17 | where(); /* print out currently active procedures */ |
| 18 | dump(); /* dump the world */ |
| 19 | callproc(); /* call a procedure */ |
| 20 | procreturn(); /* return from a "call"-ed procedure */ |
| 21 | ADDRESS address(); /* address of a variable */ |
| 22 | ADDRESS firstline(); /* address of first line in a procedure */ |
| 23 | findbeginning(); /* find address of beginning of a procedure */ |
| 24 | runtofirst(); /* step to first line in current procedure */ |
| 25 | ADDRESS lastaddr(); /* address of last line in program */ |
| 26 | ADDRESS fparamaddr(); /* entry address of a function parameter */ |