Deleted Added
sdiff udiff text old ( 8232:b28d06a175be ) new ( 8598:c7fec2cb91cb )
full compact
1/*
2 * Copyright (c) 2006 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;

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

70void
71PioDevice::init()
72{
73 if (!pioPort)
74 panic("Pio port not connected to anything!");
75 pioPort->sendStatusChange(Port::RangeChange);
76}
77
78
79unsigned int
80PioDevice::drain(Event *de)
81{
82 unsigned int count;
83 count = pioPort->drain(de);
84 if (count)
85 changeState(Draining);

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

344 panic("Unknown memory command state.");
345}
346
347DmaDevice::~DmaDevice()
348{
349 if (dmaPort)
350 delete dmaPort;
351}