Commit | Line | Data |
---|---|---|
f9e58c14 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 | * | |
82d3cd01 | 6 | * @(#)pxinfo.h 5.2 (Berkeley) %G% |
f9e58c14 | 7 | */ |
efa691f9 ML |
8 | |
9 | /* | |
10 | * This is the information we get after the initial trap that px does. | |
11 | * By passing the "-d" flag, we cause px to call a procedure with the | |
12 | * the following information: | |
13 | * | |
14 | * address of the display | |
15 | * address of the display pointer | |
16 | * address of the beginning of the object code | |
17 | * | |
18 | * the address of a variable containing the address of the first local | |
19 | * variable in the interpreter procedure | |
20 | * (this is used to find the frame where the pc is) | |
21 | * the address of the main interpreter loop | |
22 | */ | |
23 | ||
82d3cd01 KM |
24 | #ifdef tahoe |
25 | typedef struct { | |
26 | short trp_savemask; | |
27 | short trp_removed; | |
28 | int trp_oldfp; | |
29 | ADDRESS *disp; | |
30 | ADDRESS *dp; | |
31 | ADDRESS objstart; | |
32 | ADDRESS pcaddrp; | |
33 | ADDRESS loopaddr; | |
34 | } TRAPARGS; | |
35 | #else | |
efa691f9 ML |
36 | typedef struct { |
37 | int nargs; | |
38 | ADDRESS *disp; | |
39 | ADDRESS *dp; | |
40 | ADDRESS objstart; | |
41 | ADDRESS pcaddrp; | |
42 | ADDRESS loopaddr; | |
43 | } TRAPARGS; | |
82d3cd01 | 44 | #endif |
efa691f9 ML |
45 | |
46 | ADDRESS *DISPLAY; | |
47 | ADDRESS *DP; | |
48 | ADDRESS ENDOFF; | |
49 | ADDRESS PCADDRP; | |
50 | ADDRESS LOOPADDR; | |
51 | ADDRESS *pcframe; | |
82d3cd01 KM |
52 | #ifdef tahoe |
53 | ADDRESS RETLOC; | |
54 | ADDRESS INTFP; | |
55 | #endif |