Commit | Line | Data |
---|---|---|
3cd5310a DF |
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 | * | |
7d4de299 | 6 | * @(#)runtime.h 5.2 (Berkeley) %G% |
3cd5310a | 7 | */ |
d516d0bf ML |
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 */ | |
7d4de299 KB |
21 | int where(); /* print out currently active procedures */ |
22 | int dump(); /* dump the world */ | |
23 | int callproc(); /* call a procedure */ | |
24 | int procreturn(); /* return from a "call"-ed procedure */ | |
d516d0bf ML |
25 | ADDRESS address(); /* address of a variable */ |
26 | ADDRESS firstline(); /* address of first line in a procedure */ | |
7d4de299 KB |
27 | int findbeginning(); /* find address of beginning of a procedure */ |
28 | int runtofirst(); /* step to first line in current procedure */ | |
d516d0bf ML |
29 | ADDRESS lastaddr(); /* address of last line in program */ |
30 | ADDRESS fparamaddr(); /* entry address of a function parameter */ |