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