lint
[unix-history] / usr / src / usr.bin / pascal / pdx / runtime.h
CommitLineData
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 *
6 * @(#)runtime.h 5.1 (Berkeley) %G%
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
16BOOLEAN isactive(); /* tell if a symbol is currently active */
17ADDRESS entry_addr(); /* entry address of current proc/func */
18ADDRESS entry_point(); /* point where environment is setup */
19ADDRESS return_addr(); /* return address of current proc/func */
20ADDRESS caller_addr(); /* entry of caller of current proc/func */
21where(); /* print out currently active procedures */
22dump(); /* dump the world */
23callproc(); /* call a procedure */
24procreturn(); /* return from a "call"-ed procedure */
25ADDRESS address(); /* address of a variable */
26ADDRESS firstline(); /* address of first line in a procedure */
27findbeginning(); /* find address of beginning of a procedure */
28runtofirst(); /* step to first line in current procedure */
29ADDRESS lastaddr(); /* address of last line in program */
30ADDRESS fparamaddr(); /* entry address of a function parameter */