intdev.cc (7899:38eca2df1124) intdev.cc (7913:70b56a9ac1b2)
1/*
2 * Copyright (c) 2008 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;

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

43 } else {
44 sendMessageAtomic(pkt);
45 delete pkt->req;
46 delete pkt;
47 }
48 }
49}
50
1/*
2 * Copyright (c) 2008 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;

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

43 } else {
44 sendMessageAtomic(pkt);
45 delete pkt->req;
46 delete pkt;
47 }
48 }
49}
50
51void
52X86ISA::IntDev::init()
53{
54 if (!intPort) {
55 panic("Int port not connected to anything!");
56 }
57 intPort->sendStatusChange(Port::RangeChange);
58}
59
51X86ISA::IntSourcePin *
52X86IntSourcePinParams::create()
53{
54 return new X86ISA::IntSourcePin(this);
55}
56
57X86ISA::IntSinkPin *
58X86IntSinkPinParams::create()
59{
60 return new X86ISA::IntSinkPin(this);
61}
62
63X86ISA::IntLine *
64X86IntLineParams::create()
65{
66 return new X86ISA::IntLine(this);
67}
60X86ISA::IntSourcePin *
61X86IntSourcePinParams::create()
62{
63 return new X86ISA::IntSourcePin(this);
64}
65
66X86ISA::IntSinkPin *
67X86IntSinkPinParams::create()
68{
69 return new X86ISA::IntSinkPin(this);
70}
71
72X86ISA::IntLine *
73X86IntLineParams::create()
74{
75 return new X86ISA::IntLine(this);
76}