bridge.cc (5314:e902f12a3af1) bridge.cc (5476:758c2413765a)
1
2/*
3 * Copyright (c) 2006 The Regents of The University of Michigan
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

84 return port;
85}
86
87
88void
89Bridge::init()
90{
91 // Make sure that both sides are connected to.
1
2/*
3 * Copyright (c) 2006 The Regents of The University of Michigan
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

84 return port;
85}
86
87
88void
89Bridge::init()
90{
91 // Make sure that both sides are connected to.
92 if (portA.getPeer() == NULL || portB.getPeer() == NULL)
92 if (!portA.isConnected() || !portB.isConnected())
93 fatal("Both ports of bus bridge are not connected to a bus.\n");
94
95 if (portA.peerBlockSize() != portB.peerBlockSize())
96 fatal("Busses don't have the same block size... Not supported.\n");
97}
98
99bool
100Bridge::BridgePort::respQueueFull()

--- 256 unchanged lines hidden ---
93 fatal("Both ports of bus bridge are not connected to a bus.\n");
94
95 if (portA.peerBlockSize() != portB.peerBlockSize())
96 fatal("Busses don't have the same block size... Not supported.\n");
97}
98
99bool
100Bridge::BridgePort::respQueueFull()

--- 256 unchanged lines hidden ---