idle_event.hh revision 3549
12141SN/A/* 21376SN/A * Copyright (c) 2004-2005 The Regents of The University of Michigan 31376SN/A * All rights reserved. 41376SN/A * 51376SN/A * Redistribution and use in source and binary forms, with or without 61376SN/A * modification, are permitted provided that the following conditions are 71376SN/A * met: redistributions of source code must retain the above copyright 81376SN/A * notice, this list of conditions and the following disclaimer; 91376SN/A * redistributions in binary form must reproduce the above copyright 101376SN/A * notice, this list of conditions and the following disclaimer in the 111376SN/A * documentation and/or other materials provided with the distribution; 121376SN/A * neither the name of the copyright holders nor the names of its 131376SN/A * contributors may be used to endorse or promote products derived from 141376SN/A * this software without specific prior written permission. 151376SN/A * 161376SN/A * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 171376SN/A * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 181376SN/A * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 191376SN/A * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 201376SN/A * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 211376SN/A * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 221376SN/A * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 231376SN/A * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 241376SN/A * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 251376SN/A * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 261376SN/A * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 271376SN/A * 281376SN/A * Authors: Nathan Binkert 2912563Sgabeblack@google.com * Lisa Hsu 3012563Sgabeblack@google.com * Ali Saidi 311428SN/A */ 321428SN/A 331881SN/A#ifndef __KERN_ALPHA_IDLE_EVENT_HH__ 341881SN/A#define __KERN_ALPHA_IDLE_EVENT_HH__ 351881SN/A 361881SN/A#include "cpu/pc_event.hh" 375467Snate@binkert.org 381881SN/Aclass IdleStartEvent : public PCEvent 391881SN/A{ 401881SN/A public: 411881SN/A IdleStartEvent(PCEventQueue *q, const std::string &desc, Addr addr) 421881SN/A : PCEvent(q, desc, addr) 435618Snate@binkert.org {} 445618Snate@binkert.org virtual void process(ThreadContext *tc); 455618Snate@binkert.org}; 465618Snate@binkert.org 475618Snate@binkert.org#endif // __KERN_ALPHA_IDLE_EVENT_HH__ 485618Snate@binkert.org