Deleted Added
sdiff udiff text old ( 3918:1f9a98d198e8 ) new ( 4762:c94e103c83ad )
full compact
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;

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

26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
28 * Authors: Ali Saidi
29 * Nathan Binkert
30 */
31
32#include "base/misc.hh"
33#include "dev/platform.hh"
34#include "sim/sim_exit.hh"
35
36using namespace std;
37using namespace TheISA;
38
39Platform::Platform(const string &name, IntrControl *intctrl)
40 : SimObject(name), intrctrl(intctrl)
41{

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

73
74 if (intLines.test(intr))
75 fatal("Two PCI devices have same interrupt line: %d\n", intr);
76
77 pciDevices.insert(bdf);
78
79 intLines.set(intr);
80}