1 /*
2 * vim: filetype=c:tabstop=4:ai:expandtab
3 * SPDX-License-Identifier: ICU
4 * scspell-id: a8a08b3c-f62e-11ec-bfa3-80ee73e9b8e7
5 *
6 * ---------------------------------------------------------------------------
7 *
8 * Copyright (c) 2014-2016 Charles Anthony
9 * Copyright (c) 2021-2022 The DPS8M Development Team
10 *
11 * All rights reserved.
12 *
13 * This software is made available under the terms of the ICU
14 * License, version 1.8.1 or later. For more details, see the
15 * LICENSE.md file at the top-level directory of this distribution.
16 *
17 * ---------------------------------------------------------------------------
18 */
19
20 // Multipass data
21
22 #ifdef MULTIPASS
23
24 typedef struct multipassStats
25 {
26 struct ppr_s PPR;
27 word36 inst;
28
29 word36 A, Q, E, X [8], IR, TR, RALR;
30 struct par_s PAR [8];
31 word3 TRR;
32 word15 TSR;
33 word6 TBR;
34 word18 CA;
35
36 struct dsbr_s DSBR;
37
38 _fault faultNumber;
39 _fault_subtype subFault;
40
41 uint intr_pair_addr;
42 cycles_e cycle;
43
44 uint64 cycles;
45
46 uint64 diskSeeks;
47 uint64 diskWrites;
48 uint64 diskReads;
49
50 } multipassStats;
51
52 extern multipassStats * multipassStatsPtr;
53
54 #endif