intdev.hh (5827:ac2c268bf4f1) intdev.hh (6045:214461cb8abe)
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"
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"
38#include "mem/mem_object.hh"
39#include "mem/mport.hh"
40#include "sim/sim_object.hh"
41#include "params/X86IntSourcePin.hh"
42#include "params/X86IntSinkPin.hh"
43#include "params/X86IntLine.hh"
44
45namespace X86ISA {

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

65 device->getIntAddrRange(resp);
66 }
67
68 Tick recvMessage(PacketPtr pkt)
69 {
70 return device->recvMessage(pkt);
71 }
72
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
73 void recvStatusChange(Status status)
74 {
75 if (status == RangeChange) {
76 sendStatusChange(Port::RangeChange);
77 }
78 }
79
80 };

--- 136 unchanged lines hidden ---
78 void recvStatusChange(Status status)
79 {
80 if (status == RangeChange) {
81 sendStatusChange(Port::RangeChange);
82 }
83 }
84
85 };

--- 136 unchanged lines hidden ---