malta.cc (8229:78bf55f23338) malta.cc (8739:925f15f96322)
1/*
2 * Copyright (c) 2004-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 25 unchanged lines hidden (view full) ---

34 */
35
36#include <deque>
37#include <string>
38#include <vector>
39
40#include "config/the_isa.hh"
41#include "cpu/intr_control.hh"
1/*
2 * Copyright (c) 2004-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 25 unchanged lines hidden (view full) ---

34 */
35
36#include <deque>
37#include <string>
38#include <vector>
39
40#include "config/the_isa.hh"
41#include "cpu/intr_control.hh"
42#include "debug/Malta.hh"
42#include "dev/mips/malta.hh"
43#include "dev/mips/malta_cchip.hh"
44#include "dev/mips/malta_io.hh"
45#include "dev/mips/malta_pchip.hh"
46#include "dev/terminal.hh"
47#include "params/Malta.hh"
48#include "sim/system.hh"
49
50using namespace std;
51using namespace TheISA;
52
53Malta::Malta(const Params *p)
54 : Platform(p), system(p->system)
55{
43#include "dev/mips/malta.hh"
44#include "dev/mips/malta_cchip.hh"
45#include "dev/mips/malta_io.hh"
46#include "dev/mips/malta_pchip.hh"
47#include "dev/terminal.hh"
48#include "params/Malta.hh"
49#include "sim/system.hh"
50
51using namespace std;
52using namespace TheISA;
53
54Malta::Malta(const Params *p)
55 : Platform(p), system(p->system)
56{
57#if FULL_SYSTEM //XXX No platform pointer on the system object in SE mode.
56 // set the back pointer from the system to myself
57 system->platform = this;
58 // set the back pointer from the system to myself
59 system->platform = this;
60#endif
58
59 for (int i = 0; i < Malta::Max_CPUs; i++)
60 intr_sum_type[i] = 0;
61}
62
63Tick
64Malta::intrFrequency()
65{

--- 52 unchanged lines hidden ---
61
62 for (int i = 0; i < Malta::Max_CPUs; i++)
63 intr_sum_type[i] = 0;
64}
65
66Tick
67Malta::intrFrequency()
68{

--- 52 unchanged lines hidden ---