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; --- 21 unchanged lines hidden (view full) --- 30 31#ifndef __DEV_X86_INTDEV_HH__ 32#define __DEV_X86_INTDEV_HH__ 33 34#include <assert.h> 35#include <string> 36 37#include "arch/x86/x86_traits.hh" |
38#include "arch/x86/intmessage.hh" |
39#include "mem/mem_object.hh" 40#include "mem/mport.hh" 41#include "sim/sim_object.hh" 42#include "params/X86IntSourcePin.hh" 43#include "params/X86IntSinkPin.hh" 44#include "params/X86IntLine.hh" 45 46namespace X86ISA { --- 19 unchanged lines hidden (view full) --- 66 device->getIntAddrRange(resp); 67 } 68 69 Tick recvMessage(PacketPtr pkt) 70 { 71 return device->recvMessage(pkt); 72 } 73 |
74 // This is x86 focused, so if this class becomes generic, this would 75 // need to be moved into a subclass. 76 void sendMessage(TriggerIntMessage message, bool timing); 77 |
78 void recvStatusChange(Status status) 79 { 80 if (status == RangeChange) { 81 sendStatusChange(Port::RangeChange); 82 } 83 } 84 85 }; --- 136 unchanged lines hidden --- |